From 98219ffe781b716d5c8497ca44e324e5d2be6ecc Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 11 Jul 2024 14:41:23 +0200 Subject: [PATCH] tlp/depacketizer: Expose fmt_type to ease debug. --- litepcie/tlp/depacketizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litepcie/tlp/depacketizer.py b/litepcie/tlp/depacketizer.py index 2450fa8..fe3bb55 100644 --- a/litepcie/tlp/depacketizer.py +++ b/litepcie/tlp/depacketizer.py @@ -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"))