Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_bias_test / bias_test.lus @ 6c3ea955

History | View | Annotate | Download (1.88 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node bias_test (In1_1_1 : real; In2_1_1 : real; In3_1_1 : real; In4_1_1 : int; In4_1_2 : int; In4_1_3 : int)
6
returns (Out1_1_1 : real; Out1_1_2 : real; Out1_1_3 : real; Out1_1_4 : real; Out1_1_5 : real; Out1_1_6 : real;
7
	Out2_2_1 : real; Out2_2_2 : real;
8
	Out3_3_1 : real; Out3_3_2 : real;
9
	Out4_4_1 : real; Out4_4_2 : real;
10
	Out5_5_1 : int; Out5_5_2 : int; Out5_5_3 : int); 
11
var
12
	Bias_1_1 : real; Bias_1_2 : real; Bias_1_3 : real; Bias_1_4 : real; Bias_1_5 : real; Bias_1_6 : real;
13
	Bias1_1_1 : real; Bias1_1_2 : real;
14
	Bias2_1_1 : real; Bias2_1_2 : real;
15
	Bias3_1_1 : real; Bias3_1_2 : real;
16
	Bias4_1_1 : int; Bias4_1_2 : int; Bias4_1_3 : int;
17
	Constant_1_1 : real; Constant_1_2 : real; Constant_1_3 : real; Constant_1_4 : real; Constant_1_5 : real; Constant_1_6 : real;
18
	i_virtual_local : real;
19
let 
20
	Bias_1_1 = Constant_1_1 + 2.00000000;
21
	Bias_1_2 = Constant_1_2 + 2.00000000;
22
	Bias_1_3 = Constant_1_3 + 2.00000000;
23
	Bias_1_4 = Constant_1_4 + 2.00000000;
24
	Bias_1_5 = Constant_1_5 + 2.00000000;
25
	Bias_1_6 = Constant_1_6 + 2.00000000;
26
	Bias1_1_1 = In1_1_1 + 2.00000000;
27
	Bias1_1_2 = In1_1_1 + 4.00000000;
28
	Bias2_1_1 = In2_1_1 + 1.00000000;
29
	Bias2_1_2 = In2_1_1 + 0.00000000;
30
	Bias3_1_1 = In3_1_1 + 2.00000000;
31
	Bias3_1_2 = In3_1_1 + 4.00000000;
32
	Bias4_1_1 = In4_1_1 + 6;
33
	Bias4_1_2 = In4_1_2 + 6;
34
	Bias4_1_3 = In4_1_3 + 6;
35
	Constant_1_1 = 2.00000000;
36
	Constant_1_2 = 3.00000000;
37
	Constant_1_3 = 4.00000000;
38
	Constant_1_4 = 5.00000000;
39
	Constant_1_5 = 7.00000000;
40
	Constant_1_6 = 9.00000000;
41
	Out1_1_1 = Bias_1_1;
42
	Out1_1_2 = Bias_1_2;
43
	Out1_1_3 = Bias_1_3;
44
	Out1_1_4 = Bias_1_4;
45
	Out1_1_5 = Bias_1_5;
46
	Out1_1_6 = Bias_1_6;
47
	Out2_2_1 = Bias1_1_1;
48
	Out2_2_2 = Bias1_1_2;
49
	Out3_3_1 = Bias2_1_1;
50
	Out3_3_2 = Bias2_1_2;
51
	Out4_4_1 = Bias3_1_1;
52
	Out4_4_2 = Bias3_1_2;
53
	Out5_5_1 = Bias4_1_1;
54
	Out5_5_2 = Bias4_1_2;
55
	Out5_5_3 = Bias4_1_3;
56
	i_virtual_local= 0.0 -> 1.0;
57
tel
58