diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-17 02:18:41 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-17 02:18:41 +0200 |
commit | de899bb8cb6e2f43a3e80a6a273d6a459b08e401 (patch) | |
tree | e44c55c459c9a1fe5814103927d7ac8be4f8a40e /testsuite/synth/var01/testsuite.sh | |
parent | b7a36d7d7838d05b449aa7e23935cd0e3e4213d4 (diff) | |
download | ghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.tar.gz ghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.tar.bz2 ghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.zip |
testsuite/synth: add var01
Diffstat (limited to 'testsuite/synth/var01/testsuite.sh')
-rwxr-xr-x | testsuite/synth/var01/testsuite.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/synth/var01/testsuite.sh b/testsuite/synth/var01/testsuite.sh new file mode 100755 index 000000000..e72b66751 --- /dev/null +++ b/testsuite/synth/var01/testsuite.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 + +for t in var01 var02 var03 var05; 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 --ieee-asserts=disable-at-0 + clean +done + +echo "Test successful" |