Commit 902377a4 by Alan Mishchenko

Delay-oriented performance improvement in &dch.

parent 9514c327
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "proof/fra/fra.h" #include "proof/fra/fra.h"
#include "proof/dch/dch.h" #include "proof/dch/dch.h"
#include "opt/dar/dar.h" #include "opt/dar/dar.h"
#include "opt/dau/dau.h"
ABC_NAMESPACE_IMPL_START ABC_NAMESPACE_IMPL_START
...@@ -576,11 +577,16 @@ Gia_Man_t * Gia_ManCompress2( Gia_Man_t * p, int fUpdateLevel, int fVerbose ) ...@@ -576,11 +577,16 @@ Gia_Man_t * Gia_ManCompress2( Gia_Man_t * p, int fUpdateLevel, int fVerbose )
***********************************************************************/ ***********************************************************************/
Gia_Man_t * Gia_ManPerformDch( Gia_Man_t * p, void * pPars ) Gia_Man_t * Gia_ManPerformDch( Gia_Man_t * p, void * pPars )
{ {
Gia_Man_t * pGia; Gia_Man_t * pGia, * pGia1;
Aig_Man_t * pNew; Aig_Man_t * pNew;
if ( p->pManTime && p->vLevels == NULL ) if ( p->pManTime && p->vLevels == NULL )
Gia_ManLevelWithBoxes( p ); Gia_ManLevelWithBoxes( p );
pNew = Gia_ManToAig( p, 0 ); if ( Gia_ManHasMapping(p) )
pGia1 = (Gia_Man_t *)Dsm_ManDeriveGia( p, 0 );
else
pGia1 = Gia_ManDup( p );
pNew = Gia_ManToAig( pGia1, 0 );
Gia_ManStop( pGia1 );
pNew = Dar_ManChoiceNew( pNew, (Dch_Pars_t *)pPars ); pNew = Dar_ManChoiceNew( pNew, (Dch_Pars_t *)pPars );
// pGia = Gia_ManFromAig( pNew ); // pGia = Gia_ManFromAig( pNew );
pGia = Gia_ManFromAigChoices( pNew ); pGia = Gia_ManFromAigChoices( pNew );
......
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