From 60c661488507d3ff5866e795979bdef64b10f58f Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 19 Sep 2012 11:53:40 -0700 Subject: Extending Genlib to hangle multi-output cells. --- src/map/mio/mioRead.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/map/mio/mioRead.c') 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 ) -- cgit v1.2.3