diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-06 21:23:17 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-06 21:23:17 +0200 |
commit | 873285ee12f887f11d14a140c7a420ce4c54a9bb (patch) | |
tree | a75acf684ccc516341c9e6632223037285a76409 /testsuite/synth/issue960/testsuite.sh | |
parent | 28a691dc5ca293b1b9d6b02b2b76ce8d0b7231d0 (diff) | |
download | ghdl-873285ee12f887f11d14a140c7a420ce4c54a9bb.tar.gz ghdl-873285ee12f887f11d14a140c7a420ce4c54a9bb.tar.bz2 ghdl-873285ee12f887f11d14a140c7a420ce4c54a9bb.zip |
testsuite/synth: add testcase for #960
Diffstat (limited to 'testsuite/synth/issue960/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue960/testsuite.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/synth/issue960/testsuite.sh b/testsuite/synth/issue960/testsuite.sh new file mode 100755 index 000000000..eef613a45 --- /dev/null +++ b/testsuite/synth/issue960/testsuite.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in ent2; 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 + +synth ent.vhdl -e > syn_ent.vhdl + +echo "Test successful" |