aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/comp02/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/comp02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/comp02/testsuite.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/comp02/testsuite.sh b/testsuite/synth/comp02/testsuite.sh
new file mode 100755
index 000000000..73ee22454
--- /dev/null
+++ b/testsuite/synth/comp02/testsuite.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+# Direct instance
+analyze pkg.vhdl cmask.vhdl mixer.vhdl tb_mixer.vhdl
+elab_simulate tb_mixer
+clean
+
+synth pkg.vhdl cmask.vhdl mixer.vhdl -e mixer > syn_mixer.vhdl
+analyze syn_mixer.vhdl tb_mixer.vhdl
+elab_simulate tb_mixer
+clean
+
+echo "Test successful"