共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 跳转至页
回复
打赏帖 | |
---|---|
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
宏定义和const关键字定义被打赏5分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 | |
【Freertos】任务管理被打赏10分 | |
分享博世的两种不同的喷射系统模式被打赏5分 | |
汽车+开路实验与短路实验被打赏10分 | |
多点式电子控制汽油喷射系统知识分享被打赏10分 | |
分享机械控制式汽油喷射系统被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】解决基于CH341制作无线模块时芯片发热问题被打赏31分 | |
【分享开发笔记,赚取电动螺丝刀】使用STM32F103ZE主控调试RS485通讯的避坑经验被打赏36分 |