aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/synth36/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-01 06:26:38 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-01 06:26:38 +0200
commit4ae9ffbce09663402fdff2dbacf77151d0ad81b9 (patch)
tree56d859334c2b43eb31f5783a3c9086b7ac88fee4 /testsuite/synth/synth36/testsuite.sh
parent7dadb10612db2ba3d8507c59ed3491fc810e91c9 (diff)
downloadghdl-4ae9ffbce09663402fdff2dbacf77151d0ad81b9.tar.gz
ghdl-4ae9ffbce09663402fdff2dbacf77151d0ad81b9.tar.bz2
ghdl-4ae9ffbce09663402fdff2dbacf77151d0ad81b9.zip
testsuite/synth: add testcase for tgingold/ghdlsynth-beta#36
Diffstat (limited to 'testsuite/synth/synth36/testsuite.sh')
-rwxr-xr-xtestsuite/synth/synth36/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/synth36/testsuite.sh b/testsuite/synth/synth36/testsuite.sh
new file mode 100755
index 000000000..7ea417f3f
--- /dev/null
+++ b/testsuite/synth/synth36/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in bram; 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"