分享

[asic][systemverilog] timescale

 homerican 2012-07-19
different timescale confusion

Posted: Fri May 29, 2009 2:30 am    Post subject: different timescale confusion
Hi, 

I am working on one module and I have specified below time scale in my first life of testbench file. 
`timescale 1ns/10fs 

But when I am doing compilation through vcs , I am getting following display for time scale. 
TimeScale is 1 ps / 10 fs 

As I am working on single module, there might be different time scales set from different files. 

I would like to know that which will be the final time scale will be used in simulation ? Is it the one which is shown by VCS (i.e. 1 ps / 10 fs) ? 

If this is the case, then I have to change delays in my env wherever I have used # . 

About precision, I thiink the smallest one will be selected but still not sure about it. 


===================================================================

>>About precision, I thiink the smallest one will be selected but still not sure about it. 

Yes smallest precision and unit will take for total simulation but the it will not use in the modules. 

“-timescale” normally usefull to mention timescale for the modules which left without mention. 

You can use -override_timescale=<time_unit>/<time_precision> for unique timescale for all modules. 

If you are not willing to change. Then check timescale with $printimescale() system task and mention # s according to that. 

You can find some more info @ 
http://www./forum/showthread.php?tid=9

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约