Skip to content

Commit

Permalink
tlp/depacketizer: Expose fmt_type to ease debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jul 11, 2024
1 parent a674e38 commit 98219ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litepcie/tlp/depacketizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def dispatch_source_sel(name):
)

# Create fmt_type for destination decoding.
fmt_type = Cat(dispatch_sink.type, dispatch_sink.fmt)
self.fmt_type = fmt_type = Cat(dispatch_sink.type, dispatch_sink.fmt)

# Set default Dispatcher select to DISCARD Sink.
self.comb += self.dispatcher.sel.eq(dispatch_source_sel("DISCARD"))
Expand Down

0 comments on commit 98219ff

Please sign in to comment.