Skip to content

Commit

Permalink
mdp: update validVec only when StoreSetHit
Browse files Browse the repository at this point in the history
  • Loading branch information
poemonsense committed Sep 2, 2022
1 parent 350b5a9 commit 74c6c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/mem/mdp/StoreSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class LFST(implicit p: Parameters) extends XSModule {
(0 until exuParameters.StuCnt).map(i => {
// TODO: opt timing
(0 until LFSTWidth).map(j => {
when(io.storeIssue(i).valid && io.storeIssue(i).bits.uop.robIdx.value === robIdxVec(io.storeIssue(i).bits.uop.cf.ssid)(j).value){
when(io.storeIssue(i).valid && io.storeIssue(i).bits.uop.cf.storeSetHit && io.storeIssue(i).bits.uop.robIdx.value === robIdxVec(io.storeIssue(i).bits.uop.cf.ssid)(j).value){
validVec(io.storeIssue(i).bits.uop.cf.ssid)(j) := false.B
}
})
Expand Down

0 comments on commit 74c6c8d

Please sign in to comment.