Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
5013ce0c
Commit
5013ce0c
authored
Jul 01, 2019
by
Maxime Perrotin
Browse files
Update SDL test model to print text
parent
d133d89f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-cv/obsw.pr
View file @
5013ce0c
/* CIF PROCESS (250, 150), (150, 75) */
process Obsw;
/* CIF TEXT (504, 123), (27
0
, 153) */
/* CIF TEXT (504, 123), (27
5
, 153) */
-- Text area for declarations and comments
dcl p t_boolean;
/* CIF ENDTEXT */
/* CIF START (320, 10), (70, 35) */
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;
/* CIF state (320,
60
), (70, 35) */
/* CIF state (320,
115
), (70, 35) */
state Wait;
/* CIF input (
316
, 1
15
), (78, 35) */
/* CIF input (
235
, 1
70
), (78, 35) */
input Run(p);
/* CIF output (31
3
,
170
), (8
3
, 35) */
/* CIF output (
2
31,
225
), (8
6
, 35) */
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;
endstate;
/* CIF state (450, 10), (70, 35) */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment