From fc027032df7a1a3c00c9844bd32670a11fdefa89 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Fri, 2 Feb 2024 15:04:24 -0600 Subject: [PATCH] Ugh. I can't seem to get questa to set the top level parameters anymore. --- sim/wally-batch.do | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim/wally-batch.do b/sim/wally-batch.do index 628f361c5..acb40c452 100644 --- a/sim/wally-batch.do +++ b/sim/wally-batch.do @@ -89,11 +89,11 @@ if {$2 eq "buildroot"} { # **** fix this so we can pass any number of +defines. # only allows 3 right now - vlog -lint -work wkdir/work_${1}_${3}_${4} +incdir+../config/$1 +incdir+../config/deriv/$1 +incdir+../config/shared ../src/cvw.sv ../testbench/testbench.sv ../testbench/common/*.sv ../src/*/*.sv ../src/*/*/*.sv -suppress 2583 -suppress 7063,2596,13286 + vlog -lint -work wkdir/work_${1}_${3}_${4} +incdir+../config/$1 +incdir+../config/deriv/$1 +incdir+../config/shared ../src/cvw.sv ../testbench/testbench.sv ../testbench/common/*.sv ../src/*/*.sv ../src/*/*/*.sv -suppress 2583 -suppress 7063,2596,13286 +define+PrintHPMCounters=1 # start and run simulation # remove +acc flag for faster sim during regressions if there is no need to access internal signals - vopt wkdir/work_${1}_${3}_${4}.testbench -work wkdir/work_${1}_${3}_${4} -G TEST=$4 -o testbenchopt - vsim -lib wkdir/work_${1}_${3}_${4} testbenchopt -fatal 7 -suppress 3829 + vopt wkdir/work_${1}_${3}_${4}.testbench -work wkdir/work_${1}_${3}_${4} -G TEST=$3 -o testbenchopt +define+PrintHPMCounters=1 + vsim -lib wkdir/work_${1}_${3}_${4} testbenchopt -fatal 7 -suppress 3829 +define+PrintHPMCounters=1 # Adding coverage increases runtime from 2:00 to 4:29. Can't run it all the time #vopt work_$2.testbench -work work_$2 -o workopt_$2 +cover=sbectf #vsim -coverage -lib work_$2 workopt_$2