Skip to content

Commit

Permalink
ICache: fix ReplacePipe comb loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyue110 committed Nov 9, 2022
1 parent 4a74a72 commit 6ecd5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/xiangshan/frontend/icache/ReplacePipe.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class ICacheReplacePipe(implicit p: Parameters) extends ICacheModule{
******************************************************************************
*/

val r0_valid = io.pipe_req.valid
val r0_valid = generatePipeControl(lastFire = io.pipe_req.fire(), thisFire = r0_fire, thisFlush = false.B, lastFlush = false.B)

val r0_req = io.pipe_req.bits
val r0_req = RegEnable(io.pipe_req.bits, enable = io.pipe_req.fire())
val r0_req_vidx = r0_req.vidx

r0_fire := io.pipe_req.fire()
Expand Down

0 comments on commit 6ecd5de

Please sign in to comment.