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

Expand TracedInstruction.cause to xLen #2548

Merged
merged 1 commit into from
Jul 4, 2020
Merged

Conversation

ernie-sifive
Copy link
Contributor

Type of change: bug report

Impact: API addition (no impact on existing code)

Development Phase: implementation

Release Notes

Some derivatives of rocket-chip need more than 8 bits to properly reflect the interrupt cause in the TracedInstruction trace output. This PR expands TracedInstruction.cause to xLen, the same width as the mcause/scause register. Many bits will be driven with constant 0 and can be ignored.

@ernie-sifive ernie-sifive requested a review from aswaterman July 3, 2020 20:41
@ernie-sifive ernie-sifive merged commit 3f03ba8 into master Jul 4, 2020
@ernie-sifive ernie-sifive deleted the trace-cause-width branch July 4, 2020 13:00
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