From 933fc9b0f6ce6e1aeabbeddf7ac07c1c41b1320a Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 20 Sep 2024 15:17:01 +0800 Subject: [PATCH] cxp GW: rename csr --- src/gateware/cxp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gateware/cxp.py b/src/gateware/cxp.py index 7c81049..fab5c4c 100644 --- a/src/gateware/cxp.py +++ b/src/gateware/cxp.py @@ -53,10 +53,10 @@ class DownConn_Interface(Module, AutoCSR): self.packet_type = CSRStatus(8) - self.decode_error = CSRStatus() + self.decoder_error = CSRStatus() self.comb += [ - self.packet_type.status.eq(recv_path.packet_decoder.packet_type), - self.decode_error.status.eq(recv_path.packet_decoder.decode_err), + self.packet_type.status.eq(recv_path.packet_type), + self.decoder_error.status.eq(recv_path.decoder_err), ] # DEBUG: CSR