Go to the source code of this file.
DECLARATIONS ///. 
FUNCTION DECLARATIONS ///.
CFile****************************************************************
FileName [aigCheck.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [AIG package.]
Synopsis [AIG checking procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - April 28, 2007.]
Revision [
- Id:
 - aigCheck.c,v 1.00 2007/04/28 00:00:00 alanmi Exp 
 
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Checks the consistency of the AIG manager.]
Description []
SideEffects []
SeeAlso [] 
Definition at line 45 of file aigCheck.c.
   54             printf( 
"Aig_ManCheck: The PI node \"%p\" has fanins.\n", pObj );
 
   63             printf( 
"Aig_ManCheck: The PO node \"%p\" has NULL fanin.\n", pObj );
 
   68             printf( 
"Aig_ManCheck: The PO node \"%p\" has second fanin.\n", pObj );
 
   79             printf( 
"Aig_ManCheck: The AIG has internal node \"%p\" with a NULL fanin.\n", pObj );
 
   84             printf( 
"Aig_ManCheck: The AIG has node \"%p\" with a wrong ordering of fanins.\n", pObj );
 
   90             printf( 
"Aig_ManCheck: Node \"%p\" is not in the structural hashing table.\n", pObj );
 
   98         printf( 
"Aig_ManCheck: The number of created nodes is wrong.\n" );
 
   99         printf( 
"C1 = %d. Pi = %d. Po = %d. Buf = %d. And = %d. Xor = %d. Total = %d.\n",
 
  102         printf( 
"Created = %d. Deleted = %d. Existing = %d.\n",
 
  109         printf( 
"Aig_ManCheck: The number of nodes in the structural hashing table is wrong.\n" );
 
  110         printf( 
"Entries = %d. And = %d. Xor = %d. Total = %d.\n", 
 
Aig_Obj_t * Aig_TableLookup(Aig_Man_t *p, Aig_Obj_t *pGhost)
 
static int Aig_ManObjNum(Aig_Man_t *p)
 
static Aig_Obj_t * Aig_ObjFanin0(Aig_Obj_t *pObj)
 
#define Aig_ManForEachCi(p, pObj, i)
ITERATORS ///. 
 
#define Aig_ManForEachCo(p, pObj, i)
 
static Aig_Obj_t * Aig_ObjFanin1(Aig_Obj_t *pObj)
 
static int Aig_ManBufNum(Aig_Man_t *p)
 
static int Aig_ObjIsNode(Aig_Obj_t *pObj)
 
static int Aig_ManCoNum(Aig_Man_t *p)
 
static int Aig_ManCiNum(Aig_Man_t *p)
 
int Aig_TableCountEntries(Aig_Man_t *p)
 
static int Aig_ManObjNumMax(Aig_Man_t *p)
 
#define Aig_ManForEachObj(p, pObj, i)
 
static int Aig_ManAndNum(Aig_Man_t *p)
 
static int Aig_ManExorNum(Aig_Man_t *p)
 
 
 
 
Function*************************************************************
Synopsis [Checks if the markA is reset.]
Description []
SideEffects []
SeeAlso [] 
Definition at line 132 of file aigCheck.c.
  137         assert( pObj->fMarkA == 0 );
 
#define Aig_ManForEachObj(p, pObj, i)
 
 
 
 
Function*************************************************************
Synopsis [Checks the consistency of phase assignment.]
Description []
SideEffects []
SeeAlso [] 
Definition at line 151 of file aigCheck.c.
  157             assert( (
int)pObj->fPhase == 0 );
 
static Aig_Obj_t * Aig_ObjChild0(Aig_Obj_t *pObj)
 
static Aig_Obj_t * Aig_ObjChild1(Aig_Obj_t *pObj)
 
static int Aig_ObjPhaseReal(Aig_Obj_t *pObj)
 
#define Aig_ManForEachObj(p, pObj, i)
 
static int Aig_ObjIsCi(Aig_Obj_t *pObj)