Changes to build with the now more parameterisable TagController.

This commit is contained in:
jon
2020-06-15 16:46:15 +01:00
parent ad66967916
commit dcfdb34f0a
4 changed files with 12 additions and 2 deletions

View File

@@ -33,6 +33,9 @@ MORE_DEFINES = RV64 \
MULT_SYNTH \
Near_Mem_Caches \
FABRIC64 \
CheriBusBytes=8 \
CheriMasterIDWidth=1 \
CheriTransactionIDWidth=5 \
CAP128 \
MEM64 \
RVFI_DII \

View File

@@ -26,6 +26,9 @@ BSC_COMPILATION_FLAGS += \
-D ISA_PRIV_M -D ISA_PRIV_U -D ISA_PRIV_S \
-D SV39 \
-D ISA_I -D ISA_M -D ISA_A -D ISA_F -D ISA_D -D ISA_FD_DIV -D ISA_C \
-D CheriBusBytes=8 \
-D CheriMasterIDWidth=1 \
-D CheriTransactionIDWidth=5 \
-D SHIFT_BARREL \
-D MULT_SYNTH \
-D Near_Mem_Caches \

View File

@@ -31,6 +31,9 @@ MORE_DEFINES = RV64 \
MULT_SYNTH \
Near_Mem_Caches \
FABRIC64 \
CheriBusBytes=8 \
CheriMasterIDWidth=1 \
CheriTransactionIDWidth=5 \
CAP128 BLUESIM\
MEM64 \
RISCV

View File

@@ -157,8 +157,9 @@ module mkCoreW #(Reset dm_power_on_reset)
// handle cached interface
// AXI4 tagController
let tagController <- mkTagControllerAXI(reset_by hart0_reset); // TODO double check if reseting like this is good enough
AXI4_Master#(5, 64, 64, 0, 1, 0, 0, 1) tmp2 <- fromAXI4_Master_Synth(proc.master0, reset_by hart0_reset);
TagControllerAXI#(Wd_MId, Wd_Addr, Wd_Data) tagController <- mkTagControllerAXI(reset_by hart0_reset); // TODO double check if reseting like this is good enough
AXI4_Master#(Wd_MId, Wd_Addr, Wd_Data, Wd_AW_User, Wd_W_User, Wd_B_User, Wd_AR_User, Wd_R_User)
tmp2 <- fromAXI4_Master_Synth(proc.master0, reset_by hart0_reset);
mkConnection(tmp2, tagController.slave, reset_by hart0_reset);
// PLIC (Platform-Level Interrupt Controller)