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

Notion of a memory bus error #18

Closed
ben-marshall opened this issue Apr 18, 2019 · 1 comment
Closed

Notion of a memory bus error #18

ben-marshall opened this issue Apr 18, 2019 · 1 comment

Comments

@ben-marshall
Copy link

@ben-marshall ben-marshall commented Apr 18, 2019

Hi there

I noticed that the insn_lw_ch0 check has no notion of a memory bus error. That is, it only specifies that a trap should be raised iff the address is wrongly aligned, or the misa_ok check fails.

Is there a recommended way of handling this in cores which raise a memory bus error? My current plan is to assume bus responses do not fault, and test that scenario by other means.

Cheers,
Ben

@cliffordwolf
Copy link
Collaborator

@cliffordwolf cliffordwolf commented Apr 19, 2019

If the bus error is purely a function of the address then this can be done with the experimental RISCV_FORMAL_PMA_MAP feature. See here for details, and here for an example of the current interface (may be subject to change in the future).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants