From 71b4d95a9db46d7a74c2e32114214268049fa11f Mon Sep 17 00:00:00 2001 From: morgan Date: Tue, 24 Sep 2024 13:44:12 +0800 Subject: [PATCH] pipeline GW: fix test packet length --- src/gateware/cxp_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateware/cxp_pipeline.py b/src/gateware/cxp_pipeline.py index 70b0b33..4507c14 100644 --- a/src/gateware/cxp_pipeline.py +++ b/src/gateware/cxp_pipeline.py @@ -305,7 +305,7 @@ class TX_Test_Packet(Module, AutoCSR): # TODO: figure out why only 16 times doesn't work on the decoder - self.submodules.test_pattern_src = test_pattern_src = Code_Source(upconn_layout, [*range(0x100)]*1, [0]*0x100*1) + self.submodules.test_pattern_src = test_pattern_src = Code_Source(upconn_layout, [*range(0x100)]*16, [0]*0x100*16) self.submodules.pak_type_inserter = pak_type_inserter = Code_Inserter(upconn_layout, [0x04]*4, [0]*4) self.submodules.pak_wrp = pak_wrp = Packet_Wrapper(upconn_layout) self.comb += [