mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 09:36:01 -04:00
Temporarily roll back to G=0 so riscof runs ACTs. Revert this when ACT handles G=4
This commit is contained in:
parent
7d3df728bd
commit
7dc9a013fc
8 changed files with 10 additions and 10 deletions
|
@ -139,7 +139,7 @@ localparam logic IDIV_ON_FPU = 0;
|
||||||
localparam PMP_ENTRIES = 32'd16;
|
localparam PMP_ENTRIES = 32'd16;
|
||||||
// grain size should be a full cache line to avoid problems with accesses within a cache line
|
// 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
|
// 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
|
// Address space
|
||||||
localparam logic [63:0] RESET_VECTOR = 64'h80000000;
|
localparam logic [63:0] RESET_VECTOR = 64'h80000000;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
--override cpu/Zicboz=T
|
--override cpu/Zicboz=T
|
||||||
--override cmomp_bytes=64 # Zic64b
|
--override cmomp_bytes=64 # Zic64b
|
||||||
--override cmoz_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
|
# Virtual memory
|
||||||
--override cpu/Sv_modes=3 # SV32 supported
|
--override cpu/Sv_modes=3 # SV32 supported
|
||||||
|
|
|
@ -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
|
// 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
|
// 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
|
// Address space
|
||||||
localparam logic [63:0] RESET_VECTOR = 64'h0000000080000000;
|
localparam logic [63:0] RESET_VECTOR = 64'h0000000080000000;
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
# PMP Configuration
|
# PMP Configuration
|
||||||
--override cpu/PMP_registers=16
|
--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_decompose=T # unaligned accesses are decomposed into separate aligned accesses
|
||||||
--override cpu/PMP_undefined=T # access to unimplemented PMP registers cause illegal instruction exception
|
--override cpu/PMP_undefined=T # access to unimplemented PMP registers cause illegal instruction exception
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pmp": {
|
"pmp": {
|
||||||
"grain": 4,
|
"grain": 0,
|
||||||
"count": 16
|
"count": 16
|
||||||
},
|
},
|
||||||
"misaligned": {
|
"misaligned": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pmp": {
|
"pmp": {
|
||||||
"grain": 4,
|
"grain": 0,
|
||||||
"count": 16
|
"count": 16
|
||||||
},
|
},
|
||||||
"misaligned": {
|
"misaligned": {
|
||||||
|
|
|
@ -28,7 +28,7 @@ hart0:
|
||||||
- Unchanged
|
- Unchanged
|
||||||
PMP:
|
PMP:
|
||||||
implemented: True
|
implemented: True
|
||||||
pmp-grain: 4
|
pmp-grain: 0
|
||||||
pmp-count: 16
|
pmp-count: 16
|
||||||
pmp-writable: 12
|
pmp-writable: 16
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,6 @@ hart0:
|
||||||
- Unchanged
|
- Unchanged
|
||||||
PMP:
|
PMP:
|
||||||
implemented: True
|
implemented: True
|
||||||
pmp-grain: 4
|
pmp-grain: 0
|
||||||
pmp-count: 16
|
pmp-count: 16
|
||||||
pmp-writable: 12
|
pmp-writable: 16
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue