Skip to content

Commit 98219ff

Browse files
committed
tlp/depacketizer: Expose fmt_type to ease debug.
1 parent a674e38 commit 98219ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litepcie/tlp/depacketizer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def dispatch_source_sel(name):
371371
)
372372

373373
# Create fmt_type for destination decoding.
374-
fmt_type = Cat(dispatch_sink.type, dispatch_sink.fmt)
374+
self.fmt_type = fmt_type = Cat(dispatch_sink.type, dispatch_sink.fmt)
375375

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

0 commit comments

Comments
 (0)