timing(RequestBuffer, MMIOBridge): optimize timing#486
Open
timing(RequestBuffer, MMIOBridge): optimize timing#486
Conversation
In the original design, when `io.out` and a buffer entry have the same set, backpressure will be applied to issueArb, preventing that buffer entry from participating in issueArb arbitration. However, at the same time, when the buffer updates its `rdy` logic, if that buffer entry and `io.out` shares the same set, the `rdy` bit will be pulled low. As a result, even if that entry participates in issueArb arbitration and is successfully selected, it could not be dequeued from chosenQ and will instead be canceled. This commit removes the backpressure logic on issueArb to improve timing.
`aMergeTask` (i.e., when a demand access arrives at L2 and a prefetch with the same address is being processed) can only merge the demand access if the prefetch has not yet performed refill. A special case occurs when a prefetch merges a demand access at the exact cycle it already receives Grant and is about to issue a refill request. This causes the signals in the refill request to depend on the outcome of mergeA logics. This commit tightens the condition for mergeA, allowing it only when refill request has not yet been issued, thereby breaking the combinational logic chain to improve timing. It should be noted that this modification may have a slight impact on performance in some corner cases.
41d1097 to
f2830c3
Compare
Kumonda221-CrO3
approved these changes
Apr 9, 2026
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.