[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:
Greg Chadwick 2021-11-05 11:14:35 +00:00 committed by Greg Chadwick
parent 045b5707c1
commit 545a034957

View file

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