Commit 40d29e78 by Yen-Sheng Ho

only try scorr on small circuits

parent cb603c5e
...@@ -1124,6 +1124,9 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars ) ...@@ -1124,6 +1124,9 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars )
if ( vClauses && pPars->fCheckCombUnsat ) if ( vClauses && pPars->fCheckCombUnsat )
{ {
Pdr_Man_t * pPdr2; Pdr_Man_t * pPdr2;
if ( Aig_ManAndNum( pAig ) <= 20000 )
{
Aig_Man_t * pAigScorr; Aig_Man_t * pAigScorr;
Ssw_Pars_t ScorrPars, * pScorrPars = &ScorrPars; Ssw_Pars_t ScorrPars, * pScorrPars = &ScorrPars;
int nAnds; int nAnds;
...@@ -1153,6 +1156,7 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars ) ...@@ -1153,6 +1156,7 @@ int Wlc_NtkPdrAbs( Wlc_Ntk_t * p, Wlc_Par_t * pPars )
Abc_Print( 1, "SCORR failed with %d ANDs. ", nAnds); Abc_Print( 1, "SCORR failed with %d ANDs. ", nAnds);
Abc_PrintTime( 1, "Time", Abc_Clock() - clk2 ); Abc_PrintTime( 1, "Time", Abc_Clock() - clk2 );
} }
}
clk2 = Abc_Clock(); clk2 = Abc_Clock();
......
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