aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/rfnoc/crossbar
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-08-24 21:29:28 -0500
committerWade Fife <wade.fife@ettus.com>2020-08-28 15:02:41 -0500
commit00f683c91486647f1711eb4c0b0a917078d29652 (patch)
treee8a67a76d93acedf531a8268aa480941b63e290a /fpga/usrp3/lib/rfnoc/crossbar
parentc68977cffadf47d072e1c90903d5aee9a39541f9 (diff)
downloaduhd-00f683c91486647f1711eb4c0b0a917078d29652.tar.gz
uhd-00f683c91486647f1711eb4c0b0a917078d29652.tar.bz2
uhd-00f683c91486647f1711eb4c0b0a917078d29652.zip
fpga: lib: Fix lint warnings
Fixes various synthesis/simulation warnings that were being generated due to incorrectly sized constants.
Diffstat (limited to 'fpga/usrp3/lib/rfnoc/crossbar')
-rw-r--r--fpga/usrp3/lib/rfnoc/crossbar/chdr_crossbar_nxn.v2
-rw-r--r--fpga/usrp3/lib/rfnoc/crossbar/chdr_xb_routing_table.v2
2 files changed, 2 insertions, 2 deletions
diff --git a/fpga/usrp3/lib/rfnoc/crossbar/chdr_crossbar_nxn.v b/fpga/usrp3/lib/rfnoc/crossbar/chdr_crossbar_nxn.v
index edf182e31..79bb40e59 100644
--- a/fpga/usrp3/lib/rfnoc/crossbar/chdr_crossbar_nxn.v
+++ b/fpga/usrp3/lib/rfnoc/crossbar/chdr_crossbar_nxn.v
@@ -187,7 +187,7 @@ module chdr_crossbar_nxn #(
.s_axis_chdr_tlast (s_axis_tlast [n] ),
.s_axis_chdr_tvalid (s_axis_tvalid[n] ),
.s_axis_chdr_tready (s_axis_tready[n] ),
- .s_axis_chdr_tuser ('d0 ),
+ .s_axis_chdr_tuser (1'd0 ),
.m_axis_chdr_tdata (i_tdata [n] ),
.m_axis_chdr_tdest (i_tdest [n] ),
.m_axis_chdr_tid (i_tid [n] ),
diff --git a/fpga/usrp3/lib/rfnoc/crossbar/chdr_xb_routing_table.v b/fpga/usrp3/lib/rfnoc/crossbar/chdr_xb_routing_table.v
index f445efc68..86bbf6beb 100644
--- a/fpga/usrp3/lib/rfnoc/crossbar/chdr_xb_routing_table.v
+++ b/fpga/usrp3/lib/rfnoc/crossbar/chdr_xb_routing_table.v
@@ -112,7 +112,7 @@ module chdr_xb_routing_table #(
.PRE_FIFO_SIZE(0), .POST_FIFO_SIZE(1)
) rtcfg_mux_i (
.clk(clk), .reset(reset), .clear(1'b0),
- .i_tdata(cfg_tdata), .i_tlast({(NPORTS_W + 16){1'b1}}),
+ .i_tdata(cfg_tdata), .i_tlast({CFG_PORTS{1'b1}}),
.i_tvalid(cfg_tvalid), .i_tready(cfg_tready),
.o_tdata({insert_tdata, insert_tdest}), .o_tlast(),
.o_tvalid(insert_tvalid), .o_tready(insert_tready)