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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜全文
查看: 6359|回复: 14

[求助] 请问各位大侠,modelsim如何仿功耗啊

[复制链接]
发表于 2010-11-4 09:53:16 | 显示全部楼层 |阅读模式

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

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

×
请问各位大侠,modelsim如何仿功耗啊,听别人说可以,网上没有找到,特来请教,谢谢

是不是就是所谓的Power Evaluation啊,有没有详细步骤啊?
发表于 2010-11-4 10:14:27 | 显示全部楼层
从没用过,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-5 16:07:58 | 显示全部楼层
么有人知道吗
回复 支持 反对

使用道具 举报

发表于 2010-11-5 17:28:59 | 显示全部楼层
modelsim本身是不能仿真功耗的,只是 做model-sim,功能仿真。

功耗要在 PC 或者 DC里头仿真。需要用到SAIF文件,这个文件是由VCD波形文件转的。

modelsim可以干文件转换的活儿。
回复 支持 反对

使用道具 举报

发表于 2010-11-6 16:48:50 | 显示全部楼层
楼上正解
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-8 14:59:08 | 显示全部楼层
回复 4# ic_qiand


    你好,请问如何将VCD转为SAIF文件啊,又是如何通过DC仿功耗啊,能大概告诉小弟一下吗?,谢谢
回复 支持 反对

使用道具 举报

发表于 2010-11-8 16:52:11 | 显示全部楼层



不想写了,google了一段,很容易懂的!

before starting the simulation and after loading the file write this line in the command line

power add /* this will report power for all nets in the design

or you can use pwer add /top/* this will report power for all nets in the top file ( assuming that the top file is named top )

then do your simulations and write this line after finishing simulations

power report -all -bsaif file_name.saif

then exit the model sim and you will find the saif file created in the working directory

hope this helps
回复 支持 反对

使用道具 举报

发表于 2010-11-8 16:58:20 | 显示全部楼层


   
回复  ic_qiand


    你好,请问如何将VCD转为SAIF文件啊,又是如何通过DC仿功耗啊,能大概告诉小弟一 ...
meijingguoyu 发表于 2010-11-8 14:59




    再给你个转过的文件例子吧,既然我不要钱EETOP也要收钱,还是我卖5块钱吧…

    vcd2saif.rar (4.04 KB , 下载次数: 42 )
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-8 18:07:04 | 显示全部楼层
回复 8# ic_qiand


    同意,5元值~~~,谢谢哦
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-8 19:22:14 | 显示全部楼层
before starting the simulation and after loading the file write this line in the command line
在仿真之前,再加载之后???  是在modelsim里面还是在TB文件里啊。我试了下,咋不行呢。
power add /* this will report power for all nets in the design

or you can use pwer add /top/* this will report power for all nets in the top file ( assuming that the top file is named top )
这个转换是转换的综合后的netlist吗?

then do your simulations and write this line after finishing simulations

power report -all -bsaif file_name.saif
上面这条命令是在modelsim的script里输吗,我试了咋提示错误呢。

then exit the model sim and you will find the saif file created in the working directory

hope this helps

我试了以上的步骤,不通哦, ic_qiand老大你有么有更详细一点的步骤哦,而且在以上步骤里我也没有看见从VCD转saif的步骤啊~
烦请指教,谢谢啦
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

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

X

手机版| 小黑屋| 关于我们| 联系我们| 用户协议&隐私声明| 版权投诉通道| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 ) |网站地图

GMT+8, 2025-12-25 17:18 , Processed in 0.025666 second(s), 6 queries , Gzip On, Redis On.

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