Commit 881b5a24 by Alan Mishchenko

Add skip feature to CEX printing.

parent 4d838e75
...@@ -2292,6 +2292,14 @@ ABC_NAMESPACE_IMPL_END ...@@ -2292,6 +2292,14 @@ ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_START ABC_NAMESPACE_IMPL_START
int Abc_NtkCheckSpecialPi( Abc_Ntk_t * pNtk )
{
Abc_Obj_t * pObj; int i;
Abc_NtkForEachPi( pNtk, pObj, i )
if ( !strcmp(Abc_ObjName(pObj), "_abc_190121_abc_") )
return 1;
return 0;
}
/**Function************************************************************* /**Function*************************************************************
...@@ -2448,7 +2456,7 @@ int IoCommandWriteCex( Abc_Frame_t * pAbc, int argc, char **argv ) ...@@ -2448,7 +2456,7 @@ int IoCommandWriteCex( Abc_Frame_t * pAbc, int argc, char **argv )
} }
fprintf( pFile, "\n"); fprintf( pFile, "\n");
fprintf( pFile, "# COUNTEREXAMPLE LENGTH: %u\n", pCex->iFrame+1); fprintf( pFile, "# COUNTEREXAMPLE LENGTH: %u\n", pCex->iFrame+1);
if ( fUseFfNames ) if ( fUseFfNames && Abc_NtkCheckSpecialPi(pNtk) )
{ {
int * pValues; int * pValues;
int nXValues = 0, iFlop = 0, iPivotPi = -1; int nXValues = 0, iFlop = 0, iPivotPi = -1;
......
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