fpga: lib: Fix Vivado warnings
Original-commit: ad3d614426e068a067692df411412ce3ed936c39
This commit is contained in:
@@ -341,7 +341,7 @@ module chdr_crossbar_nxn #(
|
||||
.s_axis_chdr_tvalid (s_axis_tvalid[n] ),
|
||||
.s_axis_chdr_tready (s_axis_tready[n] ),
|
||||
.s_axis_chdr_tuser (1'd0 ),
|
||||
.m_axis_chdr_tdata (i_tdata [n] ),
|
||||
.m_axis_chdr_tdata (i_tdata [n][CHDR_W(n)-1:0] ),
|
||||
.m_axis_chdr_tdest (i_tdest [n] ),
|
||||
.m_axis_chdr_tid (i_tid [n] ),
|
||||
.m_axis_chdr_tlast (i_tlast [n] ),
|
||||
@@ -386,13 +386,13 @@ module chdr_crossbar_nxn #(
|
||||
) chdr_xb_ingress_buff_i (
|
||||
.clk (clk ),
|
||||
.reset (reset ),
|
||||
.s_axis_chdr_tdata (i_tdata [n] ),
|
||||
.s_axis_chdr_tdata (i_tdata [n][CHDR_W(n)-1:0] ),
|
||||
.s_axis_chdr_tdest (i_tdest [n][NPORTS_W-1:0] ),
|
||||
.s_axis_chdr_tid (i_tid [n] ),
|
||||
.s_axis_chdr_tlast (i_tlast [n] ),
|
||||
.s_axis_chdr_tvalid (i_tvalid [n] ),
|
||||
.s_axis_chdr_tready (i_tready [n] ),
|
||||
.m_axis_chdr_tdata (buf_tdata [n] ),
|
||||
.m_axis_chdr_tdata (buf_tdata [n][CHDR_W(n)-1:0] ),
|
||||
.m_axis_chdr_tdest (buf_tdest_tmp[n] ),
|
||||
.m_axis_chdr_tkeep (buf_tkeep [n] ),
|
||||
.m_axis_chdr_tlast (buf_tlast [n] ),
|
||||
|
||||
@@ -106,7 +106,7 @@ def gen_vheader(dimsize, mapgen, pattern, filename):
|
||||
vhfile.write('//\n')
|
||||
vhfile.write('// Autogenerated file. Do not modify.\n')
|
||||
vhfile.write('// $ %s\n'%(' '.join(sys.argv[:])))
|
||||
vhfile.write('\nparameter CLOG2_DIM_SIZE = $clog2(DIM_SIZE); //Vivado workaround\n\n')
|
||||
vhfile.write('\nlocalparam CLOG2_DIM_SIZE = $clog2(DIM_SIZE); //Vivado workaround\n\n')
|
||||
for i in range(2, dimsize+1):
|
||||
nodes = mapgen(i)
|
||||
N = math.sqrt(len(nodes))
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// Autogenerated file. Do not modify.
|
||||
// $ ./gen_node_to_coord_mapping.py --dimsize 16 --pattern spiral
|
||||
|
||||
parameter CLOG2_DIM_SIZE = $clog2(DIM_SIZE); //Vivado workaround
|
||||
localparam CLOG2_DIM_SIZE = $clog2(DIM_SIZE); //Vivado workaround
|
||||
|
||||
|
||||
// DIM_SIZE = 2, PATTERN = SPIRAL
|
||||
|
||||
Reference in New Issue
Block a user