From da65928f04e147a6c6a4ee00f361647646b1ac05 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Tue, 6 Feb 2024 16:07:41 -0600 Subject: [PATCH] Fixed issue with branch deriv configs. --- config/rv32gc/config.vh | 11 ----------- sim/regression-wally | 2 +- testbench/testbench.sv | 6 ++++-- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/config/rv32gc/config.vh b/config/rv32gc/config.vh index 8b4b78a4f..843f55530 100644 --- a/config/rv32gc/config.vh +++ b/config/rv32gc/config.vh @@ -154,22 +154,11 @@ localparam PLIC_SPI_ID = 32'd6; localparam PLIC_SDC_ID = 32'd9; localparam BPRED_SUPPORTED = 1; -// this is an annoying hack for the branch predictor parameterization override. -`ifdef BPRED_OVERRIDE -localparam BPRED_TYPE = `BPRED_TYPE; -localparam BPRED_SIZE = `BPRED_SIZE; -`else localparam BPRED_TYPE = `BP_GSHARE; // BP_GSHARE_BASIC, BP_GLOBAL, BP_GLOBAL_BASIC, BP_TWOBIT localparam BPRED_SIZE = 32'd10; -`endif localparam BPRED_NUM_LHR = 32'd6; -`ifdef BTB_OVERRIDE -localparam BTB_SIZE = `BTB_SIZE; -localparam RAS_SIZE = `RAS_SIZE; -`else localparam BTB_SIZE = 32'd10; localparam RAS_SIZE = 32'd16; -`endif localparam INSTR_CLASS_PRED = 1; localparam SVADU_SUPPORTED = 1; diff --git a/sim/regression-wally b/sim/regression-wally index 4c3b630c4..757282b7c 100755 --- a/sim/regression-wally +++ b/sim/regression-wally @@ -72,7 +72,7 @@ def getBuildrootTC(boot): BRcmd="vsim > {} -c < {} -c < {} -c <