diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-01-11 07:07:32 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-01-11 07:07:32 +0100 |
commit | 4d148edb4087a0a14172d27d037e59d8874c66b9 (patch) | |
tree | bc262d0ca3c41c7b70031febd8f733c7c7fba529 /testsuite/synth/issue1076/testsuite.sh | |
parent | 03d7679ae8d834bba4e175318ada25db33ef2944 (diff) | |
download | ghdl-4d148edb4087a0a14172d27d037e59d8874c66b9.tar.gz ghdl-4d148edb4087a0a14172d27d037e59d8874c66b9.tar.bz2 ghdl-4d148edb4087a0a14172d27d037e59d8874c66b9.zip |
testsuite/synth: add a test for #1076
Diffstat (limited to 'testsuite/synth/issue1076/testsuite.sh')
-rwxr-xr-x | testsuite/synth/issue1076/testsuite.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/synth/issue1076/testsuite.sh b/testsuite/synth/issue1076/testsuite.sh new file mode 100755 index 000000000..f24786843 --- /dev/null +++ b/testsuite/synth/issue1076/testsuite.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 + +for t in ent; 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" |