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

Wrong clearing of bits in pmp_addr_q #388

Closed
silabs-oysteink opened this issue Jan 12, 2023 · 3 comments
Closed

Wrong clearing of bits in pmp_addr_q #388

silabs-oysteink opened this issue Jan 12, 2023 · 3 comments
Assignees
Labels
Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation

Comments

@silabs-oysteink
Copy link
Contributor

silabs-oysteink commented Jan 12, 2023

Wrong clearing of bits in pmp_addr_q

Component

Component:RTL: For issues in the RTL (e.g. for files in the rtl directory)

Steps to Reproduce

  1. RTL hash 5a0df34
  2. Running formal verification, the assertion "a_set_clear_pmp_addr_q" within cv32e40s_cs_registers_sva.sv should fail.

When granularity >=1 and the mode is either OFF or TOR, the read data resolution will tie off the least significant implemented (flipflop) bit to 0. This may propagate back through the RMW operation and inadvertently clear the flipflop when it shouldn't.

@silabs-oysteink
Copy link
Contributor Author

This is actually in reality a duplicate of issue #302. Keeping it separate as it is very PMP specific. When fixed, both this issue and #302 may likely be closed.

silabs-oivind added a commit to silabs-oivind/cv32e40s that referenced this issue Mar 24, 2023
Signed-off-by: Oivind Ekelund <oivind.ekelund@silabs.com>
Silabs-ArjanB added a commit that referenced this issue Apr 12, 2023
@Silabs-ArjanB Silabs-ArjanB added the Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation label Apr 12, 2023
@Silabs-ArjanB
Copy link
Contributor

@silabs-oysteink Can this issue and #302 both be (fully) closed now?

@silabs-oysteink
Copy link
Contributor Author

Yes, I will close them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation
Projects
None yet
Development

No branches or pull requests

3 participants