BlackBox的警告怎么消除?

[复制链接]
2279|4
 楼主| aceice 发表于 2013-5-23 14:23 | 显示全部楼层 |阅读模式
"WARNING: Xst:766 - file_name (Line #). Generating a Black Box for component <component_name>.

官网的解决办法是:
To avoid "black box" warning messages, add the following lines to your HDL code:

VHDL:

architecture <architecture_name>
:

attribute box_type : string;
attribute box_type of <component_name> : component is "black_box";
:

begin

Verilog:

//synthesis attribute box_type <module_name> "black_box"
----------------------------------------------------------------------------------------
我用的Verilog,是加注释还是去掉注释符号?这段语句应该加在哪个文件里呢?


GoldSunMonkey 发表于 2013-5-23 21:50 | 显示全部楼层
不用消除
XiaoWei369 发表于 2013-5-26 22:59 | 显示全部楼层
为什么呢?
 楼主| aceice 发表于 2013-6-21 11:46 | 显示全部楼层
GoldSunMonkey 发表于 2013-5-23 21:50
不用消除

可是我属于看到警告就不舒服的类型,能消除么?
GoldSunMonkey 发表于 2013-6-22 20:52 | 显示全部楼层
aceice 发表于 2013-6-21 11:46
可是我属于看到警告就不舒服的类型,能消除么?

这个是黑盒子,没有关系。不用消除
您需要登录后才可以回帖 登录 | 注册

本版积分规则

374

主题

2182

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部