aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/mem2d01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-03 07:52:32 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-03 07:52:32 +0200
commit47cb9e6bf3aacb35a4a3d1cd035eddce7038e2b5 (patch)
tree39622d1485ec99e126652ade3cba0df8bd128111 /testsuite/synth/mem2d01/testsuite.sh
parenta5a6341a06540617f2dc45521c92a5f1c88fb9e6 (diff)
downloadghdl-47cb9e6bf3aacb35a4a3d1cd035eddce7038e2b5.tar.gz
ghdl-47cb9e6bf3aacb35a4a3d1cd035eddce7038e2b5.tar.bz2
ghdl-47cb9e6bf3aacb35a4a3d1cd035eddce7038e2b5.zip
testsuite/synth: add mem2d01 tests.
Diffstat (limited to 'testsuite/synth/mem2d01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/mem2d01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/mem2d01/testsuite.sh b/testsuite/synth/mem2d01/testsuite.sh
new file mode 100755
index 000000000..3f49885dd
--- /dev/null
+++ b/testsuite/synth/mem2d01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in dpram1r dpram2r dpram2w; 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"