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

Testing of SCRs for CHERI support #29

Open
francislaus opened this issue Mar 28, 2024 · 1 comment
Open

Testing of SCRs for CHERI support #29

francislaus opened this issue Mar 28, 2024 · 1 comment

Comments

@francislaus
Copy link
Collaborator

We currently do not support Special Capability Register (SCR) testing. When looking at the RISC-V TG draft specification, it seems SCRs are soon under the "CSR hood". Until the TG specification is ratified, what do we think is the best way to test SCRs?

@PeterRugg
Copy link
Collaborator

They are tested I think: https://github.com/CTSRD-CHERI/QuickCheckVEngine/blob/9fc7ec5c2790f8074dab6c77a0b2cf28f2543ced/src/QuickCheckVEngine/Templates/GenCHERI.hs#L107C3-L107C9, though implementation-defined legalisation makes it difficult to test them very thoroughly

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