diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-06 17:16:16 +0300 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-06 17:16:16 +0300 |
commit | f97b8d2882bc69d37e6559a12b9e31a988a7eb97 (patch) | |
tree | 2673a43f17559b71c4d71562bb175fc82517175f /src/aig/gia/giaHash.c | |
parent | 02972e53c21d99c98c3c7f818669fb006cb81b40 (diff) | |
download | abc-f97b8d2882bc69d37e6559a12b9e31a988a7eb97.tar.gz abc-f97b8d2882bc69d37e6559a12b9e31a988a7eb97.tar.bz2 abc-f97b8d2882bc69d37e6559a12b9e31a988a7eb97.zip |
Improvements to SAT based SOP computation.
Diffstat (limited to 'src/aig/gia/giaHash.c')
-rw-r--r-- | src/aig/gia/giaHash.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/aig/gia/giaHash.c b/src/aig/gia/giaHash.c index c80f9e07..c6067312 100644 --- a/src/aig/gia/giaHash.c +++ b/src/aig/gia/giaHash.c @@ -798,6 +798,13 @@ int Gia_ManHashAndMulti( Gia_Man_t * p, Vec_Int_t * vLits ) assert( Vec_IntSize(vLits) == 1 ); return Vec_IntEntry(vLits, 0); } +int Gia_ManHashAndMulti2( Gia_Man_t * p, Vec_Int_t * vLits ) +{ + int i, iLit, iRes = 1; + Vec_IntForEachEntry( vLits, iLit, i ) + iRes = Gia_ManHashAnd( p, iRes, iLit ); + return iRes; +} //////////////////////////////////////////////////////////////////////// /// END OF FILE /// |