Open stridge-cruxml opened 2 years ago
It's a very good proposal! However, from my experience and feedback I've earned - always ok is used in 99% of subordinate devices. It's very easy and cheap in terms of area/performance/power and very little requesters can handle those error responses.
So, I don't see any support of this in near future (at least by me). Sorry =(
all good. I might have a go at some point. But it sounds like you desire this feature to be optional? Add a parameter to verilog generation class with something like enable_axi_response
?
+1 I think verilog parameter or define is reasonable solution for it.
While I am not expecting this issue would be resolved soon-ish, while digging templates I found a possible workaround. This feature is not well-documented, but for Verilog and VHDL generators you can define read_filler
in the config file. Setting it to some meaningful value like 0xDEADC0DE
will give you the opportunity to debug if you are trying to read a bad address.
It's been a while...
I plan to add some knobs to HDL generator classes to enable error propagation.
This is not the nearest future, but is going to be done eventually.
Instead of always returning ok, if trying to write to a read only address, or read a write only, or have a bad address return an error instead.