aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/arr02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-29 18:44:40 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-29 18:44:40 +0200
commit2b3e933a016f31417080a3dd43e9925249e4b76f (patch)
tree417fc79708e4193be3a79b8371746fe68fde0b9d /testsuite/synth/arr02/testsuite.sh
parent1e90b56431dc5df5463a760555b1abc746f50958 (diff)
downloadghdl-2b3e933a016f31417080a3dd43e9925249e4b76f.tar.gz
ghdl-2b3e933a016f31417080a3dd43e9925249e4b76f.tar.bz2
ghdl-2b3e933a016f31417080a3dd43e9925249e4b76f.zip
synth: add arr02 test.
Diffstat (limited to 'testsuite/synth/arr02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/arr02/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/arr02/testsuite.sh b/testsuite/synth/arr02/testsuite.sh
new file mode 100755
index 000000000..75e5794a7
--- /dev/null
+++ b/testsuite/synth/arr02/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in rom1; 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"