diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-19 18:49:18 -0400 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-19 18:49:18 -0400 |
commit | d32e51409ffb7b06589b12b04520ca57bf4eda86 (patch) | |
tree | afba39d78f576f2e780fc5c4e0785f54aeb7ad31 /src/map/scl | |
parent | 080a7420fc289b74635f5e9ff5cc55b6c3473373 (diff) | |
download | abc-d32e51409ffb7b06589b12b04520ca57bf4eda86.tar.gz abc-d32e51409ffb7b06589b12b04520ca57bf4eda86.tar.bz2 abc-d32e51409ffb7b06589b12b04520ca57bf4eda86.zip |
Buf fix in Liberty parser.
Diffstat (limited to 'src/map/scl')
-rw-r--r-- | src/map/scl/sclLiberty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/scl/sclLiberty.c b/src/map/scl/sclLiberty.c index f3f31224..789473ad 100644 --- a/src/map/scl/sclLiberty.c +++ b/src/map/scl/sclLiberty.c @@ -1210,7 +1210,7 @@ Vec_Str_t * Scl_LibertyReadSclStr( Scl_Tree_t * p, int fVerbose, int fVeryVerbos continue; // top level information Vec_StrPutS_( vOut, Scl_LibertyReadString(p, pCell->Head) ); - Vec_StrPutF_( vOut, atof(Scl_LibertyReadCellArea(p, pCell)) ); + Vec_StrPutF_( vOut, Scl_LibertyReadCellArea(p, pCell) ? atof(Scl_LibertyReadCellArea(p, pCell)) : 1 ); Vec_StrPutI_( vOut, Scl_LibertyReadDeriveStrength(p, pCell) ); // pin count nOutputs = Scl_LibertyReadCellOutputNum( p, pCell ); |