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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 16172|回复: 6

[求助] illegal 'timescale for module反标后仿真

[复制链接]
发表于 2011-12-8 10:48:45 | 显示全部楼层 |阅读模式

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

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

×
求助各位前辈,在反标sdf后进行vcs仿真,提示error:illegal 'timescale for module,module"AN2D0" has 'timescale but previous module do not,请问这个是什么意思呢?怎么解决呢?谢谢各位啦!
 楼主| 发表于 2011-12-9 08:58:14 | 显示全部楼层
自己顶一个
回复 支持 反对

使用道具 举报

发表于 2011-12-21 14:20:16 | 显示全部楼层
你看看网表里"AN2D0" 的描述里面有一个timescale,但是你其他的module没有定义timescale
回复 支持 1 反对 0

使用道具 举报

发表于 2012-1-3 15:33:56 | 显示全部楼层
nc里面-override_timescale -timescale 1ns/1ps
就是把原有的timescale全部改写为1ns/1ps

vcs里面应该也可以类似的处理,看一下UG
回复 支持 反对

使用道具 举报

发表于 2013-2-26 12:27:57 | 显示全部楼层
nc是什么东东?
回复 支持 反对

使用道具 举报

发表于 2015-9-23 21:51:05 | 显示全部楼层
楼主,这个问题解决了没,怎么解决的
回复 支持 反对

使用道具 举报

发表于 2015-9-28 15:39:44 | 显示全部楼层
solvnet:

Question:
What does VCS  "Error-[ITSFM] Illegal `timescale for module" mean?
Answer:
VCS/VCSMX will generate a compile error "Error-[ITSFM] Illegal `timescale for module"
if the first Verilog source file passed to the vcs compile command does not have a
`timescale directive and subsequent Verilog sources do.

To overcome this error, there are 3 things the user can do:
1) Reorder the source files passed to VCS (Refer to solvnet article DOC ID
   900543 for information on how timescales are defined and used by simulators).

2) Use the VCS' -timescale=base/precision Verilog compile option
   where you specify base and precision. Ex:
     % vcs no_timescale.v file_with_timescale.v -timescale=1ns/10ps

    -timescale=base/precision will use the timescale provided on the compile
    command for the first Verilog file passed to VCS IF there is no explicit
    `timescale directive in the first Verilog source file passed.

3) Use VCS' Verilog compile option -override_timescale=base/resolution option.
   This will override all timescales (including explicit `timescale directives)
   and have VCS use the timecale specified by this option. Ex:
     % vcs no_timescale.v file_with_timescale.v -override_timescale=1ns/1ns

   If file_with_timescale.v has a `timescale 1ns/10ps directive, this will be
   overriden by VCS and VCS will use 1ns/1ns timescale for ALL Verilog modules.
回复 支持 4 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-7-12 18:57 , Processed in 0.116210 second(s), 10 queries , Gzip On, MemCached On.

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