Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_bus_test / bus_test.lus @ 6c3ea955

History | View | Annotate | Download (749 Bytes)

1
-- This file has been generated by cocoSim
2

    
3

    
4
-- System nodes
5
node bus_test (In1_1_1 : real; In2_1_1 : real; In3_1_1 : real)
6
returns (Out4_1_1 : real;
7
	Out5_2_1 : real); 
8
var
9
	BusAssignment_1_1 : real; BusAssignment_1_2 : real; BusAssignment_1_3 : real;
10
	BusCreator_1_1 : real; BusCreator_1_2 : real; BusCreator_1_3 : real;
11
	BusSelector_1_1 : real; BusSelector_2_1 : real;
12
	i_virtual_local : real;
13
let 
14
	BusAssignment_1_1 = In3_1_1;
15
	BusAssignment_1_2 = BusCreator_1_2;
16
	BusAssignment_1_3 = In2_1_1;
17
	BusCreator_1_1 = In1_1_1;
18
	BusCreator_1_2 = In2_1_1;
19
	BusCreator_1_3 = In3_1_1;
20
	BusSelector_1_1 = BusAssignment_1_1;
21
	BusSelector_2_1 = BusAssignment_1_2;
22
	Out4_1_1 = BusSelector_1_1;
23
	Out5_2_1 = BusSelector_2_1;
24
	i_virtual_local= 0.0 -> 1.0;
25
tel
26