fix(vstopi): fix the mapping of vsei index#6131
Open
sinceforYy wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts VS-level interrupt priority/index comparisons in InterruptFilter to use the SEI index when handling logic related to VS external interrupts (VSEI being encoded/mapped as SEI in this path).
Changes:
- Update the VS-level “VSEI priority index” lookup to use
SEI’s priority position. - Update
C4HighVSEI’s comparison threshold fromVSEItoSEIin the vstopi candidate selection logic.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
[Generated by IPC robot]
kunminghu-v2 branch:
|
a20fcbf to
c74baec
Compare
| private val meiPrioIdx = InterruptNO.getPrioIdxInGroup(_.interruptDefaultPrio)(_.MEI).U | ||
| private val seiPrioIdx = InterruptNO.getPrioIdxInGroup(_.interruptDefaultPrio)(_.SEI).U | ||
| private val vseiPrioIdx = InterruptNO.getPrioIdxInGroup(_.interruptDefaultPrio)(_.VSEI).U | ||
| private val vseiPrioIdx = InterruptNO.getPrioIdxInGroup(_.interruptDefaultPrio)(_.SEI).U |
| val C4HighVSEI = iidC4Idx < findIndex(InterruptNO.VSEI.U) | ||
| val SEIHighC4 = findIndex(InterruptNO.SEI.U) < iidC4Idx | ||
| val SEIIdx = findIndex(InterruptNO.SEI.U) | ||
| val C4HighVSEI = iidC4Idx < SEIIdx |
|
[Generated by IPC robot]
kunminghu-v2 branch:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.