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

[TB] poll debug module's SBCS register and clear errors in status reg check #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

da-gazzi
Copy link
Contributor

This fixes a potential bug:
TCDM reads issued by the debug module may take so long to get filled that the JTAG request to read out the result of the memory read comes too early. In this case, the debug module sets an internal error flag which prevents it from issuing any more TCDM transactions. By periodically clearing this error flag in the testbench while checking the core status register, we make sure that tests terminate correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants