21#ifndef ABC__proof__acec__acec__int_h
22#define ABC__proof__acec__acec__int_h
59static inline int Acec_SignBit(
Vec_Int_t * vAdds,
int iBox,
int b ) {
return (Vec_IntEntry(vAdds, 6*iBox+5) >> b) & 1; }
60static inline int Acec_SignBit2(
Vec_Int_t * vAdds,
int iBox,
int b ) {
return (Vec_IntEntry(vAdds, 6*iBox+5) >> (16+b)) & 1; }
62static inline void Acec_SignSetBit(
Vec_Int_t * vAdds,
int iBox,
int b,
int v ) {
if ( v ) *Vec_IntEntryP(vAdds, 6*iBox+5) |= (1 << b); }
63static inline void Acec_SignSetBit2(
Vec_Int_t * vAdds,
int iBox,
int b,
int v ) {
if ( v ) *Vec_IntEntryP(vAdds, 6*iBox+5) |= (1 << (16+b)); }
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
void Acec_InsertFadd(Gia_Man_t *pNew, int In[3], int Out[2])
void Acec_PrintAdders(Vec_Wec_t *vBoxes, Vec_Int_t *vAdds)
Acec_Box_t * Acec_DeriveBox(Gia_Man_t *p, Vec_Bit_t *vIgnore, int fFilterIn, int fFilterOut, int fVerbose)
Vec_Bit_t * Acec_BoothFindPPG(Gia_Man_t *p)
Vec_Int_t * Gia_PolynCoreOrder(Gia_Man_t *pGia, Vec_Int_t *vAdds, Vec_Int_t *vAddCos, Vec_Int_t **pvIns, Vec_Int_t **pvOuts)
ITERATORS ///.
Vec_Int_t * Gia_PolynCollectLastXor(Gia_Man_t *pGia, int fVerbose)
Vec_Int_t * Acec_MultDetectInputs(Gia_Man_t *p, Vec_Wec_t *vLeafLits, Vec_Wec_t *vRootLits)
Gia_Man_t * Acec_InsertBox(Acec_Box_t *pBox, int fAll)
Vec_Bit_t * Acec_MultMarkPPs(Gia_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Acec_Box_t_ Acec_Box_t
INCLUDES ///.
Acec_Box_t * Acec_ProduceBox(Gia_Man_t *p, int fVerbose)
Vec_Wec_t * Gia_PolynCoreOrderArray(Gia_Man_t *pGia, Vec_Int_t *vAdds, Vec_Int_t *vRootBoxes)
void Acec_TreePrintBox(Acec_Box_t *pBox, Vec_Int_t *vAdds)
void Acec_BoxFreeP(Acec_Box_t **ppBox)
void Gia_PolynAnalyzeXors(Gia_Man_t *pGia, int fVerbose)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
struct Gia_Man_t_ Gia_Man_t
typedefABC_NAMESPACE_HEADER_START struct Vec_Bit_t_ Vec_Bit_t
INCLUDES ///.
typedefABC_NAMESPACE_HEADER_START struct Vec_Wec_t_ Vec_Wec_t
INCLUDES ///.