Bug fix in 'write_pla'.

This commit is contained in:
Alan Mishchenko 2013-04-15 22:59:54 -07:00
parent 45d82477b7
commit 9b6efa34ad
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ void Io_Write( Abc_Ntk_t * pNtk, char * pFileName, Io_FileType_t FileType )
pNtkTemp = Abc_NtkToNetlist( pNtk );
Abc_NtkDelete( pNtkCopy );
}
if ( !Abc_NtkToSop( pNtk, 1 ) )
if ( !Abc_NtkToSop( pNtkTemp, 1 ) )
return;
}
else if ( FileType == IO_FILE_BENCH )