From adb5d0fd27705aae9fde145366a6222f86d049f9 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Tue, 27 Oct 2020 09:51:36 +0000 Subject: [PATCH] Pass through ICache-related parameters in compliance test The RISC-V compliance toplevel needs to pass through the instruction cache-related parameters, which are set by the ibex configuration script. --- dv/riscv_compliance/rtl/ibex_riscv_compliance.sv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv b/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv index 1173c3bf..b5fcfc2d 100644 --- a/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv +++ b/dv/riscv_compliance/rtl/ibex_riscv_compliance.sv @@ -24,6 +24,8 @@ module ibex_riscv_compliance ( parameter ibex_pkg::regfile_e RegFile = ibex_pkg::RegFileFF; parameter bit BranchTargetALU = 1'b0; parameter bit WritebackStage = 1'b0; + parameter bit ICache = 1'b0; + parameter bit ICacheECC = 1'b0; parameter bit BranchPredictor = 1'b0; logic clk_sys, rst_sys_n; @@ -120,6 +122,8 @@ module ibex_riscv_compliance ( .RegFile (RegFile ), .BranchTargetALU (BranchTargetALU ), .WritebackStage (WritebackStage ), + .ICache (ICache ), + .ICacheECC (ICacheECC ), .BranchPredictor (BranchPredictor ), .DmHaltAddr (32'h00000000 ), .DmExceptionAddr (32'h00000000 )