Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_product_matrix_multiple_test / product_matrix_multiple_test.lus @ 6c3ea955

History | View | Annotate | Download (4.16 KB)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node product_matrix_multiple_test (In4_1_1 : real; In4_1_2 : real; In4_1_3 : real; In4_1_4 : real; In4_1_5 : real; In4_1_6 : real; In5_1_1 : real; In5_1_2 : real; In5_1_3 : real; In5_1_4 : real; In5_1_5 : real; In5_1_6 : real; In1_1_1 : real; In1_1_2 : real; In2_1_1 : real; In2_1_2 : real; In2_1_3 : real; In2_1_4 : real; In2_1_5 : real; In2_1_6 : real; In2_1_7 : real; In2_1_8 : real; In3_1_1 : real; In3_1_2 : real; In3_1_3 : real; In3_1_4 : real; In3_1_5 : real; In3_1_6 : real; In3_1_7 : real; In3_1_8 : real; In6_1_1 : real; In6_1_2 : real; In6_1_3 : real; In6_1_4 : real; In6_1_5 : real; In6_1_6 : real; In7_1_1 : real; In7_1_2 : real; In7_1_3 : real; In7_1_4 : real; In7_1_5 : real; In7_1_6 : real; In7_1_7 : real; In7_1_8 : real; In7_1_9 : real; In8_1_1 : real; In8_1_2 : real; In8_1_3 : real; In8_1_4 : real; In8_1_5 : real; In8_1_6 : real; In9_1_1 : real; In9_1_2 : real)
6
returns (Out4_1_1 : real; Out4_1_2 : real;
7
	Out1_2_1 : real; Out1_2_2 : real); 
8
var
9
	Product1_1_1 : real; Product1_1_2 : real;
10
	Product3_1_1 : real; Product3_1_2 : real;
11
	i_virtual_local : real;
12
	Product1_tmp_1 : real; Product1_tmp_2 : real; Product1_tmp_3 : real; Product1_tmp_4 : real;
13
	Product1_tmp_5 : real; Product1_tmp_6 : real; Product1_tmp_7 : real; Product1_tmp_8 : real; Product1_tmp_9 : real; Product1_tmp_10 : real;
14
	Product1_tmp_11 : real; Product1_tmp_12 : real; Product1_tmp_13 : real; Product1_tmp_14 : real; Product1_tmp_15 : real; Product1_tmp_16 : real;
15
	Product1_tmp_17 : real; Product1_tmp_18 : real; Product1_tmp_19 : real; Product1_tmp_20 : real;
16
	Product3_tmp_1 : real; Product3_tmp_2 : real; Product3_tmp_3 : real; Product3_tmp_4 : real;
17
let 
18
	Product1_tmp_1 = In2_1_1 * In3_1_1 + In2_1_2 * In3_1_3 + In2_1_3 * In3_1_5 + In2_1_4 * In3_1_7;
19
	Product1_tmp_2 = In2_1_1 * In3_1_2 + In2_1_2 * In3_1_4 + In2_1_3 * In3_1_6 + In2_1_4 * In3_1_8;
20
	Product1_tmp_3 = In2_1_5 * In3_1_1 + In2_1_6 * In3_1_3 + In2_1_7 * In3_1_5 + In2_1_8 * In3_1_7;
21
	Product1_tmp_4 = In2_1_5 * In3_1_2 + In2_1_6 * In3_1_4 + In2_1_7 * In3_1_6 + In2_1_8 * In3_1_8;
22
	Product1_tmp_5 = Product1_tmp_1 * In6_1_1 + Product1_tmp_2 * In6_1_4;
23
	Product1_tmp_6 = Product1_tmp_1 * In6_1_2 + Product1_tmp_2 * In6_1_5;
24
	Product1_tmp_7 = Product1_tmp_1 * In6_1_3 + Product1_tmp_2 * In6_1_6;
25
	Product1_tmp_8 = Product1_tmp_3 * In6_1_1 + Product1_tmp_4 * In6_1_4;
26
	Product1_tmp_9 = Product1_tmp_3 * In6_1_2 + Product1_tmp_4 * In6_1_5;
27
	Product1_tmp_10 = Product1_tmp_3 * In6_1_3 + Product1_tmp_4 * In6_1_6;
28
	Product1_tmp_11 = Product1_tmp_5 * In7_1_1 + Product1_tmp_6 * In7_1_4 + Product1_tmp_7 * In7_1_7;
29
	Product1_tmp_12 = Product1_tmp_5 * In7_1_2 + Product1_tmp_6 * In7_1_5 + Product1_tmp_7 * In7_1_8;
30
	Product1_tmp_13 = Product1_tmp_5 * In7_1_3 + Product1_tmp_6 * In7_1_6 + Product1_tmp_7 * In7_1_9;
31
	Product1_tmp_14 = Product1_tmp_8 * In7_1_1 + Product1_tmp_9 * In7_1_4 + Product1_tmp_10 * In7_1_7;
32
	Product1_tmp_15 = Product1_tmp_8 * In7_1_2 + Product1_tmp_9 * In7_1_5 + Product1_tmp_10 * In7_1_8;
33
	Product1_tmp_16 = Product1_tmp_8 * In7_1_3 + Product1_tmp_9 * In7_1_6 + Product1_tmp_10 * In7_1_9;
34
	Product1_tmp_17 = Product1_tmp_11 * In8_1_1 + Product1_tmp_12 * In8_1_3 + Product1_tmp_13 * In8_1_5;
35
	Product1_tmp_18 = Product1_tmp_11 * In8_1_2 + Product1_tmp_12 * In8_1_4 + Product1_tmp_13 * In8_1_6;
36
	Product1_tmp_19 = Product1_tmp_14 * In8_1_1 + Product1_tmp_15 * In8_1_3 + Product1_tmp_16 * In8_1_5;
37
	Product1_tmp_20 = Product1_tmp_14 * In8_1_2 + Product1_tmp_15 * In8_1_4 + Product1_tmp_16 * In8_1_6;
38
	Product1_1_1 = Product1_tmp_17 * In9_1_1 + Product1_tmp_18 * In9_1_2;
39
	Product1_1_2 = Product1_tmp_19 * In9_1_1 + Product1_tmp_20 * In9_1_2;
40
	Product3_tmp_1 = In4_1_1 * In5_1_1 + In4_1_2 * In5_1_3 + In4_1_3 * In5_1_5;
41
	Product3_tmp_2 = In4_1_1 * In5_1_2 + In4_1_2 * In5_1_4 + In4_1_3 * In5_1_6;
42
	Product3_tmp_3 = In4_1_4 * In5_1_1 + In4_1_5 * In5_1_3 + In4_1_6 * In5_1_5;
43
	Product3_tmp_4 = In4_1_4 * In5_1_2 + In4_1_5 * In5_1_4 + In4_1_6 * In5_1_6;
44
	Product3_1_1 = Product3_tmp_1 * In1_1_1 + Product3_tmp_2 * In1_1_2;
45
	Product3_1_2 = Product3_tmp_3 * In1_1_1 + Product3_tmp_4 * In1_1_2;
46
	Out4_1_1 = Product3_1_1;
47
	Out4_1_2 = Product3_1_2;
48
	Out1_2_1 = Product1_1_1;
49
	Out1_2_2 = Product1_1_2;
50
	i_virtual_local= 0.0 -> 1.0;
51
tel
52