Skip to content
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

Сpuif error response, when the address is decoded incorrectly #107

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

3FoH9l
Copy link

@3FoH9l 3FoH9l commented Apr 28, 2024

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 3FoH9l changed the title d.trifonov/cpuif err Сpuif error response, when the address is decoded incorrectly Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant