Commit 3ab9683d by Alan Mishchenko

Added support for constraints in AIGER (bug fix).

parent 4ca66128
...@@ -799,7 +799,12 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fCheck ...@@ -799,7 +799,12 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fCheck
{ {
// get the terminal type // get the terminal type
if ( *pCur == 'i' || *pCur == 'l' ) if ( *pCur == 'i' || *pCur == 'l' )
{
// skip till the end of the line
while ( *pCur++ != '\n' );
*(pCur-1) = 0;
continue; continue;
}
if ( *pCur != 'o' ) if ( *pCur != 'o' )
{ {
fprintf( stdout, "Wrong terminal type.\n" ); fprintf( stdout, "Wrong terminal type.\n" );
......
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