aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/lib01/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/lib01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/lib01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/lib01/testsuite.sh b/testsuite/synth/lib01/testsuite.sh
new file mode 100755
index 000000000..621e78d14
--- /dev/null
+++ b/testsuite/synth/lib01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze --work=mylib and2.vhdl
+analyze and3.vhdl tb_and3.vhdl
+elab_simulate tb_and3
+clean
+
+synth --work=mylib and2.vhdl --work=work and3.vhdl -e and3 > syn_and3.vhdl
+analyze syn_and3.vhdl tb_and3.vhdl
+elab_simulate tb_and3
+clean
+clean mylib
+
+echo "Test successful"