aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/slice01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-23 07:34:52 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-23 07:34:52 +0200
commite0281345a5437282f287568b6fafa8519512b9dd (patch)
tree50c31d11b6c514602779d57fce0ec5e27e6788a0 /testsuite/synth/slice01/testsuite.sh
parente073f75229d0abf04c8c40fc67391fbd8ea4a9a1 (diff)
downloadghdl-e0281345a5437282f287568b6fafa8519512b9dd.tar.gz
ghdl-e0281345a5437282f287568b6fafa8519512b9dd.tar.bz2
ghdl-e0281345a5437282f287568b6fafa8519512b9dd.zip
synth: add testcase for previous commit.
Diffstat (limited to 'testsuite/synth/slice01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/slice01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/slice01/testsuite.sh b/testsuite/synth/slice01/testsuite.sh
new file mode 100755
index 000000000..1729c688d
--- /dev/null
+++ b/testsuite/synth/slice01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in slice01; 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
+ clean
+done
+
+echo "Test successful"