summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcIf.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:40:43 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 14:40:43 -0700
commitd82be1fd05d0a8300f2cbc8fa532647f6e8b40d5 (patch)
tree7749248c0278445eda2d89434a83048023a949a3 /src/base/abci/abcIf.c
parentb0e04dc2c30ad8bc0995f0728a494442271d323b (diff)
downloadabc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.tar.gz
abc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.tar.bz2
abc-d82be1fd05d0a8300f2cbc8fa532647f6e8b40d5.zip
Improvements to technology mapping.
Diffstat (limited to 'src/base/abci/abcIf.c')
-rw-r--r--src/base/abci/abcIf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcIf.c b/src/base/abci/abcIf.c
index e53e06a7..feed5579 100644
--- a/src/base/abci/abcIf.c
+++ b/src/base/abci/abcIf.c
@@ -501,7 +501,7 @@ Abc_Obj_t * Abc_NodeFromIf_rec( Abc_Ntk_t * pNtkNew, If_Man_t * pIfMan, If_Obj_t
if ( pIfMan->pPars->fUseTtPerm )
for ( i = 0; i < (int)pCutBest->nLeaves; i++ )
if ( If_CutLeafBit(pCutBest, i) )
- Abc_TtFlip( pTruth, Abc_TtWordNum(pCutBest->nLimit), i );
+ Abc_TtFlip( pTruth, Abc_TtWordNum(pCutBest->nLeaves), i );
pNodeNew->pData = Kit_TruthToHop( (Hop_Man_t *)pNtkNew->pManFunc, (unsigned *)pTruth, If_CutLeaveNum(pCutBest), vCover );
}
// complement the node if the cut was complemented