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

access more than 4GB address issue #20

Open
zjin8520 opened this issue Jul 8, 2024 · 1 comment
Open

access more than 4GB address issue #20

zjin8520 opened this issue Jul 8, 2024 · 1 comment

Comments

@zjin8520
Copy link

zjin8520 commented Jul 8, 2024

Hi sir,

when I try to access an address which more than 4GB (write 0x12345678 to address 0x100000010, then read back), I got store/load exception, and LsuCacheless port not send out the trans. Following is the disassembly code. And I generate VexiiRiscv's command is : sbt "Test/runMain vexiiriscv.Generate --xlen 64 --with-mul --with-div --with-rva --with-rvZb --with-boot-mem-init --physical-width 64". Could you please help to check it? Thank you very much
image

Dolu1990 added a commit that referenced this issue Jul 9, 2024
…ce :

--region base=80000000,size=380000000,main=1,exe=1
--region base=10000000,size=10000000,main=0,exe=0
--physical-width=34
@Dolu1990
Copy link
Member

Dolu1990 commented Jul 9, 2024

Hi,

I pushed in the prefetch branch an option which allow to specify the PMA via the arguements :
--region base=80000000,size=380000000,main=1,exe=1
--region base=10000000,size=10000000,main=0,exe=0
--physical-width=34

With your tests did you manualy edited the memory regions ? (else just use the prefetch branch with the arguements above)

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

2 participants