From 097e8edb3dfad02f146bd1895789f1da5e183eca Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Sat, 20 Mar 2021 18:19:51 -0400 Subject: [PATCH] Put Imperas testbench back --- wally-pipelined/testbench/testbench-imperas.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wally-pipelined/testbench/testbench-imperas.sv b/wally-pipelined/testbench/testbench-imperas.sv index 1060d8cb..d4682dd2 100644 --- a/wally-pipelined/testbench/testbench-imperas.sv +++ b/wally-pipelined/testbench/testbench-imperas.sv @@ -349,7 +349,7 @@ string tests32i[] = { end else begin // RV32 // *** add the 32 bit bp tests tests = {tests32i}; - if (`C_SUPPORTED % 2 == 1) tests = {tests32ic, tests}; + if (`C_SUPPORTED % 2 == 1) tests = {tests, tests32ic}; else tests = {tests, tests32iNOc}; if (`M_SUPPORTED % 2 == 1) tests = {tests, tests32m}; if (`A_SUPPORTED) tests = {tests, tests32a}; @@ -483,7 +483,7 @@ string tests32i[] = { // initialize the branch predictor initial begin - $readmemb(`TWO_BIT_PRELOAD, dut.hart.ifu.bpred.Predictor.DirPredictor.PHT.memory); + $readmemb(`TWO_BIT_PRELOAD, dut.hart.ifu.bpred.DirPredictor.memory.memory); $readmemb(`BTB_PRELOAD, dut.hart.ifu.bpred.TargetPredictor.memory.memory); end