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

timing(StoreUnit, StoreMisalignBuffer): adjust misalign store enq logic #4212

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

Conversation

cz4e
Copy link
Contributor

@cz4e cz4e commented Jan 21, 2025

  • The timing of the result returned by PMA about mmio is too bad to be used as a hit signal for feedback to the backend

@cz4e cz4e added the timing Fix bad timing label Jan 21, 2025
@@ -465,9 +465,10 @@ class StoreUnit(implicit p: Parameters) extends XSModule

val s2_mis_align = s2_valid && RegEnable(s1_mis_align, s1_fire) && !s2_exception
// goto misalignBuffer
val toMisalignBufferValid = s2_mis_align && !s2_frm_mabuf
val toMisalignBufferValid = RegEnable(s1_valid && s1_mis_align && !s1_frm_mabuf, false.B, s1_fire)
Copy link
Member

Choose a reason for hiding this comment

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

It doesn't seem equivalent to the previous logic.

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

Successfully merging this pull request may close these issues.

2 participants