diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-04-11 08:57:03 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-04-11 08:57:03 -0700 |
commit | b9274a07deec99f6b9e23d3bf481b2e5213c5e8f (patch) | |
tree | 2855ec988ef9c489b1a3f8a1002597fbaafc6b81 /src/aig | |
parent | 116c35a02190c427a0a2aeea729915f0e05ab90b (diff) | |
download | abc-b9274a07deec99f6b9e23d3bf481b2e5213c5e8f.tar.gz abc-b9274a07deec99f6b9e23d3bf481b2e5213c5e8f.tar.bz2 abc-b9274a07deec99f6b9e23d3bf481b2e5213c5e8f.zip |
Improvements to DSD in technology mapping.
Diffstat (limited to 'src/aig')
-rw-r--r-- | src/aig/gia/giaIf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c index c795f5f5..77b37987 100644 --- a/src/aig/gia/giaIf.c +++ b/src/aig/gia/giaIf.c @@ -1200,9 +1200,9 @@ int Gia_ManFromIfLogicFindLut( If_Man_t * pIfMan, Gia_Man_t * pNew, If_Cut_t * p } return RetValue; } - assert( If_DsdManSuppSize(pIfMan->pIfDsdMan, pCutBest->iCutDsd) == (int)pCutBest->nLeaves ); + assert( If_DsdManSuppSize(pIfMan->pIfDsdMan, If_CutDsdLit(pIfMan, pCutBest)) == (int)pCutBest->nLeaves ); // find the bound set - uSetOld = If_DsdManCheckXY( pIfMan->pIfDsdMan, pCutBest->iCutDsd, nLutSize, 1, 1, 0 ); + uSetOld = If_DsdManCheckXY( pIfMan->pIfDsdMan, If_CutDsdLit(pIfMan, pCutBest), nLutSize, 1, 1, 0 ); // remap bound set uSetNew = 0; for ( k = 0; k < If_CutLeaveNum(pCutBest); k++ ) |