Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_many_files / trigo_mix_test_PP.LUSTREC.lus @ cd1faebc

History | View | Annotate | Download (2.78 KB)

1
-- This file has been generated by CoCoSim2.
2

    
3
-- Compiler: Lustre compiler 2 (ToLustre.m)
4
-- Time: 03-Dec-2018 22:14:40
5
#open <lustrec_math>
6

    
7
(*
8
Original block name: trigo_mix_test_PP
9
*)
10
node  trigo_mix_test_PP(In7_1 : real;
11
	In15_1 : real;
12
	In15_2 : real;
13
	In1_1 : real;
14
	In1_2 : real;
15
	In2_1 : real;
16
	In3_1 : real;
17
	In3_2 : real;
18
	In3_3 : real;
19
	In3_4 : real;
20
	In3_5 : real;
21
	In3_6 : real;
22
	In4_1 : real;
23
	In5_1 : real;
24
	In6_1 : real;
25
	In6_2 : real;
26
	In6_3 : real;
27
	In6_4 : real;
28
	In6_5 : real;
29
	In6_6 : real;)
30
returns(Out7_1 : real;
31
	Out7_2 : real;
32
	Out1_1 : real;
33
	Out1_2 : real;
34
	Out2_1 : real;
35
	Out2_2 : real;
36
	Out2_3 : real;
37
	Out2_4 : real;
38
	Out2_5 : real;
39
	Out2_6 : real;
40
	Out3_1 : real;
41
	Out3_2 : real;
42
	Out3_3 : real;
43
	Out3_4 : real;
44
	Out3_5 : real;
45
	Out3_6 : real;);
46
var TrigonometricFunction1_1 : real;
47
	TrigonometricFunction1_2 : real;
48
	TrigonometricFunction2_1 : real;
49
	TrigonometricFunction2_2 : real;
50
	TrigonometricFunction2_3 : real;
51
	TrigonometricFunction2_4 : real;
52
	TrigonometricFunction2_5 : real;
53
	TrigonometricFunction2_6 : real;
54
	TrigonometricFunction3_1 : real;
55
	TrigonometricFunction3_2 : real;
56
	TrigonometricFunction3_3 : real;
57
	TrigonometricFunction3_4 : real;
58
	TrigonometricFunction3_5 : real;
59
	TrigonometricFunction3_6 : real;
60
	TrigonometricFunction6_1 : real;
61
	TrigonometricFunction6_2 : real;
62
	__time_step : real;
63
	__nb_step : int;
64
let
65
	TrigonometricFunction1_1 = atan2(In1_1, In2_1);
66
	TrigonometricFunction1_2 = atan2(In1_2, In2_1);
67
	TrigonometricFunction2_1 = atan2(In3_1, In4_1);
68
	TrigonometricFunction2_2 = atan2(In3_2, In4_1);
69
	TrigonometricFunction2_3 = atan2(In3_3, In4_1);
70
	TrigonometricFunction2_4 = atan2(In3_4, In4_1);
71
	TrigonometricFunction2_5 = atan2(In3_5, In4_1);
72
	TrigonometricFunction2_6 = atan2(In3_6, In4_1);
73
	TrigonometricFunction3_1 = atan2(In5_1, In6_1);
74
	TrigonometricFunction3_2 = atan2(In5_1, In6_2);
75
	TrigonometricFunction3_3 = atan2(In5_1, In6_3);
76
	TrigonometricFunction3_4 = atan2(In5_1, In6_4);
77
	TrigonometricFunction3_5 = atan2(In5_1, In6_5);
78
	TrigonometricFunction3_6 = atan2(In5_1, In6_6);
79
	TrigonometricFunction6_1 = atan2(In7_1, In15_1);
80
	TrigonometricFunction6_2 = atan2(In7_1, In15_2);
81
	Out7_1 = TrigonometricFunction6_1;
82
	Out7_2 = TrigonometricFunction6_2;
83
	Out1_1 = TrigonometricFunction1_1;
84
	Out1_2 = TrigonometricFunction1_2;
85
	Out2_1 = TrigonometricFunction2_1;
86
	Out2_2 = TrigonometricFunction2_2;
87
	Out2_3 = TrigonometricFunction2_3;
88
	Out2_4 = TrigonometricFunction2_4;
89
	Out2_5 = TrigonometricFunction2_5;
90
	Out2_6 = TrigonometricFunction2_6;
91
	Out3_1 = TrigonometricFunction3_1;
92
	Out3_2 = TrigonometricFunction3_2;
93
	Out3_3 = TrigonometricFunction3_3;
94
	Out3_4 = TrigonometricFunction3_4;
95
	Out3_5 = TrigonometricFunction3_5;
96
	Out3_6 = TrigonometricFunction3_6;
97
	__time_step = (0.0 -> ((pre __time_step) + 0.200000000000000));
98
	__nb_step = (0 -> ((pre __nb_step) + 1));
99
tel
100