Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] [CV32A65X] Writes into PMPADDR registers do not follow specification #2657

Open
1 task done
zchamski opened this issue Dec 9, 2024 · 2 comments
Open
1 task done
Assignees
Labels
notCV32A65X It is not an CV32A65X issue Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@zchamski
Copy link
Contributor

zchamski commented Dec 9, 2024

Is there an existing CVA6 bug for this?

  • I have searched the existing bug issues

Bug Description

Since the CV32A65X specification has been updated to make bit 0 of pmpaddrN registers read-only zero (see #2651), the implementation of pmpaddrN CSR writes is not in line with the spec. The incriminated code is https://github.com/openhwgroup/cva6/blob/master/core/csr_regfile.sv#L1710C1-L1713C71.

@zchamski zchamski added the Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system label Dec 9, 2024
JeanRochCoulon added a commit that referenced this issue Dec 9, 2024
set bit0 of PMPADDR as read only zero
@JeanRochCoulon
Copy link
Contributor

Fixed by #2658

This was referenced Dec 18, 2024
@JeanRochCoulon JeanRochCoulon added the CV32A65X Part: Embedded configuration label Jan 2, 2025
ASintzoff pushed a commit that referenced this issue Jan 7, 2025
* Fix #2400: define new PmpNapotEn parameter to disable NAPOT

* Fix #2665 by removing NA4 related RTL lines

* Fix Spyglass

* Fix gate count
@JeanRochCoulon
Copy link
Contributor

JeanRochCoulon commented Jan 7, 2025

This GitHub issue has not been fixed by #2685. As 60x and 65x will not supported PMP, I removed the CV32A65X label.

@JeanRochCoulon JeanRochCoulon added notCV32A65X It is not an CV32A65X issue and removed CV32A65X Part: Embedded configuration labels Jan 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
notCV32A65X It is not an CV32A65X issue Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants