-
Notifications
You must be signed in to change notification settings - Fork 43
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
Raising an error for unauthorized read or write #76
Comments
Currently not supported, but it is something I was considering adding eventually. There would be some limitations with this - like only issuing an error if a write occurred on a register that contains only read-only fields, and vice-versa. SystemRDL lets you define registers that have mixed-type fields so it would not be possible to assert this error on a per-field basis. |
Will you kindly share the list of condition on which this error may get asserted so that in case some one try to implement this at there end it would be easy for them.If i am not the AMBA APB specs says this error assertion is not necessary as per specs,"Completers are not required to support PSLVERR. Where a Completer does not include PSLVERR, the appropriate input to the Requester is tied LOW."And you are doing the same thing by assigning it to zero. |
Yes currently it is tied to a constant zero. |
Any idea about the list of conditions on which this error may get asserted.? |
AMBA does not specify this. It is up to the implementation of a register file device to decide. |
Got it. |
Is it possible to add an indication for unauthorized read/write (or maybe it already exists and I missed it...)
For example, let's say that a field/reg is defined as sw=w, but the SW is trying to read this field/reg, we would like to see an indication/error assertion for it (and the other way around with sw=r when it tries to write).
is it supported? Is there a way to add this?
The text was updated successfully, but these errors were encountered: