Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_flattening_2_test / flattening_2_test.lus @ 6c3ea955

History | View | Annotate | Download (759 Bytes)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node flattening_2_test (In1_1_1 : real)
6
returns (Out1_1_1 : real;
7
	Out2_2_1 : real;
8
	Out3_3_1 : real); 
9
var
10
	UnitDelay_1_1 : real;
11
	Subsystem_Constant_1_1 : real;
12
	Subsystem_Gain_1_1 : real;
13
	Subsystem_Subsystem1_Gain_1_1 : real;
14
	Subsystem_Sum_1_1 : real;
15
	i_virtual_local : real;
16
let 
17
	UnitDelay_1_1 = 0.00000000 -> pre In1_1_1;
18
	Out1_1_1 = Subsystem_Gain_1_1;
19
	Subsystem_Constant_1_1 = 1.00000000;
20
	Subsystem_Gain_1_1 = 0.50000000 * UnitDelay_1_1;
21
	Subsystem_Subsystem1_Gain_1_1 = 0.50000000 * UnitDelay_1_1;
22
	Subsystem_Sum_1_1 = UnitDelay_1_1 + UnitDelay_1_1 + Subsystem_Constant_1_1;
23
	Out2_2_1 = Subsystem_Sum_1_1;
24
	Out3_3_1 = Subsystem_Subsystem1_Gain_1_1;
25
	i_virtual_local= 0.0 -> 1.0;
26
tel
27