aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue955/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue955/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue955/testsuite.sh22
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"