Skip to content

Commit

Permalink
Fix Fragmenter with user fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Aug 21, 2023
1 parent d71cfe4 commit c563f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/tilelink/Fragmenter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class TLFragmenter(val minSize: Int, val maxSize: Int, val alwaysMin: Boolean =
val fullMask = ((BigInt(1) << beatBytes) - 1).U
assert (!repeater.io.full || in_a.bits.mask === fullMask)
out.a.bits.mask := Mux(repeater.io.full, fullMask, in.a.bits.mask)
out.a.bits.user :<= in.a.bits.user.subset(_.isData)
out.a.bits.user.waiveAll :<= in.a.bits.user.subset(_.isData)

// Tie off unused channels
in.b.valid := false.B
Expand Down

0 comments on commit c563f74

Please sign in to comment.