mirror of https://github.com/YosysHQ/abc.git
Trying to fix a false-positive due to incorrect inductive termination check in 'int' when K is more than 1 (not fixed yet).
This commit is contained in:
parent
61211df4ff
commit
16fd67f0ab
|
|
@ -169,14 +169,16 @@ p->timeCnf += clock() - clk;
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
// start containment checking
|
// start containment checking
|
||||||
if ( !(pPars->fTransLoop || pPars->fUseBackward) )
|
if ( !(pPars->fTransLoop || pPars->fUseBackward || pPars->nFramesK > 1) )
|
||||||
{
|
{
|
||||||
pCheck = Inter_CheckStart( p->pAigTrans, pPars->nFramesK );
|
pCheck = Inter_CheckStart( p->pAigTrans, pPars->nFramesK );
|
||||||
// try new containment check for the initial state
|
// try new containment check for the initial state
|
||||||
clk = clock();
|
clk = clock();
|
||||||
pCnfInter2 = Cnf_Derive( p->pInter, 1 );
|
pCnfInter2 = Cnf_Derive( p->pInter, 1 );
|
||||||
p->timeCnf += clock() - clk;
|
p->timeCnf += clock() - clk;
|
||||||
|
clk = clock();
|
||||||
RetValue = Inter_CheckPerform( pCheck, pCnfInter2, nTimeNewOut );
|
RetValue = Inter_CheckPerform( pCheck, pCnfInter2, nTimeNewOut );
|
||||||
|
p->timeEqu += clock() - clk;
|
||||||
// assert( RetValue == 0 );
|
// assert( RetValue == 0 );
|
||||||
Cnf_DataFree( pCnfInter2 );
|
Cnf_DataFree( pCnfInter2 );
|
||||||
if ( p->vInters )
|
if ( p->vInters )
|
||||||
|
|
@ -296,8 +298,12 @@ clk = clock();
|
||||||
{
|
{
|
||||||
if ( Aig_ManPiNum(p->pInterNew) == Aig_ManPiNum(p->pInter) )
|
if ( Aig_ManPiNum(p->pInterNew) == Aig_ManPiNum(p->pInter) )
|
||||||
{
|
{
|
||||||
if ( pPars->fTransLoop || pPars->fUseBackward )
|
if ( pPars->fTransLoop || pPars->fUseBackward || pPars->nFramesK > 1 )
|
||||||
Status = Inter_ManCheckInductiveContainment( p->pAigTrans, p->pInterNew, pPars->nFramesK, pPars->fUseBackward );
|
{
|
||||||
|
clk2 = clock();
|
||||||
|
Status = Inter_ManCheckInductiveContainment( p->pAigTrans, p->pInterNew, Abc_MinInt(i + 1, pPars->nFramesK), pPars->fUseBackward );
|
||||||
|
timeTemp = clock() - clk2;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{ // new containment check
|
{ // new containment check
|
||||||
clk2 = clock();
|
clk2 = clock();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue