微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > Vivado下实例化HDL代码

Vivado下实例化HDL代码

时间:10-02 整理:3721RD 点击:

刚开始用Vivado,发现找不到ISE中生成实例化模板的选型了,只能自己写。在网上搜索了一下,几乎没有给出答案,最终在Xilinx官网找到了解决方案:

Install the Designutils app in the Tcl Appstore (Tools -> Xilinx Tcl Store) if it has not been previously installed.

The module should be set as top-level.

When it is elaborated or synthesized:

  • Run "xilinx::designutils::write_template" to create a stub, template or testbench.
  • Run "xilinx::designutils::write_template -usage" for usage information.
详见:AR#58023。
官网给出的是Vivado 2014.1,经测试,之后版本都可用,只是不方便的是使用时要把被例化模块设置为顶层模块。



    thanks for sharing

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top