Commit 9b3dd44c by Alan Mishchenko

Enabling additional matching feature in the LUT mapper.

parent ee1e20dd
...@@ -1796,13 +1796,13 @@ int If_CluCheckDecInU( word t, int nVars ) ...@@ -1796,13 +1796,13 @@ int If_CluCheckDecInU( word t, int nVars )
Cof2[1] = Abc_Tt6Cofactor1( t, v ); Cof2[1] = Abc_Tt6Cofactor1( t, v );
for ( u = v+1; u < nVars; u++ ) for ( u = v+1; u < nVars; u++ )
{ {
Cof4[0] = Abc_Tt6Cofactor0( Cof2[0], u ); Cof4[0] = Abc_Tt6Cofactor0( Cof2[0], u ); // 00
Cof4[1] = Abc_Tt6Cofactor1( Cof2[0], u ); Cof4[1] = Abc_Tt6Cofactor1( Cof2[0], u ); // 01
Cof4[2] = Abc_Tt6Cofactor0( Cof2[1], u ); Cof4[2] = Abc_Tt6Cofactor0( Cof2[1], u ); // 10
Cof4[3] = Abc_Tt6Cofactor1( Cof2[1], u ); Cof4[3] = Abc_Tt6Cofactor1( Cof2[1], u ); // 11
if ( Cof4[0] == Cof4[1] && Cof4[0] == Cof4[2] ) if ( Cof4[0] == Cof4[1] && Cof4[0] == Cof4[2] ) // F * a
return 1; return 1;
if ( Cof4[0] == Cof4[2] && Cof4[0] == Cof4[3] ) if ( Cof4[0] == Cof4[2] && Cof4[0] == Cof4[3] ) // !F * a
return 1; return 1;
} }
} }
......
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