|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
大家好!
我想在encounter中做power analysis,我先在encounter中生成了网表文件,再放入modelsim中生成VCD文件。我在testbench中加了如下语句的:
initial
begin
$dumpfile("design.VCD");
$dumpvars;
end
然后运行仿真。
现在的问题是,我看网上大家都说这个VCD文件很大,可以达到3G,但是我的只有100M左右,况且我的设计还比较大,几十万门,我在想是不是我的VCD文件生成有问题?
另外,我把VCD文件导入到encounter中做power analysis,没有能够正确报出功耗,出现如下内容:
power supply: 1.98 volt
average power between 0.0000e+00 S and 1.4743e-02 S
Total id in vcd file: 38276
In module alu valid id: 0
redundant id: 0
In module alu invalid id: 0
redundant id: 0
Total activity in vcd file: 3.19318e+07
In module alu valid activity: 0
In module alu invalid activity: 0
average power(default) : 2.2020e-02 mw
average switching power(default): 0.0000e+00 mw
average internal power(default): 0.0000e+00 mw
average leakage power(default): 2.2020e-02 mw
user specified power(default): 0.0000e+00 mw
switching power和internal power都是0,所以肯定是有问题的,上面的"alu"是我顶层模块的名称。大家知道可能是什么原因造成的吗??? |
|