Skip to content

Commit

Permalink
LinkLayer: ignore flitpend to fix synchronize issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yulightenyu authored and linjuanZ committed Aug 26, 2024
1 parent 6035dab commit 7770ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/coupledL2/tl2chi/chi/LinkLayer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class LCredit2Decoupled[T <: Bundle](
val lcreditOut = (lcreditPool > queue.io.count) && enableLCredit

val ready = lcreditInflight =/= 0.U
val accept = ready && io.in.flitv && RegNext(io.in.flitpend)
val accept = ready && io.in.flitv //&& RegNext(io.in.flitpend) -> TODO flitpend for LowPower

when (lcreditOut) {
when (!accept) {
Expand Down Expand Up @@ -312,4 +312,4 @@ class LinkMonitor(implicit p: Parameters) extends L2Module with HasCHIMsgParamet
out.bits.elements.filter(_._1 == "srcID").head._2 := srcID
out
}
}
}

0 comments on commit 7770ae2

Please sign in to comment.