diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 20:21:27 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 20:21:27 -0700 |
commit | 723f85ef1b4ad35bc7708f7b8208dafe0406078c (patch) | |
tree | b9aa1461ec4ddbe53ee7b1ac45518e8659fe8ebf /src/map/amap | |
parent | 5dc50744f0604173293be81f013834db59ea0142 (diff) | |
download | abc-723f85ef1b4ad35bc7708f7b8208dafe0406078c.tar.gz abc-723f85ef1b4ad35bc7708f7b8208dafe0406078c.tar.bz2 abc-723f85ef1b4ad35bc7708f7b8208dafe0406078c.zip |
Extending Liberty parser to handle multi-output cells.
Diffstat (limited to 'src/map/amap')
-rw-r--r-- | src/map/amap/amapLiberty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/amap/amapLiberty.c b/src/map/amap/amapLiberty.c index e961b68c..b8232024 100644 --- a/src/map/amap/amapLiberty.c +++ b/src/map/amap/amapLiberty.c @@ -454,7 +454,7 @@ int Amap_LibertyPrintGenlib( Amap_Tree_t * p, char * pFileName, int fVerbose ) fprintf( pFile, "%s=", Amap_LibertyGetString(p, pOutput->Head) ); fprintf( pFile, "%s;\n", Amap_LibertyGetStringFormula(p, pFunc->Head) ); Amap_ItemForEachChild( p, pCell, pPin ) - if ( pPin != pOutput && !Amap_LibertyCompare(p, pPin->Key, "pin") ) + if ( Vec_PtrFind(vOutputs, pPin) == -1 && !Amap_LibertyCompare(p, pPin->Key, "pin") ) fprintf( pFile, " PIN %13s UNKNOWN 1 999 1.00 0.00 1.00 0.00\n", Amap_LibertyGetString(p, pPin->Head) ); } Vec_PtrFree( vOutputs ); |