Commit 1b59ec57 by Alan Mishchenko

Adding miter construction with one bit-level output for each pair of word-level…

Adding miter construction with one bit-level output for each pair of word-level outputs (small fix).
parent 81282155
...@@ -808,7 +808,7 @@ int Gia_ManHashAndMulti2( Gia_Man_t * p, Vec_Int_t * vLits ) ...@@ -808,7 +808,7 @@ int Gia_ManHashAndMulti2( Gia_Man_t * p, Vec_Int_t * vLits )
} }
int Gia_ManHashDualMiter( Gia_Man_t * p, Vec_Int_t * vOuts ) int Gia_ManHashDualMiter( Gia_Man_t * p, Vec_Int_t * vOuts )
{ {
int i, iLit0, iLit1, iRes = 1; int i, iLit0, iLit1, iRes = 0;
Vec_IntForEachEntryDouble( vOuts, iLit0, iLit1, i ) Vec_IntForEachEntryDouble( vOuts, iLit0, iLit1, i )
iRes = Gia_ManHashOr( p, iRes, Gia_ManHashXor(p, iLit0, iLit1) ); iRes = Gia_ManHashOr( p, iRes, Gia_ManHashXor(p, iLit0, iLit1) );
return iRes; return iRes;
......
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