The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
387 stars 167 forks source link

VCD Based power analysis is failing when the design has memories #161

Closed sakundu closed 1 year ago

sakundu commented 1 year ago

I am attempting to run VCD-based power analysis for Ariane on NG45 using OpenROAD/OpenSTA, and I encountered the following error.

[ERROR STA-0803] ./inputs/ariane.vcd line 553579, Unknown variable type integer.

I have tried running two different commercial tools and received the same output from both. Therefore, I believe my inputs are correct. I have uploaded all the necessary inputs required to reproduce the aforementioned error in my google drive (Link).

tar -xvf ariane_ng45.tar.gz
openroad ./inputs/power_vcd_or.tcl

I successfully ran VCD-based power analysis for designs without memories using OpenROAD and didn't encounter any errors.

If you could fix this issue that would be great. Please let me know if you need any more information.

Thanks, Sayak

tspyrou commented 1 year ago

@abk-openroad and @sakundu I can reproduce this problem. Thanks for packaging it up. The line in question is $var integer 32 _c= j [31:0] $end

jjcherry56 commented 1 year ago

fixed in https://github.com/jjcherry56/OpenSTA.git e5c95ac issue161 vcd var type integer