mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-23 21:39:13 -04:00
[dv,cosim] Add memory region to match UVM env
This extends our memory range to be between 0 and 0xFFFF_FFFF. This is needed because in the case of no match between UVM memory model and spike memory model, we see a mismatch. Signed-off-by: Canberk Topal <ctopal@lowrisc.org>
This commit is contained in:
parent
4975c7fa4b
commit
ae76c62623
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ void *spike_cosim_init(const char *isa_string, svBitVecVal *start_pc,
|
|||
SpikeCosim *cosim = new SpikeCosim(isa_string, start_pc[0], start_mtvec[0],
|
||||
log_file_path, false, true);
|
||||
cosim->add_memory(0x80000000, 0x80000000);
|
||||
cosim->add_memory(0x00000000, 0x80000000);
|
||||
return static_cast<Cosim *>(cosim);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue