Commit 5767830b by Alan Mishchenko

Changes to incorporate AIG parsing in memory and user-specified PI/PO/FF numbers (bug fix).

parent 7bcd5ac9
...@@ -539,10 +539,9 @@ Gia_Man_t * Gia_ReadAiger2( char * pFileName, int fCheck ) ...@@ -539,10 +539,9 @@ Gia_Man_t * Gia_ReadAiger2( char * pFileName, int fCheck )
pNew->pName = Gia_UtilStrsav( (char *)pCur ); pNew->pName = Gia_UtilStrsav( (char *)pCur );
} }
} }
Vec_IntFree( vNodes );
// skipping the comments // skipping the comments
ABC_FREE( pContents );
Vec_IntFree( vNodes );
/* /*
// check the result // check the result
if ( fCheck && !Gia_ManCheck( pNew ) ) if ( fCheck && !Gia_ManCheck( pNew ) )
...@@ -800,7 +799,6 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fCheck ...@@ -800,7 +799,6 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fCheck
// skipping the comments // skipping the comments
ABC_FREE( pContents );
Vec_IntFree( vNodes ); Vec_IntFree( vNodes );
/* /*
// check the result // check the result
......
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