summaryrefslogtreecommitdiffstats
path: root/src/map/mpm/mpmGates.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-07-20 23:19:28 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-07-20 23:19:28 -0700
commitf917de3498159ecb5816eca0c7950e4ce8d22a3f (patch)
tree6382ffb326ddc8b56280832c3c8a349f48af98a9 /src/map/mpm/mpmGates.c
parent56592b28c20d09825d5f2c8159de35590b4d1b10 (diff)
downloadabc-f917de3498159ecb5816eca0c7950e4ce8d22a3f.tar.gz
abc-f917de3498159ecb5816eca0c7950e4ce8d22a3f.tar.bz2
abc-f917de3498159ecb5816eca0c7950e4ce8d22a3f.zip
Improvements to the SCL package.
Diffstat (limited to 'src/map/mpm/mpmGates.c')
-rw-r--r--src/map/mpm/mpmGates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mpm/mpmGates.c b/src/map/mpm/mpmGates.c
index 4e31fb34..99e0db40 100644
--- a/src/map/mpm/mpmGates.c
+++ b/src/map/mpm/mpmGates.c
@@ -218,7 +218,7 @@ Abc_Ntk_t * Mpm_ManDeriveMappedAbcNtk( Mpm_Man_t * p, Mio_Library_t * pMio )
pObj = Abc_NtkCreateNode( pNtk );
pObj->pData = Vec_PtrEntry( vNpnGatesMio, Abc_Lit2Var(pCutBest->iFunc) );
assert( pObj->pData != NULL );
- fCompl = Abc_LitIsCompl(pCutBest->iFunc) ^ ((Config >> 16) & 1);
+ fCompl = pCutBest->fCompl ^ Abc_LitIsCompl(pCutBest->iFunc) ^ ((Config >> 16) & 1);
Config &= 0xFFFF;
for ( k = 0; k < (int)pCutBest->nLeaves; k++ )
{