mirror of https://github.com/YosysHQ/abc.git
Changes to incorporate AIG parsing in memory and user-specified PI/PO/FF numbers (bug fix).
This commit is contained in:
parent
7bcd5ac979
commit
5767830b45
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
// skipping the comments
|
// skipping the comments
|
||||||
ABC_FREE( pContents );
|
|
||||||
Vec_IntFree( vNodes );
|
Vec_IntFree( vNodes );
|
||||||
/*
|
/*
|
||||||
// check the result
|
// check the result
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue