1. 2022年1月1日开始有bug,先自行解决(可能未来Vivado 2021.2以后的版本会没bug)
导出 IP 无效参数/修订号溢出问题 (Y2K22) (英语看不懂可以用chrome全文翻译,只要在chrome设置里不要把英文添加进语言里就行,这样它只要遇到英语页面就会提示是否要翻译)
如果官网下载慢,可以通过这个链接下载,用法在README写的很清楚 链接:https://pan.baidu.com/s/1JaiPuw8OCoVQcTJu0LKVVw 提取码:x0hw
2. 右键查看vivado hls的路径
3. 打开cmd,进入bin目录,输入vivado_hls_cmd.bat,启动命令模式
C:\Users\Annew>d:
D:\>cd D:\CodingSoftware\Xilinx\Vivado\2018.2\bin
D:\CodingSoftware\Xilinx\Vivado\2018.2\bin>vivado_hls_cmd.bat
===============================
== Vivado HLS Command Prompt
== Available commands:
== vivado_hls,apcc,gcc,g++,make
===============================
Microsoft Windows [版本 10.0.18363.418]
(c) 2019 Microsoft Corporation。保留所有权利。
D:\CodingSoftware\Xilinx\Vivado\2018.2\bin>
4. 进入你自己的hls文件目录,输入vivado_hls –f xxx.tcl ,回车
D:\CodingSoftware\Xilinx\Vivado\2018.2\bin>e:
E:\>cd E:\GraduationDesign\hls_project\my_hls
E:\GraduationDesign\hls_project\my_hls>vivado_hls -f script.tcl
****** Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2018.2 (64-bit)
**** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018
**** IP Build 2256618 on Thu Jun 14 22:10:49 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
等待运行结束
INFO: [IP_Flow 19-234] Refreshing IP repositories
INFO: [IP_Flow 19-1704] No user IP repositories specified
INFO: [IP_Flow 19-2313] Loaded Vivado IP repository 'D:/CodingSoftware/Xilinx/Vivado/2018.2/data/ip'.
INFO: [Common 17-206] Exiting Vivado at Mon Mar 14 21:47:32 2022...
vivado_hls>
可以看出ip核存到 D:/CodingSoftware/Xilinx/Vivado/2018.2/data/ip 里了??? (每个人不一样,看cmd里显示的是啥)
我是新手,刚学到这…
|