I have built and run the PetaLinux demo for Zybo z7-20 using 2022.1 Xilinx tools on Ubuntu 22.04.2 without any problems, but have found it a bit more difficult to find and rebuild to the HW part of the project.
I have gotten tantalizingly close, but my remaining issues occur when trying to run the TCL script to recreate the project as described in "Vivado (HW) Projects" in the document "Digilent FPGA Demo Git Repositories". The issues are:
1. The example TCL command seems wrong: the "digilent_vivado_checkout.tcl" does not exist, so I have assumed that "checkout.tcl" is what was meant.
ERROR: [Board 49-71] The board_part definition was not found for digilentinc.com:zybo-z7-20:part0:1.1. The project's board_part property was not set, but the project's part property was set to xc7z020clg400-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
And no, I had not forgotten to install the part files. But I checked, and it seems the saved project expects an older version that is contained in the current vivado-boards-master.zip. I have digilentinc.com:zybo-z7-20:part0:1.2when the archived project expects digilentinc.com:zybo-z7-20:part0:1.1.
3. To progress I edited the version number in the relevant part file to say 1.1, and this allowed the restore and open to complete, but there were a number of "Critical Warnings" and other unsettling messages which make me concerned that the 1.2 part file might not be a satisfactory substitute.
So, assuming the changed name of the TCL script was just a documentation error/oversight, my question is:
Do I need a 1.1 version of the board support file, and if so, where can I find it. If not, are any of the warnings shown below cause for concern?
As it took quite a bit of time to work out how to get a buildable project, I will summarise the steps in a follow up message. There were many questions on the procedure in the forum, none of which had answers thich helped me to it to work properly. So it might help others. And it I have made any mistakes, I hope someone will point them out to me. That will also provide detailed information on which files I used.
The warnings and errors that I get when running the TCL script with the 1.2 part file are:
This allowed the project to be restored (Figure 21), but a few error diagnostics were produced which may have been the result of the mismatch:
INFO: [BD::TCL 103-2011] Checking if the following IPs exist in the project's IP catalog:
INFO: [digilentinc.com:ip:axi_dynclk:1.2-17] /axi_dynclk_0FREQ_HZ of 100000000 propagated into CONFIG.kRefClkFreqHz
CRITICAL WARNING: [BD 41-237] Bus Interface property TDATA_NUM_BYTES does not match between /v_frmbuf_wr_0/s_axis_video(3) and /axis_subset_converter_0/M_AXIS(2)
CRITICAL WARNING: [BD 41-237] Bus Interface property TDATA_NUM_BYTES does not match between /v_axi4s_vid_out_0/video_in(3) and /axis_subset_converter_out/M_AXIS(4)
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_arlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_arlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_awlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_awlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_rid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_rid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_bid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_bid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_AWID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_awid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_WID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_wid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_ARID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_arid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_frmbuf_wr_0/s_axis_video_TDATA'(24) to pin: '/axis_subset_converter_0/m_axis_tdata'(16) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_axi4s_vid_out_0/s_axis_video_tdata'(24) to pin: '/axis_subset_converter_out/m_axis_tdata'(32) - Only lower order bits will be connected.
VHDL Output written to : /home/digbyt/work/src/xilinx/2020/zybo/Zybo-Z7/hw/proj/hw.gen/sources_1/bd/system/synth/system.vhd
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_arlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_arlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_awlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_awlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_rid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_rid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_bid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_bid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_AWID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_awid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_WID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_wid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_ARID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_arid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_frmbuf_wr_0/s_axis_video_TDATA'(24) to pin: '/axis_subset_converter_0/m_axis_tdata'(16) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_axi4s_vid_out_0/s_axis_video_tdata'(24) to pin
Thanks,
Digby Tarvin.
Edited by DigbyT Reformatting to clarify the question
Question
DigbyT
I have built and run the PetaLinux demo for Zybo z7-20 using 2022.1 Xilinx tools on Ubuntu 22.04.2 without any problems, but have found it a bit more difficult to find and rebuild to the HW part of the project.
I have gotten tantalizingly close, but my remaining issues occur when trying to run the TCL script to recreate the project as described in "Vivado (HW) Projects" in the document "Digilent FPGA Demo Git Repositories". The issues are:
1. The example TCL command seems wrong: the "digilent_vivado_checkout.tcl" does not exist, so I have assumed that "checkout.tcl" is what was meant.
2. The TCL script failes with:
# set_project_properties_post_create_project $proj_name
ERROR: [Board 49-71] The board_part definition was not found for digilentinc.com:zybo-z7-20:part0:1.1. The project's board_part property was not set, but the project's part property was set to xc7z020clg400-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
And no, I had not forgotten to install the part files. But I checked, and it seems the saved project expects an older version that is contained in the current vivado-boards-master.zip. I have digilentinc.com:zybo-z7-20:part0:1.2 when the archived project expects digilentinc.com:zybo-z7-20:part0:1.1.
3. To progress I edited the version number in the relevant part file to say 1.1, and this allowed the restore and open to complete, but there were a number of "Critical Warnings" and other unsettling messages which make me concerned that the 1.2 part file might not be a satisfactory substitute.
So, assuming the changed name of the TCL script was just a documentation error/oversight, my question is:
Do I need a 1.1 version of the board support file, and if so, where can I find it. If not, are any of the warnings shown below cause for concern?
As it took quite a bit of time to work out how to get a buildable project, I will summarise the steps in a follow up message. There were many questions on the procedure in the forum, none of which had answers thich helped me to it to work properly. So it might help others. And it I have made any mistakes, I hope someone will point them out to me. That will also provide detailed information on which files I used.
The warnings and errors that I get when running the TCL script with the 1.2 part file are:
This allowed the project to be restored (Figure 21), but a few error diagnostics were produced which may have been the result of the mismatch:
INFO: [BD::TCL 103-2011] Checking if the following IPs exist in the project's IP catalog:
xilinx.com:ip:xlslice:* digilentinc.com:ip:axi_dynclk:* xilinx.com:ip:axi_gpio:* digilentinc.com:user:axi_i2s_adi:* xilinx.com:ip:axi_iic:* xilinx.com:ip:axi_vdma:* xilinx.com:ip:axis_subset_converter:* xilinx.com:ip:clk_wiz:* digilentinc.com:ip:dvi2rgb:* xilinx.com:ip:mipi_csi2_rx_subsystem:* xilinx.com:ip:proc_sys_reset:* xilinx.com:ip:processing_system7:* digilentinc.com:IP:PWM:* digilentinc.com:ip:rgb2dvi:* xilinx.com:ip:util_ds_buf:* xilinx.com:ip:v_axi4s_vid_out:* xilinx.com:ip:v_frmbuf_wr:* xilinx.com:ip:v_tc:* xilinx.com:ip:v_vid_in_axi4s:* xilinx.com:ip:xadc_wiz:* xilinx.com:ip:xlconcat:* xilinx.com:ip:xlconstant:* .
INFO: [Ipptcl 7-1463] No Compatible Board Interface found. Board Tab not created in customize GUI
INFO: [Ipptcl 7-1463] No Compatible Board Interface found. Board Tab not created in customize GUI
INFO: [Ipptcl 7-1463] No Compatible Board Interface found. Board Tab not created in customize GUI
INFO: [PS7-6] Configuring Board Preset part0. Please wait ......
CRITICAL WARNING: [PSU-1] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_0 has negative value -0.050 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-2] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_1 has negative value -0.044 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-3] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_2 has negative value -0.035 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-4] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_3 has negative value -0.100 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-1] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_0 has negative value -0.050 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-2] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_1 has negative value -0.044 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-3] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_2 has negative value -0.035 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-4] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_3 has negative value -0.100 . PS DDR interfaces might fail when entering negative DQS skew values.
INFO: [Ipptcl 7-1463] No Compatible Board Interface found. Board Tab not created in customize GUI
INFO: [Ipptcl 7-1463] No Compatible Board Interface found. Board Tab not created in customize GUI
INFO: [Device 21-403] Loading part xc7z020clg400-1
CRITICAL WARNING: [PSU-1] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_0 has negative value -0.050 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-2] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_1 has negative value -0.044 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-3] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_2 has negative value -0.035 . PS DDR interfaces might fail when entering negative DQS skew values.
CRITICAL WARNING: [PSU-4] Parameter : PCW_UIPARAM_DDR_DQS_TO_CLK_DELAY_3 has negative value -0.100 . PS DDR interfaces might fail when entering negative DQS skew values.
INFO: [xilinx.com:ip:clk_wiz:6.0-1] /clk_wiz_0 clk_wiz propagate
INFO: [digilentinc.com:ip:axi_dynclk:1.2-17] /axi_dynclk_0FREQ_HZ of 100000000 propagated into CONFIG.kRefClkFreqHz
CRITICAL WARNING: [BD 41-237] Bus Interface property TDATA_NUM_BYTES does not match between /v_frmbuf_wr_0/s_axis_video(3) and /axis_subset_converter_0/M_AXIS(2)
CRITICAL WARNING: [BD 41-237] Bus Interface property TDATA_NUM_BYTES does not match between /v_axi4s_vid_out_0/video_in(3) and /axis_subset_converter_out/M_AXIS(4)
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_arlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_arlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_awlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_awlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_rid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_rid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_bid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_bid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_AWID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_awid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_WID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_wid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_ARID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_arid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_frmbuf_wr_0/s_axis_video_TDATA'(24) to pin: '/axis_subset_converter_0/m_axis_tdata'(16) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_axi4s_vid_out_0/s_axis_video_tdata'(24) to pin: '/axis_subset_converter_out/m_axis_tdata'(32) - Only lower order bits will be connected.
VHDL Output written to : /home/digbyt/work/src/xilinx/2020/zybo/Zybo-Z7/hw/proj/hw.gen/sources_1/bd/system/synth/system.vhd
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_arlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_arlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon/s00_couplers/auto_pc/s_axi_awlock'(1) to pin: '/axi_mem_intercon/s00_couplers/S_AXI_awlock'(2) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_rid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_rid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/axi_mem_intercon_HP0/m00_couplers/m00_regslice/m_axi_bid'(1) to pin: '/axi_mem_intercon_HP0/m00_couplers/M_AXI_bid'(6) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_AWID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_awid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_WID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_wid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/processing_system7_0/S_AXI_HP0_ARID'(6) to pin: '/axi_mem_intercon_HP0/M00_AXI_arid'(1) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_frmbuf_wr_0/s_axis_video_TDATA'(24) to pin: '/axis_subset_converter_0/m_axis_tdata'(16) - Only lower order bits will be connected.
WARNING: [BD 41-2384] Width mismatch when connecting pin: '/v_axi4s_vid_out_0/s_axis_video_tdata'(24) to pin
Thanks,
Digby Tarvin.
Reformatting to clarify the question
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now