Vivado HLS | Export RTL报错 “ERROR: [IMPL 213-28] Failed to generate IP.“

Vivado HLS 错误记录

问题描述:

VIvado 2018.2 使用 HLS 生成 IP 时报错:

ERROR: [IMPL 213-28] Failed to generate IP.
command 'ap_source' returned error code
    while executing
"source /home/xxx/matrixmul.prj/solution1/export.tcl"
    invoked from within
"hls::main /xxx/matrixmul.prj/solution1/export.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 hls::main {*}$args"
    (procedure "hls_proc" line 5)
    invoked from within
"hls_proc $argv"

在这里插入图片描述

解决方案:

官方Bug,Xilinx官网:解决方案(含补丁下载链接)

Windows

下载补丁:补丁链接
在这里插入图片描述
将下载的补丁解压到Xilinx的安装目录下,例如我这里是E:/Xilinx/
在这里插入图片描述

在当前路径下运行:python .\y2k22_patch\patch.py

在这里插入图片描述

输出如下结果即完成:

[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

eg:不同的Vitis/Vivado版本操作可能略有差异,详见y2k22_patch中的readme文件

Linux
  1. 下载 " y2k22_patch-1.2.zip "
  2. 解压至 /opt/Xilinx 或者 /tools/Xilinx 目录下
  3. 运行 python y2k22_patch/patch.py ,不同 Vivado 版本操作不同,请参考 readme
  4. 成功后输出如下:
[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
  • 10
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 13
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 13
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一只殿鹿

爱屋及乌(滑稽

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值