Commit bb22a20c by Alan Mishchenko

Support for representing programmable cell configuration data (bug fix).

parent f4d3bf85
...@@ -1327,7 +1327,10 @@ int Ifn_NtkMatch( Ifn_Ntk_t * p, word * pTruth, int nVars, int nConfls, int fVer ...@@ -1327,7 +1327,10 @@ int Ifn_NtkMatch( Ifn_Ntk_t * p, word * pTruth, int nVars, int nConfls, int fVer
int i, v, status, iMint = 0; int i, v, status, iMint = 0;
abctime clk = Abc_Clock(); abctime clk = Abc_Clock();
// abctime clkTru = 0, clkSat = 0, clk2; // abctime clkTru = 0, clkSat = 0, clk2;
sat_solver * pSat = sat_solver_new(); sat_solver * pSat;
if ( nVars == 0 )
return 1;
pSat = sat_solver_new();
Ifn_Prepare( p, pTruth, nVars ); Ifn_Prepare( p, pTruth, nVars );
sat_solver_setnvars( pSat, p->nPars ); sat_solver_setnvars( pSat, p->nPars );
Ifn_NtkAddConstraints( p, pSat ); Ifn_NtkAddConstraints( p, pSat );
......
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