fprintf(stdout,"Io_WriteBench(): Signal names in this benchmark contain parantheses making them impossible to reproduce in the BENCH format. Use \"short_names\".\n");
fprintf(stdout,"Io_WriteBenchLut(): Signal names in this benchmark contain parantheses making them impossible to reproduce in the BENCH format. Use \"short_names\".\n");
return0;
}
pFile=fopen(pFileName,"w");
if(pFile==NULL)
{
fprintf(stdout,"Io_WriteBench(): Cannot open the output file.\n");
return0;
}
fprintf(pFile,"# Benchmark \"%s\" written by ABC on %s\n",pNtk->pName,Extra_TimeStamp());
// write the network
Io_WriteBenchLutOne(pFile,pNtk);
// write EXDC network if it exists
pExdc=Abc_NtkExdc(pNtk);
if(pExdc)
printf("Io_WriteBench: EXDC is not written (warning).\n");