From 3beb450e2ab29e6021f4091fd1a3cc6522f994c4 Mon Sep 17 00:00:00 2001 From: Andrew Moch Date: Wed, 29 Jul 2020 17:59:25 +0100 Subject: fpga: lib: Fix chdr_mgmt_pkt_handler when CHDR_W != 64 --- fpga/usrp3/lib/rfnoc/core/chdr_mgmt_pkt_handler.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpga') diff --git a/fpga/usrp3/lib/rfnoc/core/chdr_mgmt_pkt_handler.v b/fpga/usrp3/lib/rfnoc/core/chdr_mgmt_pkt_handler.v index f9c56a6e1..42b851f1a 100644 --- a/fpga/usrp3/lib/rfnoc/core/chdr_mgmt_pkt_handler.v +++ b/fpga/usrp3/lib/rfnoc/core/chdr_mgmt_pkt_handler.v @@ -181,7 +181,7 @@ module chdr_mgmt_pkt_handler #( generate if (CHDR_W > 64) - assign m_mgmt_tdata[CHDR_W-1:CHDR_W-64] = 'h0; + assign m_mgmt_tdata[CHDR_W-1:64] = 'h0; endgenerate // --------------------------------------------------- -- cgit v1.2.3