From 7ceef2b0c690cf15c1c4e8cd35299867d25ba193 Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Fri, 12 Mar 2021 20:16:03 -0600 Subject: [PATCH] Fixed the issue with the batch mode not working after adding the function radix. --- wally-pipelined/regression/wally-pipelined-batch.do | 2 +- wally-pipelined/regression/wally-pipelined-ross.do | 2 +- wally-pipelined/testbench/testbench-imperas.sv | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/wally-pipelined/regression/wally-pipelined-batch.do b/wally-pipelined/regression/wally-pipelined-batch.do index 4919676b..593e3018 100644 --- a/wally-pipelined/regression/wally-pipelined-batch.do +++ b/wally-pipelined/regression/wally-pipelined-batch.do @@ -31,7 +31,7 @@ vlib work # do wally-pipelined-batch.do ../config/rv32ic switch $argc { 0 {vlog +incdir+../config/rv64ic ../testbench/testbench-imperas.sv ../src/*/*.sv -suppress 2583} - 1 {vlog +incdir+$1 ../testbench/testbench-imperas.sv ../src/*/*.sv -suppress 2583} + 1 {vlog +incdir+$1 ../testbench/testbench-imperas.sv ../src/*/*.sv -suppress 2583} } # start and run simulation # remove +acc flag for faster sim during regressions if there is no need to access internal signals diff --git a/wally-pipelined/regression/wally-pipelined-ross.do b/wally-pipelined/regression/wally-pipelined-ross.do index e76e7fad..d1fc7eea 100644 --- a/wally-pipelined/regression/wally-pipelined-ross.do +++ b/wally-pipelined/regression/wally-pipelined-ross.do @@ -35,7 +35,7 @@ switch $argc { } # start and run simulation # remove +acc flag for faster sim during regressions if there is no need to access internal signals -vopt +acc work.testbench -o workopt +vopt +acc -gDEBUG=1 work.testbench -o workopt vsim workopt # load the branch predictors with known data. The value of the data is not important for function, but diff --git a/wally-pipelined/testbench/testbench-imperas.sv b/wally-pipelined/testbench/testbench-imperas.sv index 555ece82..e55fa1b7 100644 --- a/wally-pipelined/testbench/testbench-imperas.sv +++ b/wally-pipelined/testbench/testbench-imperas.sv @@ -27,10 +27,7 @@ `include "wally-config.vh" module testbench(); - parameter FunctionRadixFile32 = "../../imperas-riscv-tests/FunctionRadix_32.addr"; - parameter FunctionRadixFile64 = "../../imperas-riscv-tests/FunctionRadix_64.addr"; - parameter ProgramIndexFile = "../../imperas-riscv-tests/ProgramMap.txt"; - parameter DEBUG = 1; + parameter DEBUG = 0; logic clk; logic reset;