mirror of https://github.com/YosysHQ/abc.git
Adding binary file dumping for truth tables.
This commit is contained in:
parent
059da57476
commit
fac3976621
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue