Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access sail's memory. #103

Open
animesh211 opened this issue Nov 7, 2023 · 0 comments
Open

How to access sail's memory. #103

animesh211 opened this issue Nov 7, 2023 · 0 comments

Comments

@animesh211
Copy link

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?

@animesh211 animesh211 changed the title How to increase sail's physical memory. How to access sail's memory. Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant