-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Component:RTLFor issues in the RTL (e.g. for files in the rtl directory)For issues in the RTL (e.g. for files in the rtl directory)Type:BugFor bugs in any content (RTL, Documentation, etc.)For bugs in any content (RTL, Documentation, etc.)
Description
For LR, SC and AMOs the CV32E40X currently generates address-misaligned exceptions in case of usage of non naturally aligned addresses. These exceptions should be changed into access fault exceptions instead.
The following changes are required:
- Usage of "exception code 4 Load address misaligned" needs to be changed to "exception code 5 Load access fault"
- Usage of "exception code 6 Store/AMO address misaligned" needs to be changed to "exception code 7 Store/AMO access fault"
- etrigger shall no longer support matching for exception codes 4 and 6 (bit 4 and 6 of tdta2 when tdata1.TYPE = 0x5 become WARL 0x0)
- RVFI formats need to be updated (cause_type will change for all access faults reasons)
- https://docs.openhwgroup.org/projects/cv32e40x-user-manual/en/latest/exceptions_interrupts.html#exceptions needs to be updated
- https://docs.openhwgroup.org/projects/cv32e40x-user-manual/en/latest/control_status_registers.html#trigger-data-register-2-tdata2-view-when-tdata1-type-is-0x5 needs to be updated
- table 26 of https://docs.openhwgroup.org/projects/cv32e40x-user-manual/en/latest/rvfi.html# needs to be updated
Metadata
Metadata
Assignees
Labels
Component:RTLFor issues in the RTL (e.g. for files in the rtl directory)For issues in the RTL (e.g. for files in the rtl directory)Type:BugFor bugs in any content (RTL, Documentation, etc.)For bugs in any content (RTL, Documentation, etc.)