vivado综合阶段部分IP报错

您所在的位置:网站首页 vivado安装报错 vivado综合阶段部分IP报错

vivado综合阶段部分IP报错

2023-07-13 18:00| 来源: 网络整理| 查看: 265

Export IP Invalid Argument / Revision Number Overflow Issue (Y2K22)

标题 Export IP Invalid Argument / Revision Number Overflow Issue (Y2K22) DESCRIPTION As of January 1st 2022, the export_ip command used by Vivado HLS and Vitis HLS will fail to export the IP.

Vivado and Vitis tools that use HLS in the background are also affected by this issue. HLS tools set the ip_version in the format YYMMDDHHMM and this value is accessed as a signed integer (32-bit) that causes an overflow and generates the errors below (or something similar). Xilinx recommends that all customers apply this patch to be on the safe side.

ERROR: [v++ 213-28] Failed to generate IP. ERROR: [v++ 60-300] Failed to build kernel(ip) krnl, see log for details: vitis_hls.log ... source run_ippack.tcl -notrace ERROR: '##########' is an invalid argument. Please specify an integer value. while executing "rdi::set_property core_revision ########## {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 1112) ... ERROR: [IMPL 213-28] Failed to generate IP. INFO: [HLS 200-111] Finished Command export_design

OR

source run_ippack.tcl -notrace bad lexical cast: source type value could not be interpreted as target while executing "rdi::set_property core_revision ########## {component component_1}" invoked from within "set_property core_revision $Revision $core" (file "run_ippack.tcl" line 1112) ... ERROR: [IMPL 213-28] Failed to generate IP. INFO: [HLS 200-111] Finished Command export_design

SOLUTION To address this overflow, a tactical patch has been generated. Follow the instruction below for installation of the patch:

Installation of Patch y2k22_patch-1.2 Description: This patch will be applied for Vivado and Vitis (including HLS) versions 2014.x through 2021.2. The patch consists of a Python script which adds a custom Tcl file to various installation locations, and avoids the overflow. 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

Notes:

The patch process requires Python version 2.7.5 or later. If you are patching a 2019.x Xilinx release or later you can use the Python installed with Xilinx tools. For the 2018.3 release or earlier, a separate Python install will be needed to run the script. The script must be run from the base install directory and not from another directory. Windows: C:\Xilinx Linux: /tools/Xilinx This script only adds files, and does not overwrite or delete any installation files. A single run will apply the patch to all installed versions in the same base directory. Minor release updates do not require an additional application of the patch. For example: if 2021.1 is installed, the patch is applied, and if the 2021.1 Update 1 (2021.1.1) is then installed, the patch does not need to be re-applied to that version. Patch Version 1.2 (y2k22_patch-1.2.zip) is the first released version. Known Issues: Python instructions for Linux 2020.2 in the README should read ‘python3’ instead of ‘python’

2020.2 On Linux run: export LD_LIBRARY_PATH=$PWD/Vivado/2020.2/tps/lnx64/python-3.8.3/lib/ Vivado/2020.2/tps/lnx64/python-3.8.3/bin/python3 y2k22_patch/patch.py

On Linux systems, please make sure that you have a Timezone (TZ) set to allow a revision number to be generated.

A fix will be implemented in the tools in a future release.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3