Commit 5776ad07 by Alan Mishchenko

Preserving boxes after &write.

parent a63319ad
...@@ -1110,9 +1110,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int ...@@ -1110,9 +1110,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
Gia_ManTransferMapping( p, pInit ); Gia_ManTransferMapping( p, pInit );
Gia_ManTransferPacking( p, pInit ); Gia_ManTransferPacking( p, pInit );
Gia_ManTransferTiming( p, pInit ); Gia_ManTransferTiming( p, pInit );
p->vNamesIn = pInit->vNamesIn; pInit->vNamesIn = NULL; p->nConstrs = pInit->nConstrs;
p->vNamesOut = pInit->vNamesOut; pInit->vNamesOut = NULL;
p->nConstrs = pInit->nConstrs; pInit->nConstrs = 0;
} }
else else
p = pInit; p = pInit;
...@@ -1415,9 +1413,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int ...@@ -1415,9 +1413,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
fclose( pFile ); fclose( pFile );
if ( p != pInit ) if ( p != pInit )
{ {
pInit->pManTime = p->pManTime; p->pManTime = NULL; Gia_ManTransferTiming( pInit, p );
pInit->vNamesIn = p->vNamesIn; p->vNamesIn = NULL;
pInit->vNamesOut = p->vNamesOut; p->vNamesOut = NULL;
Gia_ManStop( p ); Gia_ManStop( p );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment