riscv-software-src / riscof

BSD 3-Clause "New" or "Revised" License
63 stars 40 forks source link

How to access sail's memory. #103

Open animesh211 opened 9 months ago

animesh211 commented 9 months ago

Hi. While trying to access a memory like 'f0000000' in the setup for atomics, I am seeing Exceptions being taken from sail model. Seeing exceptions like these-

within_phys_mem: 0xF0000000 not within phys-mem: plat_rom_base: 0x00001000 plat_rom_size: 0x00001000 plat_ram_base: 0x80000000 plat_ram_size: 0x04000000 trapping from M to M to handle store/amo-access-fault handling exc#0x07 at priv M with tval 0xF0000000 CSR mstatus <- 0x00001800

How can I access this memory region?