The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
404 stars 173 forks source link

report_power never returns with sky130 clock gates #138

Closed gadfort closed 1 year ago

gadfort commented 1 year ago

Attached is a testcase where calling report_power on a design without clock gates returns file, but with clock gates never returns (as best I can see it seems to be stuck in ensureActivities()). @maliberty this is the issue I mentioned the other week, but didn't get around to generating a testcase for till now. report_power_loop.tar.gz

To run: There are two scripts works.tcl and doesntwork.tcl

sta -exit work.tcl
# Return with power
sta -exit doesntwork.tcl
# Never finishes 

Please let me know if you need anything else from me.

jjcherry56 commented 1 year ago

fixed by 1e53cc3 issue138 power w/gated clock feedback loops on https://github.com/jjcherry56/OpenSTA.git