aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue963/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-03 19:05:08 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-03 19:05:08 +0200
commite5db9a577de24275c1911fc2ad09ab14db39e106 (patch)
tree88fcfd2a04ce3468398d03e72fffa4dba66490d3 /testsuite/synth/issue963/testsuite.sh
parent77bc1f4a883ac8ed63f0be3d443a5b086fc19866 (diff)
downloadghdl-e5db9a577de24275c1911fc2ad09ab14db39e106.tar.gz
ghdl-e5db9a577de24275c1911fc2ad09ab14db39e106.tar.bz2
ghdl-e5db9a577de24275c1911fc2ad09ab14db39e106.zip
testsuite/synth: Add a test for #963
Diffstat (limited to 'testsuite/synth/issue963/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue963/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/issue963/testsuite.sh b/testsuite/synth/issue963/testsuite.sh
new file mode 100755
index 000000000..e30a741e0
--- /dev/null
+++ b/testsuite/synth/issue963/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+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"