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

[BUSKEEPER] add memory-mapped status register #191

Merged
merged 8 commits into from
Oct 30, 2021
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Oct 29, 2021

This PR add a read-only memory-mapped status register to the BUSKEEPER module. The status register gives additional information regarding the actual cause of an instruction / data-load / data-store bus access fault exception:

  • BUSKEEPER_ERR_TYPE = 0: error caused by device itself (by asserting the err_o signal)
  • BUSKEEPER_ERR_TYPE = 1: error caused by bus timeout (accessed device is not responding at all)
  • BUSKEEPER_ERR_SRC = 0: error caused during access to processor-internal module
  • BUSKEEPER_ERR_SRC = 1: error caused during access via processor-external bus interface

✔️ This PR is fully backwards compatible - the memory-mapped BUSKEEPER register uses a previously unused IO space address (0xffffff7C).

@stnolting stnolting added enhancement New feature or request HW hardware-related SW software-related labels Oct 29, 2021
@stnolting stnolting self-assigned this Oct 29, 2021
@stnolting stnolting marked this pull request as ready for review October 29, 2021 23:17
@stnolting stnolting merged commit 9669796 into master Oct 30, 2021
@stnolting stnolting deleted the bus_keeper_update branch October 30, 2021 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW hardware-related SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant