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

[rtl] Change how we record debug causes #158

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

Conversation

davideschiavone
Copy link

No description provided.

@davideschiavone davideschiavone changed the title Patch low risc 5 [rtl] Change how we record debug causes Sep 26, 2023
// The decision to enter debug_mode and the write of the cause to DCSR happen
// in seperate steps within the FSM. Hence, there are a small number of cycles
// where a change in external stimulus can cause the cause to be recorded incorrectly.
assign debug_cause_d = trigger_match_i ? DBG_CAUSE_TRIGGER :

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this a bigger change than the title states? Seems to also change the priority of debug causes

Copy link
Author

@davideschiavone davideschiavone Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true but I copied the commit they used - feel free to suggest a new name

@davideschiavone
Copy link
Author

@christian-herber-nxp , what is the status of this PR?

@christian-herber-nxp
Copy link

i did not yet have the chance to review how this maps to the debug spec as this is a functional change

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.

4 participants