共7条
1/1 1 跳转至页
请教把verilog代码封装成IP核
Altera提供的方案为:封装成qxp文件 ,具体步骤如下:
1.需要创建一个Quartus II 顶层设计项目 并且确保该项目目标器件与该.qxp文件目标器件相同(或者说至少相同器件系列(在不包括布局布线信息前提下).
4楼
xilinx CORE Generate 在开始ISE design tools/tools里,没用过。。。楼主用完可以分享下经验
将一个子模块单独综合后,会得到ngc文件或者edif文件。在调用模块的时候,仅需将.ngc 文件放在工程目录下。详细过程查阅xilinx官方手册。
附:常见文件类型说明
XCO: This file contains core options and parameters.
EDN/NGC: This is the implementation netlist for the IP cores which output netlists. It is passed on to the Translate (NGDBuild) process.
SYM: This schematic symbol is automatically generated for instantiating the IP in a schematic.
VHO or VEO template files: These files are automatically generated for instantiating the IP in an HDL file.
VHD or V simulation wrapper files: These files are provided for simulation of IP cores which output netlists.
VHD or V source-code files: These files are the actual source-code required for both synthesis and simulation of IP cores which output source-code.
今天试了试好像还挺容易的。
只要把将一个子模块单独综合,把综合属性里的“Add I/O Buffers”去掉,综合,生成的ngc网表再加上你自己做的一个wrapper文件(就是只有端口列表的.v或者.vhd文件),就可以调用了了。
wrapper文件里要注明:
// XST black box declaration
// box_type "black_box"
// synthesis attribute box_type of sdram_top is "black_box"
不过要注意的是,如果代码里例化了I/O Buffer的话,去掉这个综合选项是不会将例化的buffer删除的。这种情况下,别人用你的IP的时候就要注意了,不能重复添加buffer。
详细的请参考:http://www.xilinx.com/support/answers/34771.htm
共7条
1/1 1 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【S32DS】S32K3 RTD7.0.1 HSE 组件配置报错问题解决被打赏¥27元 | |
| 【S32K3XX】MCME 启动 CORE1被打赏¥23元 | |
| AG32VH407下温度大气压传感器及其检测被打赏¥20元 | |
| AG32VH407下光照强度传感器BH1750及其检测被打赏¥22元 | |
| AT32VH407下使用温湿度传感器DHT22进行检测被打赏¥20元 | |
| DIY一个婴儿澡盆温度计被打赏¥34元 | |
| 【FreeRtos】FreeRtos+MPU region 配置规则被打赏¥23元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动墨水屏(ArduinoIDE)被打赏¥28元 | |
| 【S32K3XX】LIN 通讯模块使用被打赏¥31元 | |
| 【FreeRtos】FreeRtos + MPU模块的配置使用被打赏¥32元 | |
我要赚赏金
