diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-29 18:43:12 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-29 18:43:12 +0200 |
commit | 71cd14f43e9741a4a62a8dc3be6e3d55d3940db8 (patch) | |
tree | 5cbd1779090a151786d44d522c98bee1c660f523 /testsuite/synth/fsm01/testsuite.sh | |
parent | c395d7ba1c0982ffd34dcb76fb7bdb65760a9a6e (diff) | |
download | ghdl-71cd14f43e9741a4a62a8dc3be6e3d55d3940db8.tar.gz ghdl-71cd14f43e9741a4a62a8dc3be6e3d55d3940db8.tar.bz2 ghdl-71cd14f43e9741a4a62a8dc3be6e3d55d3940db8.zip |
testsuite: add synth/fsm01
Diffstat (limited to 'testsuite/synth/fsm01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/fsm01/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/fsm01/testsuite.sh b/testsuite/synth/fsm01/testsuite.sh new file mode 100755 index 000000000..b9a451fa2 --- /dev/null +++ b/testsuite/synth/fsm01/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in fsm_4s; do + analyze $t.vhdl tb_$t.vhdl + elab_simulate tb_$t + clean + + synth $t.vhdl -e $t > syn_$t.vhdl + analyze syn_$t.vhdl tb_$t.vhdl + elab_simulate tb_$t + clean +done + +echo "Test successful" |