Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_ref_subsystem_test / ref_subsystem_test.lus @ 6c3ea955

History | View | Annotate | Download (736 Bytes)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node ref_subsystem_sub_test (In1_1_1 : real)
6
returns (Out1_1_1 : real); 
7
var
8
	Product_1_1 : real;
9
let 
10
	Product_1_1 = In1_1_1 * In1_1_1;
11
	Out1_1_1 = Product_1_1;
12
tel
13

    
14
node ref_subsystem_test_Subsystem (In1_1_1 : real)
15
returns (Out1_1_1 : real); 
16
var
17
	block_Subsystem_1_1 : real;
18
let 
19
	block_Subsystem_1_1 = ref_subsystem_sub_test(In1_1_1);
20
	Out1_1_1 = block_Subsystem_1_1;
21
tel
22

    
23
node ref_subsystem_test (In1_1_1 : real)
24
returns (Out1_1_1 : real); 
25
var
26
	Gain_1_1 : real;
27
	Subsystem_1_1 : real;
28
	i_virtual_local : real;
29
let 
30
	Gain_1_1 = 1.00000000 * In1_1_1;
31
	Subsystem_1_1 = ref_subsystem_test_Subsystem(Gain_1_1);
32
	Out1_1_1 = Subsystem_1_1;
33
	i_virtual_local= 0.0 -> 1.0;
34
tel
35