The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
399 stars 172 forks source link

Failure on cells such as FILL that have no pins #2

Closed RTimothyEdwards closed 5 years ago

RTimothyEdwards commented 5 years ago

OpenSTA segfaults on any cell in the netlist that has no pins. I found a fix for this that (so far) seems to work: In VerilogReader.cc before line 930 (first line of VerilogModuleInst::namedPins()) add the following line:

if (!pins_) return false;

That seems to keep things happy.

---Tim

jjcherry56 commented 5 years ago

fix committed

RTimothyEdwards commented 5 years ago

Thank you!