微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > EDK添加用户IP,关于INOUT端口的问题

EDK添加用户IP,关于INOUT端口的问题

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

向各位请教一下。在EDK中,我需要添加一个自定义的IP,其中有几个端口是INOUT类型的端口。我的userlogic文件使用的是verilog语言。在userlogic文件里我直接把端口声明为 INOUT,然后在外部的vhd文件里也添加了端口的声明和映射。再次导入IP可以添加IP成功,但是在生成网表文件的时候出现了错误,
ERROR:Xst:2585 - Port <data_I> of instance <my_ip_1> does not exist in definition <my_ip>. Please compare the definition of block <my_ip> to its component declaration to detect the mismatch.
ERROR:Xst:2585 - Port <data_O> of instance <my_ip_1> does not exist in definition <my_ip>. Please compare the definition of block <my_ip> to its component declaration to detect the mismatch.
ERROR:Xst:2585 - Port <data_T> of instance <my_ip_1> does not exist in definition <my_ip>. Please compare the definition of block <my_ip> to its component declaration to detect the mismatch.
请问这种情况应该怎么办?我在网上也查了一些资料,似乎说需要把INOUT端口声明成三个端口,但是都说的不详细,我还是没有弄的很明白。另外我的这个inout的data信号也不是直接在userlogic模块中使用的,我的userlogic模块本身只是一个顶层模块,内部包含几个子模块,这个data是其中一个子模块的端口。

rsjsrttjttrj

小编的问题解决了吗,我现在也遇到相同的问题,错误也是一样,有没有用过的大哥,给点建议,谢谢

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

网站地图

Top