Commit f3dcf87c by Alan Mishchenko

New exact synthesis command 'allexact'.

parent 75d334a0
...@@ -8473,7 +8473,7 @@ int Abc_CommandAllExact( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -8473,7 +8473,7 @@ int Abc_CommandAllExact( Abc_Frame_t * pAbc, int argc, char ** argv )
pPars->fOrderNodes ^= 1; pPars->fOrderNodes ^= 1;
break; break;
case 'e': case 'e':
pPars->fGenAll ^= 1; pPars->fEnumSols ^= 1;
break; break;
case 'g': case 'g':
pPars->fGlucose ^= 1; pPars->fGlucose ^= 1;
...@@ -8559,7 +8559,7 @@ usage: ...@@ -8559,7 +8559,7 @@ usage:
Abc_Print( -2, "\t-N <num> : the number of K-input nodes [default = %d]\n", pPars->nNodes ); Abc_Print( -2, "\t-N <num> : the number of K-input nodes [default = %d]\n", pPars->nNodes );
Abc_Print( -2, "\t-a : toggle using only AND-gates when K = 2 [default = %s]\n", pPars->fOnlyAnd ? "yes" : "no" ); Abc_Print( -2, "\t-a : toggle using only AND-gates when K = 2 [default = %s]\n", pPars->fOnlyAnd ? "yes" : "no" );
Abc_Print( -2, "\t-o : toggle using node ordering by fanins [default = %s]\n", pPars->fOrderNodes ? "yes" : "no" ); Abc_Print( -2, "\t-o : toggle using node ordering by fanins [default = %s]\n", pPars->fOrderNodes ? "yes" : "no" );
Abc_Print( -2, "\t-e : toggle enumerating all solutions [default = %s]\n", pPars->fGenAll ? "yes" : "no" ); Abc_Print( -2, "\t-e : toggle enumerating all solutions [default = %s]\n", pPars->fEnumSols ? "yes" : "no" );
// Abc_Print( -2, "\t-g : toggle using Glucose 3.0 by Gilles Audemard and Laurent Simon [default = %s]\n", pPars->fGlucose ? "yes" : "no" ); // Abc_Print( -2, "\t-g : toggle using Glucose 3.0 by Gilles Audemard and Laurent Simon [default = %s]\n", pPars->fGlucose ? "yes" : "no" );
Abc_Print( -2, "\t-v : toggle verbose printout [default = %s]\n", pPars->fVerbose ? "yes" : "no" ); Abc_Print( -2, "\t-v : toggle verbose printout [default = %s]\n", pPars->fVerbose ? "yes" : "no" );
Abc_Print( -2, "\t-h : print the command usage\n" ); Abc_Print( -2, "\t-h : print the command usage\n" );
...@@ -52,11 +52,10 @@ struct Bmc_EsPar_t_ ...@@ -52,11 +52,10 @@ struct Bmc_EsPar_t_
int nLutSize; int nLutSize;
int nMajSupp; int nMajSupp;
int fMajority; int fMajority;
int fEnumSols;
int fOnlyAnd; int fOnlyAnd;
int fGlucose; int fGlucose;
int fOrderNodes; int fOrderNodes;
int fGenAll; int fEnumSols;
int fFewerVars; int fFewerVars;
int fVerbose; int fVerbose;
char * pTtStr; char * pTtStr;
...@@ -70,11 +69,10 @@ static inline void Bmc_EsParSetDefault( Bmc_EsPar_t * pPars ) ...@@ -70,11 +69,10 @@ static inline void Bmc_EsParSetDefault( Bmc_EsPar_t * pPars )
pPars->nLutSize = 2; pPars->nLutSize = 2;
pPars->nMajSupp = 0; pPars->nMajSupp = 0;
pPars->fMajority = 0; pPars->fMajority = 0;
pPars->fEnumSols = 0;
pPars->fOnlyAnd = 0; pPars->fOnlyAnd = 0;
pPars->fGlucose = 0; pPars->fGlucose = 0;
pPars->fOrderNodes = 0; pPars->fOrderNodes = 0;
pPars->fGenAll = 0; pPars->fEnumSols = 0;
pPars->fFewerVars = 0; pPars->fFewerVars = 0;
pPars->fVerbose = 1; pPars->fVerbose = 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