Skip to content

Commit

Permalink
timing(BusyTable, RegCacheTagModule): loadDependency do not need clea…
Browse files Browse the repository at this point in the history
…r by cancel
  • Loading branch information
sinsanction authored and Tang-Haojin committed Oct 25, 2024
1 parent e311c27 commit 67af58f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class RegCacheTagModule
}
.elsewhen (io.cancelVec(i)) {
v(i) := false.B
loadDependency(i) := 0.U.asTypeOf(loadDependency(i))
}
.elsewhen (loadDependency(i).map(x => x.orR).reduce(_ || _)) {
loadDependency(i) := loadDependency(i).map(l => l << 1)
Expand Down
3 changes: 0 additions & 3 deletions src/main/scala/xiangshan/backend/rename/BusyTable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ class BusyTable(numReadPorts: Int, numWritePorts: Int, numPhyPregs: Int, pregWB:
when(wakeUpMask(idx)) {
ldDp := (if (wakeUpIn.nonEmpty) Mux1H(wakeupOHVec(idx), shiftLoadDependency) else 0.U.asTypeOf(ldDp))
}
.elsewhen(allocMask(idx) || wbMask(idx) || ldCancelMask(idx)) {
ldDp := 0.U.asTypeOf(ldDp)
}
.elsewhen(ldDp.map(x => x.orR).reduce(_ | _)) {
ldDp := VecInit(ldDp.map(x => x << 1))
}
Expand Down

0 comments on commit 67af58f

Please sign in to comment.