diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-07-20 12:23:06 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-07-20 12:23:06 +0200 |
commit | 1a74e633ddd7a8c517703201f90992c034dd76d7 (patch) | |
tree | 8706c97de6774445dcf805b8c151cc04997e03f9 /testsuite/synth/forgen01.vhdl/testsuite.sh | |
parent | bb6efb5c4092131f46032c74f9fcc322b5db2b6a (diff) | |
download | ghdl-1a74e633ddd7a8c517703201f90992c034dd76d7.tar.gz ghdl-1a74e633ddd7a8c517703201f90992c034dd76d7.tar.bz2 ghdl-1a74e633ddd7a8c517703201f90992c034dd76d7.zip |
synth: add a test for for-generate statement.
Diffstat (limited to 'testsuite/synth/forgen01.vhdl/testsuite.sh')
-rwxr-xr-x | testsuite/synth/forgen01.vhdl/testsuite.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/forgen01.vhdl/testsuite.sh b/testsuite/synth/forgen01.vhdl/testsuite.sh new file mode 100755 index 000000000..70ee6bc2a --- /dev/null +++ b/testsuite/synth/forgen01.vhdl/testsuite.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in forgen01; 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" |