Test the installation by attempting an export_design command in Vitis HLS or exporting an IP in Vivado. It should no longer throw the "invalid argument" or "revision number overflow" error.
For Vivado 2019.x and newer, you can use the Python version bundled with the Xilinx installation.
Run the following command using the bundled Python or your system's Python 2.7: python y2k22_patch\patch.py Use code with caution. vivado y2k22 patch install
To avoid dependency issues, it is recommended to set the LD_LIBRARY_PATH to the Python library folder within your specific Vivado version before running the script. For example:
If you still see the error 2201220914 is an invalid argument , ensure the script was run from the base directory and not from within the patch folder itself. Test the installation by attempting an export_design command
Ensure the extraction does not create a subfolder named after the ZIP file. The final path should look like C:\Xilinx\y2k22_patch . 3. Execute the Patch Script
The (specifically patch version 1.2) is a critical update released by AMD-Xilinx to address a major overflow bug in High-Level Synthesis (HLS) and IP export tools . Without this patch, Vivado and Vitis versions from 2014.x through 2021.2 are unable to export IP because the revision number, which includes a date-based timestamp, exceeds the limits of a 32-bit signed integer. Prerequisites for Installation Run the following command using the bundled Python
export LD_LIBRARY_PATH=$PWD/Vivado/2021.2/tps/lnx64/python-3.8.3/lib/ python y2k22_patch/patch.py Use code with caution.
Alternatively, you can call the bundled Python directly: /tools/Xilinx/Vivado/2021.2/tps/lnx64/python-3.8.3/bin/python y2k22_patch/patch.py .
Navigate to the AMD Support Solution (AR 76960) and download the file. 2. Extract the Files