Adding binary file dumping for truth tables.

This commit is contained in:
Alan Mishchenko 2012-10-25 13:55:04 -07:00
parent 059da57476
commit fac3976621
1 changed files with 1 additions and 1 deletions

View File

@ -2781,7 +2781,7 @@ int IoCommandWriteTruths( Abc_Frame_t * pAbc, int argc, char **argv )
// get the input file name
pFileName = argv[globalUtilOptind];
// convert to logic
pFile = fopen( pFileName, "w" );
pFile = fopen( pFileName, "wb" );
if ( pFile == NULL )
{
printf( "Cannot open file \"%s\" for writing.\n", pFileName );