mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 21:17:59 -04:00
[dv] Fix cosim memory size
To match with the memory available in the testbench the cosim must provide 2 GiB of memory.
This commit is contained in:
parent
045b5707c1
commit
545a034957
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ void *spike_cosim_init(svBitVecVal *start_pc, svBitVecVal *start_mtvec,
|
|||
|
||||
SpikeCosim *cosim =
|
||||
new SpikeCosim(start_pc[0], start_mtvec[0], log_file_path, false, true);
|
||||
cosim->add_memory(0x80000000, 0x10000000);
|
||||
cosim->add_memory(0x80000000, 0x80000000);
|
||||
return static_cast<Cosim *>(cosim);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue