Commit fac39766 by Alan Mishchenko

Adding binary file dumping for truth tables.

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