Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_gain_test_uK_order / gain_test_uK_order.lus @ 0c9457a0

History | View | Annotate | Download (819 Bytes)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node gain_test_uK_order (In7_1_1 : real; In7_1_2 : real; In7_1_3 : real; In7_1_4 : real; In7_1_5 : real; In7_1_6 : real)
6
returns (Out7_1_1 : real; Out7_1_2 : real; Out7_1_3 : real; Out7_1_4 : real); 
7
var
8
	Gain6_1_1 : real; Gain6_1_2 : real; Gain6_1_3 : real; Gain6_1_4 : real;
9
	i_virtual_local : real;
10
let 
11
	Gain6_1_1 = In7_1_1 * 1.00000000 + In7_1_2 * 3.00000000 + In7_1_3 * 5.00000000;
12
	Gain6_1_2 = In7_1_1 * 2.00000000 + In7_1_2 * 4.00000000 + In7_1_3 * 6.00000000;
13
	Gain6_1_3 = In7_1_4 * 1.00000000 + In7_1_5 * 3.00000000 + In7_1_6 * 5.00000000;
14
	Gain6_1_4 = In7_1_4 * 2.00000000 + In7_1_5 * 4.00000000 + In7_1_6 * 6.00000000;
15
	Out7_1_1 = Gain6_1_1;
16
	Out7_1_2 = Gain6_1_2;
17
	Out7_1_3 = Gain6_1_3;
18
	Out7_1_4 = Gain6_1_4;
19
	i_virtual_local= 0.0 -> 1.0;
20
tel
21