The-OpenROAD-Project / OpenSTA

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

`read_lib` Segmentation fault #146

Closed kareefardi closed 1 year ago

kareefardi commented 1 year ago

OpenSTA crashes when reading the following library (after uncompression) sky130_fd_sc_hd__ff_n40C_1v95.lib.gz

jjcherry56 commented 1 year ago

For some reason there is garbage at the beginning and end of the file after uncompressing it. Removing that opensta issues a warning Warning: /Users/cherry/tmp/sky130.lib line 619, table template ccsn_ovrf not found. which is the underlying issue that leads to the seg fault. 974d9f4 liberty missing template seg fault at https://github.com/jjcherry56/OpenSTA.git fixes the seg fault