ATaylorCEngFIET / Kira_PCAM

KRIA and PCAM baremetal
8 stars 3 forks source link

error for AXI4-Stream Subset Converter IP when building bd #1

Closed m-tosch closed 3 years ago

m-tosch commented 3 years ago

Trying to re-generate the block design in Vivado 2021.1 from the bd.tcl gives the error below.

ERROR: [IP_Flow 19-3478] Validation failed for parameter 'TUSER Remap String(TUSER_REMAP)' with value 'tuser[0:0]' for BD Cell 'axis_subset_converter_0'. tuser remap string must be constant if SI or MI tuser width is 0
ERROR: [IP_Flow 19-3478] Validation failed for parameter 'TKEEP Remap String(TKEEP_REMAP)' with value 'tkeep[2:0]' for BD Cell 'axis_subset_converter_0'. tkeep remap string must be 1'b0 if MI tkeep width is 0
ERROR: [IP_Flow 19-3478] Validation failed for parameter 'TLAST Remap String(TLAST_REMAP)' with value 'tlast[0]' for BD Cell 'axis_subset_converter_0'. tlast remap string must be 1'b0 if MI tlast width is 0
INFO: [IP_Flow 19-3438] Customization errors found on 'axis_subset_converter_0'. Restoring to previous valid configuration.
INFO: [Common 17-17] undo 'set_property'
ERROR: [Common 17-39] 'set_property' failed due to earlier errors.

    while executing
"rdi::add_properties -dict {CONFIG.M_TDATA_NUM_BYTES 3 CONFIG.S_TDATA_NUM_BYTES 3 CONFIG.TDATA_REMAP {tdata[15:8],tdata[23:16],tdata[7:0]} CONFIG.TKEEP..."
    invoked from within
"set_property -dict [ list  CONFIG.M_TDATA_NUM_BYTES {3}  CONFIG.S_TDATA_NUM_BYTES {3}  CONFIG.TDATA_REMAP {tdata[15:8],tdata[23:16],tdata[7:0]}  CONFI..."
    (procedure "create_root_design" line 53)
    invoked from within
"create_root_design """
    (file "bd.tcl" line 1164)
update_compile_order -fileset sources_1

Apparently it is a known issue. See https://www.xilinx.com/support/answers/71497.html

Since the workaround is to "validate the original design and then set the S/M_TDATA_NUM_BYTES parameters from automatic to manual mode in the IP's customization GUI" could you please update and upload the bd.tcl file?

ATaylorCEngFIET commented 3 years ago

Sorry about that, I just corrected the BD and tried it in a new project - it all looks good. new BD.tcl has been uploaded to the git. let me know it works for you and I will close the issue

m-tosch commented 3 years ago

Thank you very much for the quick reply! Newest commit fixed the issue indeed. I can build the BD in 2021.1 now.