heptagon/examples/heptreax/README
Gwenaël Delaval f720c1844f Added example heptreax
Example heptreax, use of ReaX controller synthesis tool for verification
and controller synthesis.
2015-09-17 16:21:05 +02:00

19 lines
713 B
Plaintext

Examples of uses of Heptagon with the synthesis tool ReaX.
- Verification (modes.ept, contract without controllable variable) :
heptc -target ctrln modes.ept
reax -a 'sS:d={P:D}' modes_ctrln/twomodes.ctrln
- Controller synthesis (twomodes.ept, contract with controllable variable) :
heptc -hepts -s twomodes -target c -target ctrln modes.ept
reax -a 'sS:d={P:D}' --triang modes_ctrln/twomodes.ctrln
ctrl2ept -n Modes.twomodes
heptc -target c modes_controller.ept
gcc -o sim -I/usr/local/lib/heptagon/c -Imodes_c -Imodes_controller_c
modes_c/_main.c modes_c/modes.c modes_c/modes_types.c
modes_controller_c/modes_controller.c
modes_controller_c/modes_controller_types.c