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