aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/testenv.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/testenv.sh b/testsuite/testenv.sh
index 4c3a3c33a..aa3735fe1 100644
--- a/testsuite/testenv.sh
+++ b/testsuite/testenv.sh
@@ -166,13 +166,14 @@ synth_analyze()
synth_tb()
{
t=$1
+ shift
- analyze $t.vhdl tb_$t.vhdl
+ 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
+ synth $* $t.vhdl -e $t > syn_$t.vhdl
+ analyze $* syn_$t.vhdl tb_$t.vhdl
elab_simulate tb_$t --ieee-asserts=disable-at-0 --assert-level=error
clean
}