tilelink2 Fragmenter: bugfix using D.hasData
This commit is contained in:
parent
82681179cb
commit
c57b52ec86
@ -163,7 +163,7 @@ class TLFragmenter(minSize: Int, maxSize: Int, alwaysMin: Boolean = false) exten
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Swallow up non-data ack fragments
|
// Swallow up non-data ack fragments
|
||||||
val drop = (out.d.bits.opcode === TLMessages.AccessAck) && (dFragnum =/= UInt(0))
|
val drop = !dHasData && (dFragnum =/= UInt(0))
|
||||||
out.d.ready := in.d.ready || drop
|
out.d.ready := in.d.ready || drop
|
||||||
in.d.valid := out.d.valid && !drop
|
in.d.valid := out.d.valid && !drop
|
||||||
in.d.bits := out.d.bits // pass most stuff unchanged
|
in.d.bits := out.d.bits // pass most stuff unchanged
|
||||||
|
Loading…
Reference in New Issue
Block a user