Temporarily roll back to G=0 so riscof runs ACTs. Revert this when ACT handles G=4

This commit is contained in:
David Harris 2025-06-11 10:01:58 -07:00
parent 7d3df728bd
commit 7dc9a013fc
8 changed files with 10 additions and 10 deletions

View file

@ -139,7 +139,7 @@ localparam logic IDIV_ON_FPU = 0;
localparam PMP_ENTRIES = 32'd16;
// grain size should be a full cache line to avoid problems with accesses within a cache line
// that span grain boundaries but are handled without a spill
localparam PMP_G = 32'd4; // 64 bytes for 512-bit cache line
localparam PMP_G = 32'd0; // 64 bytes for 512-bit cache line
// Address space
localparam logic [63:0] RESET_VECTOR = 64'h80000000;

View file

@ -17,7 +17,7 @@
--override cpu/Zicboz=T
--override cmomp_bytes=64 # Zic64b
--override cmoz_bytes=64 # Zic64b
--override lr_sc_grain=4 # Za64rs requires <=64; we use native word size
--override lr_sc_grain=0 # Za64rs requires <=64; we use native word size
# Virtual memory
--override cpu/Sv_modes=3 # SV32 supported

View file

@ -140,7 +140,7 @@ localparam PMP_ENTRIES = 32'd16;
// grain size should be a full cache line to avoid problems with accesses within a cache line
// that span grain boundaries but are handled without a spill
localparam PMP_G = 32'd4; //e.g. 4 for 64-byte grains (512-bit cache lines)
localparam PMP_G = 32'd0; //e.g. 4 for 64-byte grains (512-bit cache lines)
// Address space
localparam logic [63:0] RESET_VECTOR = 64'h0000000080000000;

View file

@ -48,7 +48,7 @@
# PMP Configuration
--override cpu/PMP_registers=16
--override cpu/PMP_grain=4 # 64-byte grains to match cache line width
--override cpu/PMP_grain=0 # 64-byte grains to match cache line width
--override cpu/PMP_decompose=T # unaligned accesses are decomposed into separate aligned accesses
--override cpu/PMP_undefined=T # access to unimplemented PMP registers cause illegal instruction exception

View file

@ -10,7 +10,7 @@
},
"memory": {
"pmp": {
"grain": 4,
"grain": 0,
"count": 16
},
"misaligned": {

View file

@ -10,7 +10,7 @@
},
"memory": {
"pmp": {
"grain": 4,
"grain": 0,
"count": 16
},
"misaligned": {

View file

@ -28,7 +28,7 @@ hart0:
- Unchanged
PMP:
implemented: True
pmp-grain: 4
pmp-grain: 0
pmp-count: 16
pmp-writable: 12
pmp-writable: 16

View file

@ -30,6 +30,6 @@ hart0:
- Unchanged
PMP:
implemented: True
pmp-grain: 4
pmp-grain: 0
pmp-count: 16
pmp-writable: 12
pmp-writable: 16