VIVADO报错:ERROR: ‘2304171459‘ is an invalid argument. Please specify an integer value.

Problem Description

When using the official routine, an error occurs when compiling

ERROR: '2304171459' is an invalid argument. Please specify an integer value.
    while executing
"rdi::set_property core_revision 2304171459 {component component_1}"
    invoked from within
"set_property core_revision $Revision $core"
    (file "run_ippack.tcl" line 976)
INFO: [Common 17-206] Exiting Vivado at Mon Apr 17 15:00:02 2023...
ERROR: [IMPL 213-28] Failed to generate IP.

problem solved

This problem has been officially fixed, just download the patch from the official website forum and operate according to the README.
Download address: https://support.xilinx.com/s/article/76960?language=en_US

The following is the official description of the cause of the problem:

From January 1, 2022, the export_ip command used by Vivado HLS and Vitis HLS will not be able to export IP.
The Vivado and Vitis tools that use HLS behind the scenes are also affected by this issue. The HLS tool sets ip_version in YYMMDDHHMM format, and this value is accessed as a signed integer (32 bits), which causes an overflow and generates the error below (or similar). Xilinx recommends that all customers apply this patch for security.

Specific steps

1. Download the patch package from the above website, you can refer to the README in the patch package, and the explanation on how to use it is also very detailed.

2. Unzip to the vivado installation directory. Note that the decompressed y2k22_patch folder is placed in the root directory of the installation path, that is, under <installation path>/xilinx/. If it is misplaced, it will not be installed successfully.

3. Change the path to the next and execute the following command:

     export LD_LIBRARY_PATH=<完整的安装路径>/Vivado/2021.2/tps/lnx64/python-3.8.3/lib/
     <完整的安装路径>/Vivado/2021.2/tps/lnx64/python-3.8.3/bin/python3 y2k22_patch/patch.py

If the installation is successful, the following log will be printed:

 The same is true under window, so I won’t introduce it here.

Guess you like

Origin blog.csdn.net/lb5482464/article/details/130200927