diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-10-02 23:03:17 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-10-02 23:03:17 -0700 |
commit | 805eb96d6d1be9542fd9af90125df190f796703f (patch) | |
tree | 2758682a5e0cd6f19dfd198318b6aa7234ab18e4 /src/sat/bmc | |
parent | cfa7be1a07e3102195b2395f379f50e556dbf4e3 (diff) | |
download | abc-805eb96d6d1be9542fd9af90125df190f796703f.tar.gz abc-805eb96d6d1be9542fd9af90125df190f796703f.tar.bz2 abc-805eb96d6d1be9542fd9af90125df190f796703f.zip |
Integrating synthesis into the new BMC engine.
Diffstat (limited to 'src/sat/bmc')
-rw-r--r-- | src/sat/bmc/bmcBmcAnd.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/sat/bmc/bmcBmcAnd.c b/src/sat/bmc/bmcBmcAnd.c index 964ba54e..8cdd162d 100644 --- a/src/sat/bmc/bmcBmcAnd.c +++ b/src/sat/bmc/bmcBmcAnd.c @@ -775,12 +775,6 @@ int Gia_ManBmcPerform( Gia_Man_t * pGia, Bmc_AndPar_t * pPars ) abctime clk = Abc_Clock(); p = Bmc_MnaAlloc(); p->pFrames = Gia_ManBmcUnroll( pGia, pPars->nFramesMax, pPars->nFramesAdd, pPars->fVeryVerbose, &p->vPiMap ); - if ( pPars->fUseSynth ) - { - Gia_Man_t * pTemp = p->pFrames; - p->pFrames = Dam_ManAigSyn( pTemp, pPars->fVerbose, 0 ); - Gia_ManStop( pTemp ); - } nFramesMax = Gia_ManPoNum(p->pFrames) / Gia_ManPoNum(pGia); if ( pPars->fVerbose ) { @@ -789,6 +783,14 @@ int Gia_ManBmcPerform( Gia_Man_t * pGia, Bmc_AndPar_t * pPars ) } if ( pPars->fVerbose ) Gia_ManPrintStats( p->pFrames, NULL ); + if ( pPars->fUseSynth ) + { + Gia_Man_t * pTemp = p->pFrames; + p->pFrames = Dam_ManAigSyn( pTemp, pPars->fVerbose, 0 ); + Gia_ManStop( pTemp ); + if ( pPars->fVerbose ) + Gia_ManPrintStats( p->pFrames, NULL ); + } if ( pPars->fDumpFrames ) { Gia_AigerWrite( p->pFrames, "frames.aig", 0, 0 ); |