Move to 8 MiB RVFI-DII memory.
This commit is contained in:
@@ -480,8 +480,8 @@ module mkMemExePipeline#(MemExeInput inIfc)(MemExePipeline);
|
||||
let {paddr, cause} = dTlbResp.resp;
|
||||
|
||||
`ifdef RVFI_DII
|
||||
// TestRIG expects us throw an access fault for any memory access outside of a 64-KiB memory at 0x8000000.
|
||||
if (!isValid(cause) && (paddr < 'h80000000 || paddr >= 'h80010000)) begin
|
||||
// TestRIG expects us throw an access fault for any memory access outside of a 8 MiB memory at 0x8000000.
|
||||
if (!isValid(cause) && (paddr < 'h80000000 || paddr >= 'h80800000)) begin
|
||||
case(x.mem_func)
|
||||
Ld, Lr: begin
|
||||
cause = Valid (LoadAccessFault);
|
||||
|
||||
@@ -76,7 +76,7 @@ SoC_Map_Struct {
|
||||
near_mem_io_addr_base: 'h_0200_0000,
|
||||
|
||||
main_mem_addr_base: 'h_8000_0000,
|
||||
main_mem_addr_size: 'h_0001_0000,
|
||||
main_mem_addr_size: 'h_0080_0000,
|
||||
pc_reset_value: 'h_8000_0000
|
||||
};
|
||||
`endif
|
||||
|
||||
Reference in New Issue
Block a user