Changes to LUT mappers.

This commit is contained in:
Alan Mishchenko
2014-03-04 18:39:00 -08:00
parent 5f9ca14a7f
commit a2ff2cb9c3
6 changed files with 421 additions and 165 deletions
+1 -2
View File
@@ -1528,8 +1528,7 @@ Gia_Man_t * Gia_ManPerformMapping( Gia_Man_t * p, void * pp, int fNormalized )
If_Man_t * pIfMan;
If_Par_t * pPars = (If_Par_t *)pp;
// disable cut minimization when GIA strucure is needed
// if ( !pPars->fDelayOpt && !pPars->fUserRecLib && !pPars->fDeriveLuts )
if ( !pPars->fDelayOpt && !pPars->fUserRecLib && !pPars->pLutStruct )
if ( !pPars->fDelayOpt && !pPars->fUserRecLib && ((!pPars->fDeriveLuts && !pPars->fUseDsd) || !pPars->pLutStruct) )
pPars->fCutMin = 0;
// reconstruct GIA according to the hierarchy manager