aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/mem02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-08 08:55:07 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-11 06:37:27 +0200
commit71ca5402d18cd1269613e2ff577269a54d13b037 (patch)
treef9cab4eb08c20a56b209c4b01610d45f5b66ba2c /testsuite/synth/mem02/testsuite.sh
parent42c6c8b8d96d781dbe9173a647d17b3f25da32c2 (diff)
downloadghdl-71ca5402d18cd1269613e2ff577269a54d13b037.tar.gz
ghdl-71ca5402d18cd1269613e2ff577269a54d13b037.tar.bz2
ghdl-71ca5402d18cd1269613e2ff577269a54d13b037.zip
testsuite/synth: add mem02
Diffstat (limited to 'testsuite/synth/mem02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/mem02/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/mem02/testsuite.sh b/testsuite/synth/mem02/testsuite.sh
new file mode 100755
index 000000000..ace30ab35
--- /dev/null
+++ b/testsuite/synth/mem02/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in dpram1; 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"