diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-25 22:07:32 -0500 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-25 22:07:32 -0500 |
commit | 7e293ebe08aac09a7dab351731f9e97c2b4dde27 (patch) | |
tree | 515831b7fe3aa80f95a31913b4601097017b20f6 /src/misc/util | |
parent | fe3b2e250bc642509e7c954b837d21d8c6bb8d42 (diff) | |
download | abc-7e293ebe08aac09a7dab351731f9e97c2b4dde27.tar.gz abc-7e293ebe08aac09a7dab351731f9e97c2b4dde27.tar.bz2 abc-7e293ebe08aac09a7dab351731f9e97c2b4dde27.zip |
User-controlable SAT sweeper.
Diffstat (limited to 'src/misc/util')
-rw-r--r-- | src/misc/util/abc_global.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index 21ae6a9c..914fd327 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -263,7 +263,8 @@ static inline int Abc_LitIsCompl( int Lit ) { return Lit & 1; static inline int Abc_LitNot( int Lit ) { return Lit ^ 1; } static inline int Abc_LitNotCond( int Lit, int c ) { return Lit ^ (int)(c > 0); } static inline int Abc_LitRegular( int Lit ) { return Lit & ~01; } -static inline int Abc_Lit2Lit( int * pMap, int Lit ) { return Abc_Var2Lit( pMap[Abc_Lit2Var(Lit)], Abc_LitIsCompl(Lit) ); } +static inline int Abc_Lit2LitV( int * pMap, int Lit ) { return Abc_Var2Lit( pMap[Abc_Lit2Var(Lit)], Abc_LitIsCompl(Lit) ); } +static inline int Abc_Lit2LitL( int * pMap, int Lit ) { return Abc_LitNotCond( pMap[Abc_Lit2Var(Lit)], Abc_LitIsCompl(Lit) ); } enum Abc_VerbLevel { |