aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1062/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-01 12:32:22 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-01 12:32:22 +0100
commitf7ce513f49ea7215128e90a8419fdad7cb1a6cc4 (patch)
tree1d471375e2d7fc7c9335bd4f035cc2d3eb1ffae6 /testsuite/synth/issue1062/testsuite.sh
parentf171b7a717b3cb576a36a87bdd72eb8169e24f91 (diff)
downloadghdl-f7ce513f49ea7215128e90a8419fdad7cb1a6cc4.tar.gz
ghdl-f7ce513f49ea7215128e90a8419fdad7cb1a6cc4.tar.bz2
ghdl-f7ce513f49ea7215128e90a8419fdad7cb1a6cc4.zip
testsuite/synth: add a case for #1062
Diffstat (limited to 'testsuite/synth/issue1062/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue1062/testsuite.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/synth/issue1062/testsuite.sh b/testsuite/synth/issue1062/testsuite.sh
new file mode 100755
index 000000000..2fcf72e02
--- /dev/null
+++ b/testsuite/synth/issue1062/testsuite.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in ent; do
+ synth -ggen1=5 -ggens=TRUE $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"