49 Abc_Print( -1,
"Command line switch \"-C\" should be followed by an integer.\n" );
60 Abc_Print( -1,
"Command line switch \"-P\" should be followed by an integer.\n" );
79 Abc_Print( -1,
"Empty network.\n" );
82 if ( Abc_NtkIsComb(pNtk) )
84 Abc_Print( -1,
"The network is combinational.\n" );
87 if ( !Abc_NtkIsStrash(pNtk) )
89 Abc_Print( -1,
"Currently only works for structurally hashed circuits.\n" );
92 if ( Abc_NtkConstrNum(pNtk) > 0 )
94 Abc_Print( -1,
"Constraints are already extracted.\n" );
97 if ( Abc_NtkPoNum(pNtk) > 1 && !fStruct )
99 Abc_Print( -1,
"Functional constraint extraction works for single-output miters (use \"orpos\").\n" );
103 pNtkRes =
Abc_NtkDarUnfold2( pNtk, nFrames, nConfs, nProps, fStruct, fOldAlgo, fVerbose );
104 if ( pNtkRes == NULL )
106 Abc_Print( 1,
"Transformation has failed.\n" );
113 Abc_Print( -2,
"usage: unfold2 [-FCP num] [-savh]\n" );
114 Abc_Print( -2,
"\t unfold hidden constraints as separate outputs\n" );
115 Abc_Print( -2,
"\t-C num : the max number of conflicts in SAT solving [default = %d]\n", nConfs );
116 Abc_Print( -2,
"\t-P num : the max number of constraint propagations [default = %d]\n", nProps );
117 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
118 Abc_Print( -2,
"\t-h : print the command usage\n");
Abc_Ntk_t * Abc_NtkDarUnfold2(Abc_Ntk_t *pNtk, int nFrames, int nConfs, int nProps, int fStruct, int fOldAlgo, int fVerbose)
ABC_DLL Abc_Ntk_t * Abc_FrameReadNtk(Abc_Frame_t *p)
ABC_DLL void Abc_FrameReplaceCurrentNetwork(Abc_Frame_t *p, Abc_Ntk_t *pNet)