diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-01 06:10:29 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-01 06:10:29 +0200 |
commit | 7dadb10612db2ba3d8507c59ed3491fc810e91c9 (patch) | |
tree | 0a4c6eeaf9785b0453b15895df1e91cc783344c6 /testsuite/synth/issue955/testsuite.sh | |
parent | a7d9aa91b5a9f4847edf71c80b70cfec6d646fd9 (diff) | |
download | ghdl-7dadb10612db2ba3d8507c59ed3491fc810e91c9.tar.gz ghdl-7dadb10612db2ba3d8507c59ed3491fc810e91c9.tar.bz2 ghdl-7dadb10612db2ba3d8507c59ed3491fc810e91c9.zip |
testsuite/synth: add testcase for #955
Diffstat (limited to 'testsuite/synth/issue955/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue955/testsuite.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/synth/issue955/testsuite.sh b/testsuite/synth/issue955/testsuite.sh new file mode 100755 index 000000000..39568eb47 --- /dev/null +++ b/testsuite/synth/issue955/testsuite.sh @@ -0,0 +1,22 @@ +#! /bin/sh + +. ../../testenv.sh + +for f in ent; do + synth $f.vhdl -e $f > syn_$f.vhdl +# analyze syn_$f.vhdl +done +clean + +for t in ent1; 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" |