john@ubuntu:~$ sudo cp y2k22_patch-1.2.zip /opt/xilinx
john@ubuntu:~$ cd /opt/xilinx
john@ubuntu:/opt/xilinx$ unzip y2k22_patch-1.2.zip
- 2021.2
On all Linux Flavors (Centos, RHEL, Ubuntu 18,… ) where python version 3.8.3 used, follow the instructions below
export LD_LIBRARY_PATH=$PWD/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
On Windows run:
Vivado\2021.2\tps\win64\python-3.8.3\python.exe y2k22_patch\patch.py
john@ubuntu:~/vitis2021.2$ /home/john/vitis2021.2/Vivado/2021.2/tps/lnx64/python-3.8.3/bin/python3 y2k22_patch/patch.py
Export IP Invalid Argument / Revision Number Overflow Issue (Y2K22) https://support.xilinx.com/s/article/76960?language=en_US
Instructions:
- Download the “y2k22_patch-1.2.zip” file attached to this page
- Unzip the file into the installation root location
Default Windows installation location C:\Xilinx
Default Linux installation location: /opt/Xilinx or /tools/Xilinx
Note: While extracting this patch on Windows, make sure that the destination folder does not contain the Zip file name (y2k22_patch-1.2.zip). For example, if the installation root is C:\Xilinx make sure that after the extraction the y2k22_patch folder is under C:\Xilinx, i.e : C:\Xilinx\y2k22_patch - Open the README and follow the instructions for the specific version you are applying the patch to.
- A successful output of the script will look like the following for each version of the tool it is being applied to:
[2022-01-07] INFO: This script (version: 1.2) patches Xilinx Tools for HLS Y2k22 bug for the following release:
2014., 2015., 2016., 2017., 2018., 2019., 2020.* and 2021.*
[2022-01-07] UPDATE: /tools/xilinx/Vivado/2021.1/common/scripts
[2022-01-07] COPY: /tools/xilinx/y2k22_patch/automg_patch_20220104.tcl to
/tools/xilinx/Vivado/2021.1/common/scripts/automg_patch_20220104.tcl
[2022-01-07] UPDATE: /tools/xilinx/Vitis_HLS/2021.1/common/scripts
[2022-01-07] COPY: /tools/xilinx/y2k22_patch/automg_patch_20220104.tcl to
/tools/xilinx/Vitis_HLS/2021.1/common/scripts/automg_patch_20220104.tcl