Skip to content

Commit

Permalink
backend, freelist: shrink verilog size by using scala variable
Browse files Browse the repository at this point in the history
instead of chisel var in MEFreeList.scala
  • Loading branch information
YikeZhou committed Sep 22, 2021
1 parent 802dc34 commit c63125b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class MEFreeList(implicit val p: config.Parameters) extends MultiIOModule with M
when (ready && preg.U === multiRefPhyReg(idx)) {
updateArchRefCounter(preg) := true.B
// arch ref counter of pdest
archRefCounterNext(multiRefPhyReg(idx)) := archRefCounter(multiRefPhyReg(idx)) + 1.U + pdests_times(idx)
archRefCounterNext(preg) := archRefCounter(preg) + 1.U + pdests_times(idx)
}
}
}
Expand Down

0 comments on commit c63125b

Please sign in to comment.