Commit 589c28ed authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add continuous signal

parent 8d5d3f0d
/* CIF PROCESS (250, 150), (150, 75) */
process type Mother;
/* CIF TEXT (703, 66), (267, 176) */
/* CIF TEXT (828, 66), (267, 176) */
-- Text area for declarations and comments
dcl a T_Int32 := 1,
......@@ -10,18 +10,26 @@ process type Mother;
START;
/* CIF NEXTSTATE (320, 65), (70, 35) */
NEXTSTATE Wait;
/* CIF state (541, 15), (71, 35) */
/* CIF state (540, 15), (71, 35) */
state Running;
/* CIF input (546, 70), (62, 35) */
/* CIF input (461, 70), (62, 35) */
input Pulse;
/* CIF PROCEDURECALL (509, 125), (135, 35) */
/* CIF PROCEDURECALL (424, 125), (135, 35) */
call DoSomething (a, b);
/* CIF task (540, 180), (73, 35) */
/* CIF task (456, 180), (73, 35) */
task a := b;
/* CIF PROCEDURECALL (526, 235), (101, 35) */
/* CIF PROCEDURECALL (441, 235), (101, 35) */
call writeln (b, ' ');
/* CIF NEXTSTATE (541, 285), (71, 35) */
/* CIF NEXTSTATE (456, 285), (71, 35) */
NEXTSTATE Running;
/* CIF provided (571, 70), (93, 35) */
provided true = false
/* CIF comment (684, 70), (132, 56) */
comment 'test continuous
signals when using
instances';
/* CIF NEXTSTATE (583, 125), (70, 35) */
NEXTSTATE -;
endstate;
/* CIF state (320, 65), (70, 35) */
state Wait;
......
Supports Markdown
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