ipbus / ipbus-firmware

Firmware that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
Other
39 stars 31 forks source link

Ultrascale+ XDMA IP core upgrade error in Vivado 2019.2 #156

Closed tswilliams closed 4 years ago

tswilliams commented 4 years ago

If the VCU118 example design is built with Vivado 2019.2, ipbb vivado make-project fails during the upgrade of the XDMA IP core:

make-project | Vivado% upgrade_ip [get_ips xdma_0]
make-project | upgrade_ip [get_ips xdma_0]
make-project | Upgrading 'xdma_0'
make-project | ERROR: [Ipptcl 7-29] Invalid param '020'.
make-project | ERROR: [Common 17-39] 'get_paramspec' failed due to earlier errors.
make-project | ERROR: [IP_Flow 19-3317] Tcl Error found in 'validate_PARAM_VALUE.PF0_MSIX_CAP_TABLE_SIZE' method. ERROR: [Common 17-39] 'get_paramspec' failed due to earlier errors.
make-project | 
make-project | ERROR: [IP_Flow 19-3317] Tcl Error found in 'validate_PARAM_VALUE.PF0_MSIX_CAP_TABLE_SIZE' method. ERROR: [Common 17-39] 'get_paramspec' failed due to earlier errors.
make-project | 
make-project | ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/pcie_core_elaborate.xit': ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
make-project | 
make-project | ERROR: [IP_Flow 19-167] Failed to deliver one or more file(s).
make-project | ERROR: [IP_Flow 19-3541] IP Elaboration error: Failed to generate IP 'xdma_0'. Failed to generate 'Elaborate Sub-Cores' outputs: 
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/pcie_core_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/blk_mem_gen_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [IP_Flow 19-167] Failed to deliver one or more file(s).
make-project | ERROR: [IP_Flow 19-3541] IP Elaboration error: Failed to generate IP 'xdma_0'. Failed to generate 'Elaborate Sub-Cores' outputs: 
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/pcie_core_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/blk_mem_gen_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [IP_Flow 19-167] Failed to deliver one or more file(s).
make-project | ERROR: [IP_Flow 19-3541] IP Elaboration error: Failed to generate IP 'xdma_0'. Failed to generate 'Elaborate Sub-Cores' outputs: 
make-project | WARNING: [IP_Flow 19-4050] The normal upgrade process failed due to validation failures in the given configuration. Attempting partial upgrade to set as many user parameters as possible. Please check the parameters whose values were not applied.
make-project | WARNING: [IP_Flow 19-3374] An attempt to modify the value of disabled parameter 'pciebar2axibar_axil_master' from '0x00000000' to '0x0000000000000000' has been ignored for IP 'xdma_0'
make-project | WARNING: [IP_Flow 19-3438] Customization errors found on 'xdma_0'. Restoring to previous valid configuration.
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf1_expansion_rom_enabled_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'false'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf2_expansion_rom_type_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'N/A'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf3_expansion_rom_size_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to '2'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf0_expansion_rom_scale_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'Kilobytes'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf3_expansion_rom_type_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'N/A'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf1_expansion_rom_scale_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'Kilobytes'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf0_expansion_rom_size_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to '2'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf2_expansion_rom_enabled_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'false'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf2_expansion_rom_scale_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'Kilobytes'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf0_expansion_rom_enabled_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'false'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf0_expansion_rom_type_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'N/A'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf3_expansion_rom_scale_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'Kilobytes'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf1_expansion_rom_size_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to '2'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf1_expansion_rom_type_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'N/A'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf3_expansion_rom_enabled_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to 'false'
make-project | WARNING: [IP_Flow 19-4316] Parameter 'pf2_expansion_rom_size_mqdma' is no longer present on the upgraded IP 'xdma_0', and cannot be set to '2'
make-project | WARNING: [IP_Flow 19-1721] During upgrade of 'xdma_0':
make-project | The upgraded user parameter set contained parameters that could not be mapped on to the upgraded IP. When checking the upgrade script, note that parameter names are case sensitive.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-3408] Upgrade of xdma_0 from DMA/Bridge Subsystem for PCI Express (PCIe) 4.0 to DMA/Bridge Subsystem for PCI Express (PCIe) 4.1 has resulted in an incomplete parameterization. Please review the message log, and recustomize this instance before continuing with your design.
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/pcie_core_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_0_pcie4_ip'. IP name 'xdma_0_pcie4_ip' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | CRITICAL WARNING: [IP_Flow 19-1747] Failed to deliver file '/opt/ppd/tools/xilinx/Vivado/2019.2/data/ip/xilinx/xdma_v4_1/subcore/blk_mem_gen_elaborate.xit': ERROR: [Common 17-70] Application Exception: Failed to create subcore IP 'xdma_v4_1_4_blk_mem_64_reg_be'. IP name 'xdma_v4_1_4_blk_mem_64_reg_be' is already in use in this project.  Please choose a different name.
make-project | 
make-project | 
make-project | ERROR: [IP_Flow 19-167] Failed to deliver one or more file(s).
make-project | ERROR: [IP_Flow 19-3541] IP Elaboration error: Failed to generate IP 'xdma_0'. Failed to generate 'Elaborate Sub-Cores' outputs: 
make-project | CRITICAL WARNING: [Coretcl 2-1280] The upgrade of 'xdma_0' has identified issues that may require user intervention. Please verify that the instance is correctly configured, and review any upgrade messages.
make-project | upgrade_ip: Time (s): cpu = 00:00:06 ; elapsed = 00:00:14 . Memory (MB): peak = 1849.305 ; gain = 78.863 ; free physical = 5237 ; free virtual = 75158
make-project | ERROR: [Common 17-39] 'upgrade_ip' failed due to earlier errors.
make-project | Vivado% quit
make-project | quit
make-project | INFO: [Common 17-206] Exiting Vivado at Thu Jan 16 17:23:58 2020...

This only affects the Ultrascale+ XDMA IP core; designs for Ultrascale devices build without error in Vivado 2019.2.

tswilliams commented 4 years ago

Fix has been merged into master. Closing.