在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 9529|回复: 23

[求助] 求助:【已解决】ICC LAB2在import design时失败

[复制链接]
发表于 2015-7-24 14:33:21 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 taichiorange 于 2015-7-25 11:43 编辑

用ICC 2010版本的LAB在学习使用ICC(因此是很新的菜鸟),Create Library之后,按照guide指导去import design(verilog文件),提示:


icc_shell> import_designs -format verilog -top RISC_CHIP -cel RISC_CHIP {/root/eda/ICC_Lab/lab1_data_setup/design_data/RISC_CHIP.v}

*****  Verilog hdl translation! *****

*****    Start Pass 1 *****

*****  Pass 1 Complete *****
Elapsed =    0:00:00, cpu =    0:00:00

*****  Verilog HDL translation! *****

*****    Start Pass 2 *****
Error: Module 'ad01d0' is not defined.  (MWNL-297)
Error: Verilog parser cannot parse the /root/eda/ICC_Lab/lab1_data_setup/design_data/RISC_CHIP.v source file. (MWNL-047)
No such file or directory
Error: Current design is not defined. (UID-4)
0


而同样的代码,我用Design Compiler却可以compile成功,有谁碰到过这种情况吗?
发表于 2015-7-24 14:47:10 | 显示全部楼层
MWNL-297

NAME

MWNL-297 (Error) Module '%s' is not defined.

DESCRIPTION

This error message occurs when the specified module is not defined either in the Verilog source file(s) or as a FRAM view in reference libraries.

WHAT NEXT

If you want the tool to continue with undefined module, you can specify option "-allow_undefined_module" or option "-dirty_netlist", then a CEL will be created for the undefined module and read_verilog will continue. However, if the missing module is not what you intended, check the Verilog source file(s) and make sure all modules are either defined or exist in the reference libraries.
发表于 2015-7-24 14:48:26 | 显示全部楼层
所以,你dc能link的原因是dc不需要物理信息。
MWNL-297的意思是物理库信息缺失

暂时的解决方法是:
If you want the tool to continue with undefined module, you can specify option "-allow_undefined_module" or option "-dirty_netlist"
 楼主| 发表于 2015-7-24 15:07:50 | 显示全部楼层
回复 3# sjtusonic

很感谢。刚才在网上搜索了一遍,应该是reference library不对。我仔细看了,都加了reference library.

LAB上提示用的ICC版本是2010.10
而我自己安装的是2010.03
难道是版本问题?2010.03不能正确refer to LAB中提供的reference library ?
 楼主| 发表于 2015-7-24 15:42:03 | 显示全部楼层
printvar mw_reference_library    返回的是空字符串
用set_mw_lib_reference命令设置了,但是,好像没有起作用,还是空的。

难道是这个原因?
 楼主| 发表于 2015-7-24 20:43:04 | 显示全部楼层
终于搞定了,主要原因是mw_lib下有一些文件名字被修改了,主要涉及FRAM目录和CEL目录,在Linux下,文件名应该是诸如pc3b01:1这样的格式,被改成的pc3b01_1         导致ICC在加载reference lib的时候没有成功。原因是在windows下解压.gz包,文件名中含有的冒号被windows系统用下划线自动替换了。

合理的做法是在linux下解压.gz的包,就不会出现这个问题了。

要看reference library是否被正确指定了,可以用
report_mw_lib -mw_reference_library 这个命令查看。似乎mw_reference_library这个变量不起作用。
发表于 2015-7-26 21:19:28 | 显示全部楼层
赞一个,你很能钻研
 楼主| 发表于 2015-7-27 08:48:25 | 显示全部楼层
回复 7# sjtusonic

惭愧,也是看了网友的解决方法,搜到的。
发表于 2015-8-13 12:47:04 | 显示全部楼层
great post
发表于 2015-8-19 15:17:24 | 显示全部楼层
回复 8# taichiorange


   非常感谢楼主,原来是这个原因
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-25 02:43 , Processed in 0.034978 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表