Move to 8 MiB RVFI-DII memory.

This commit is contained in:
Jonathan Woodruff
2020-03-11 11:53:19 +00:00
parent f101ad129e
commit 3eccf92544
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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