-
Notifications
You must be signed in to change notification settings - Fork 779
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
[rv_dm] Return a TL-UL error on writes to ROM region #15166
Conversation
See lowRISC#14200, lowRISC#14653 and lowRISC#14921 for context. Signed-off-by: Michael Schaffner <[email protected]>
Looks like I got ahead of myself with this one. This cannot be fixed in this way, because the RV_DM debug memory has both RO and RW regions. These regions are implemented inside the vendored-in RV_DM code, and hence this is not accurately captured in @sriyerg has added support for the custom CSR node manually in the block-level DV environment by adding opentitan/hw/ip/rv_dm/dv/env/rv_dm_env_cfg.sv Lines 74 to 99 in 97d123b
I will open another PR once this is working. |
Update: it looks like the exceptions are fully defined for the opentitan/hw/top_earlgrey/dv/env/chip_env_cfg.sv Lines 224 to 234 in 97d123b
That probably means that we need to add an exclusion tag to the ROM window stub which overlaps with the opentitan/hw/ip/rv_dm/data/rv_dm.hjson Lines 105 to 114 in 97d123b
|
This fixes multiple TL-UL errors that we are currently seeing at the chip-level: #14200, #14653 and #14921. I am currently running the seeds mentioned on these issues to double check whether they can be closed.
Signed-off-by: Michael Schaffner [email protected]