Board logo

标题: 用modelsim需要怎么设置?? [打印本页]

作者: 我本布衣    时间: 2006-4-20 21:55     标题: 用modelsim需要怎么设置??

# Loading work.compare_test_v_tf
# ** Error: (vsim-19) Failed to access library 'cpld_ver' at "cpld_ver".
# No such file or directory. (errno = ENOENT)
# ** Error: (vsim-19) Failed to access library 'uni9000_ver' at "uni9000_ver".
# No such file or directory. (errno = ENOENT)
# Loading work.compare
# ** Warning: (vsim-3009) [TSCALE] - Module 'compare' does not have a `timescale directive in effect, but previous modules do.
#         Region: /compare_test_v_tf/uut
# Loading work.glbl


用ISE编辑好文件后,用Modelsim仿真出现以上信息?是modelsim 的设置问题吗?


 


 


作者: 我本布衣    时间: 2006-4-21 22:25

我直接在ISE中用行为仿真,然后激活modelsim,以上信息是在modelsim中出现的。尤其是Module 'compare' does not have a `timescale directive in effect, but previous modules do.
奇怪,我已经在仿真文件中设置了`timescale ,怎么有问题?


作者: 我本布衣    时间: 2006-4-26 20:30

前面的ERROR应该是库的问题,但是Module 'compare' does not have a `timescale directive in effect, but previous modules do这有点奇怪了,我程序写了.timescale

作者: kendny    时间: 2006-4-27 08:45

我也碰到过类似的问题,当时我试了好多简单的程序,都是你说的同一个问题,大概以前装的是试用的modelsim,后来换了一个modelsim,呵呵,现在ok了




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0