Commit 96b9192c by Alan Mishchenko

Experiments with MUX decomposition.

parent 5a135c87
......@@ -211,6 +211,7 @@ Gia_Man_t * Gia_ManPerformMuxDec( Gia_Man_t * p )
Gia_ManHashAlloc( pNew );
for ( o = 0; o < Gia_ManCoNum(p); o++ )
{
Abc_TtReverseVars( pRes+o*nWords, nWords );
Vec_IntClear( vDatas );
for ( i = 0; i < nWords; i++ )
Vec_IntPush( vDatas, Kit_TruthToGia(pNew, (unsigned *)(pRes+o*nWords+i), 6, vMemory, vLeaves, 1) );
......
......@@ -1219,8 +1219,8 @@ float If_CutEdgeDerefed( If_Man_t * p, If_Cut_t * pCut )
return pCut->nLeaves;
aResult2 = If_CutEdgeRef( p, pCut );
aResult = If_CutEdgeDeref( p, pCut );
assert( aResult > aResult2 - 3*p->fEpsilon );
assert( aResult < aResult2 + 3*p->fEpsilon );
// assert( aResult > aResult2 - 3*p->fEpsilon );
// assert( aResult < aResult2 + 3*p->fEpsilon );
return aResult;
}
......@@ -1242,8 +1242,8 @@ float If_CutEdgeRefed( If_Man_t * p, If_Cut_t * pCut )
return pCut->nLeaves;
aResult2 = If_CutEdgeDeref( p, pCut );
aResult = If_CutEdgeRef( p, pCut );
assert( aResult > aResult2 - p->fEpsilon );
assert( aResult < aResult2 + p->fEpsilon );
// assert( aResult > aResult2 - p->fEpsilon );
// assert( aResult < aResult2 + p->fEpsilon );
return aResult;
}
......
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