PeakRDL-regblock icon indicating copy to clipboard operation
PeakRDL-regblock copied to clipboard

Сpuif error response, when the address is decoded incorrectly

Open 3FoH9l opened this issue 9 months ago • 0 comments

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.

3FoH9l avatar Apr 28 '24 11:04 3FoH9l