diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 11:53:40 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-19 11:53:40 -0700 |
commit | 60c661488507d3ff5866e795979bdef64b10f58f (patch) | |
tree | c92a3c908d9dc45314dc42904a272a94de51c1b4 /src/map/mio/mioRead.c | |
parent | 48996f7a3698a3f3f8d3d03ffba5c51e9065649d (diff) | |
download | abc-60c661488507d3ff5866e795979bdef64b10f58f.tar.gz abc-60c661488507d3ff5866e795979bdef64b10f58f.tar.bz2 abc-60c661488507d3ff5866e795979bdef64b10f58f.zip |
Extending Genlib to hangle multi-output cells.
Diffstat (limited to 'src/map/mio/mioRead.c')
-rw-r--r-- | src/map/mio/mioRead.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/mio/mioRead.c b/src/map/mio/mioRead.c index 3632e3a7..87fb68e2 100644 --- a/src/map/mio/mioRead.c +++ b/src/map/mio/mioRead.c @@ -232,7 +232,12 @@ int Mio_LibraryReadInternal( Mio_Library_t * pLib, char * pBuffer, int fExtended if ( !st_is_member( pLib->tName2Gate, pGate->pName ) ) st_insert( pLib->tName2Gate, pGate->pName, (char *)pGate ); else - printf( "The gate with name \"%s\" appears more than once.\n", pGate->pName ); + { + Mio_Gate_t * pBase = Mio_LibraryReadGateByName( pLib, pGate->pName ); + pBase->pTwin = pGate; + pGate->pTwin = pBase; + printf( "Gate \"%s\" appears more than once. Creating multi-output gate.\n", pGate->pName ); + } } } if ( fVerbose ) |