PeakRDL-regblock
PeakRDL-regblock copied to clipboard
Сpuif error response, when the address is decoded incorrectly
I propose a new feature: the ability to enable response with an error if the address was decoded incorrectly.
Sometimes it is necessary to describe a register map so that there is empty space between addresses. For example, when IP has different configurations and one of the registers is not used in all. Typically we use "is_present" in this case. The programmer will access a non-existent address and expect some kind of response. But the transaction will complete normally. This may lengthen the time it takes to detect a software bug.
My proposal should speed up the process of debugging such cases. Our team always uses this approach, having learned it from the Big Three vendors. Typically their IPs follow this rule.