Skip to content

Commit

Permalink
Fix TimestampedMessage while we're at it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccromjongh committed Mar 20, 2024
1 parent c5a854d commit b073328
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ class TimestampedMessageModuleOut extends TydiModule {
// We have 1 lane in this case

// Top stream
stream.valid := true.B
stream.strb := 1.U
stream.stai := 0.U
stream.endi := 1.U
stream.last := 0.U
stream.valid := true.B
stream.strb := 1.U
stream.stai := 0.U
stream.endi := 1.U
stream.last(0) := 0.U

// Child stream
stream.el.message.valid := true.B
stream.el.message.strb := 1.U
stream.el.message.stai := 0.U
stream.el.message.endi := 1.U
stream.el.message.last := 0.U
stream.el.message.last.foreach(_ := 0.U)
}

class TimestampedMessageModuleIn extends TydiModule {
Expand Down

0 comments on commit b073328

Please sign in to comment.