Commit 5013ce0c authored by Maxime Perrotin's avatar Maxime Perrotin

Update SDL test model to print text

parent d133d89f
/* CIF PROCESS (250, 150), (150, 75) */ /* CIF PROCESS (250, 150), (150, 75) */
process Obsw; process Obsw;
/* CIF TEXT (504, 123), (270, 153) */ /* CIF TEXT (504, 123), (275, 153) */
-- Text area for declarations and comments -- Text area for declarations and comments
dcl p t_boolean; dcl p t_boolean;
/* CIF ENDTEXT */ /* CIF ENDTEXT */
/* CIF START (320, 10), (70, 35) */ /* CIF START (320, 10), (70, 35) */
START; START;
/* CIF NEXTSTATE (320, 60), (70, 35) */ /* CIF PROCEDURECALL (248, 65), (213, 35) */
call writeln ('[SDL] OBSW Startup');
/* CIF NEXTSTATE (320, 115), (70, 35) */
NEXTSTATE Wait; NEXTSTATE Wait;
/* CIF state (320, 60), (70, 35) */ /* CIF state (320, 115), (70, 35) */
state Wait; state Wait;
/* CIF input (316, 115), (78, 35) */ /* CIF input (235, 170), (78, 35) */
input Run(p); input Run(p);
/* CIF output (313, 170), (83, 35) */ /* CIF output (231, 225), (86, 35) */
output Result(42); output Result(42);
/* CIF NEXTSTATE (320, 220), (70, 35) */ /* CIF NEXTSTATE (239, 275), (70, 35) */
NEXTSTATE wait;
/* CIF input (369, 170), (70, 35) */
input Pulse;
/* CIF PROCEDURECALL (327, 225), (152, 35) */
call writeln('[SDL] Pulse');
/* CIF NEXTSTATE (369, 280), (70, 35) */
NEXTSTATE wait; NEXTSTATE wait;
endstate; endstate;
/* CIF state (450, 10), (70, 35) */ /* CIF state (450, 10), (70, 35) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment