Skip to content

Commit

Permalink
fix(Rab): no need to limit diff commit valid only assert in commit st…
Browse files Browse the repository at this point in the history
…ate (#3760)
  • Loading branch information
huxuan0307 authored Oct 19, 2024
1 parent fe52823 commit 8ab9d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/xiangshan/backend/rob/Rab.scala
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ class RenameBuffer(size: Int)(implicit p: Parameters) extends XSModule with HasC

// for difftest
io.diffCommits.foreach(_ := 0.U.asTypeOf(new DiffCommitIO))
io.diffCommits.foreach(_.isCommit := state === s_idle || state === s_special_walk)
io.diffCommits.foreach(_.isCommit := true.B)
for(i <- 0 until RabCommitWidth * MaxUopSize) {
io.diffCommits.foreach(_.commitValid(i) := (state === s_idle || state === s_special_walk) && i.U < newCommitSize)
io.diffCommits.foreach(_.commitValid(i) := i.U < newCommitSize)
io.diffCommits.foreach(_.info(i) := renameBufferEntries((diffPtr + i.U).value).info)
}

Expand Down

0 comments on commit 8ab9d9d

Please sign in to comment.