abc-master
|
#include "gia.h"
#include "proof/cec/cec.h"
#include "sat/bmc/bmc.h"
#include "aig/aig/aig.h"
#include "aig/saig/saig.h"
#include "giaAig.h"
Go to the source code of this file.
int Gia_CommandSpecI | ( | Gia_Man_t * | pGia, |
int | nFramesInit, | ||
int | nBTLimitInit, | ||
int | fStart, | ||
int | fCheckMiter, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Implements iteration during speculation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1763 of file giaEquiv.c.
Function*************************************************************
Synopsis [Adds the next entry while making choices.]
Description []
SideEffects []
SeeAlso []
Definition at line 1499 of file giaEquiv.c.
int Gia_ManCheckTopoOrder | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns 0 if AIG is not in the required topo order.]
Description [AIG should be in such an order that the representative is always traversed before the node.]
SideEffects []
SeeAlso []
Definition at line 73 of file giaEquiv.c.
ABC_NAMESPACE_IMPL_START int Gia_ManCheckTopoOrder_rec | ( | Gia_Man_t * | p, |
Gia_Obj_t * | pObj | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [giaEquiv.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Manipulation of equivalence classes.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Returns 1 if AIG is not in the required topo order.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file giaEquiv.c.
int Gia_ManCountChoiceNodes | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Counts the number of choice nodes]
Description []
SideEffects []
SeeAlso []
Definition at line 1686 of file giaEquiv.c.
int Gia_ManCountChoices | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Counts the number of choices]
Description []
SideEffects []
SeeAlso []
Definition at line 1708 of file giaEquiv.c.
int* Gia_ManDeriveNexts | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Given representatives, derives pointers to the next objects.]
Description []
SideEffects []
SeeAlso []
Definition at line 97 of file giaEquiv.c.
void Gia_ManDeriveReprs | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Given points to the next objects, derives representatives.]
Description []
SideEffects []
SeeAlso []
Definition at line 129 of file giaEquiv.c.
int Gia_ManEquivCheckLits | ( | Gia_Man_t * | p, |
int | nLits | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 200 of file giaEquiv.c.
int Gia_ManEquivCountClasses | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 179 of file giaEquiv.c.
int Gia_ManEquivCountLits | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 253 of file giaEquiv.c.
int Gia_ManEquivCountLitsAll | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 160 of file giaEquiv.c.
int Gia_ManEquivCountOne | ( | Gia_Man_t * | p, |
int | i | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 282 of file giaEquiv.c.
Function*************************************************************
Synopsis [Removes pointers to the unmarked nodes..]
Description []
SideEffects []
SeeAlso []
Definition at line 533 of file giaEquiv.c.
Function*************************************************************
Synopsis [Transforms equiv classes by filtering those that correspond to disproved outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1273 of file giaEquiv.c.
void Gia_ManEquivFilterTest | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Transforms equiv classes by filtering those that correspond to disproved outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1349 of file giaEquiv.c.
void Gia_ManEquivFixOutputPairs | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 480 of file giaEquiv.c.
void Gia_ManEquivImprove | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Transforms equiv classes by setting a good representative.]
Description []
SideEffects []
SeeAlso []
Definition at line 1375 of file giaEquiv.c.
void Gia_ManEquivMark | ( | Gia_Man_t * | p, |
char * | pFileName, | ||
int | fSkipSome, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Marks proved equivalences.]
Description []
SideEffects []
SeeAlso []
Definition at line 1175 of file giaEquiv.c.
void Gia_ManEquivPrintClasses | ( | Gia_Man_t * | p, |
int | fVerbose, | ||
float | Mem | ||
) |
Definition at line 304 of file giaEquiv.c.
void Gia_ManEquivPrintOne | ( | Gia_Man_t * | p, |
int | i, | ||
int | Counter | ||
) |
Definition at line 292 of file giaEquiv.c.
Gia_Man_t* Gia_ManEquivReduce | ( | Gia_Man_t * | p, |
int | fUseAll, | ||
int | fDualOut, | ||
int | fSkipPhase, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 417 of file giaEquiv.c.
void Gia_ManEquivReduce_rec | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Gia_Obj_t * | pObj, | ||
int | fUseAll, | ||
int | fDualOut | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 389 of file giaEquiv.c.
Function*************************************************************
Synopsis [Reduces AIG while remapping equivalence classes.]
Description [Drops the pairs of outputs if they are proved equivalent.]
SideEffects []
SeeAlso []
Definition at line 638 of file giaEquiv.c.
Function*************************************************************
Synopsis [Removes pointers to the unmarked nodes..]
Description []
SideEffects []
SeeAlso []
Definition at line 592 of file giaEquiv.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns representative node.]
Description []
SideEffects []
SeeAlso []
Definition at line 360 of file giaEquiv.c.
Function*************************************************************
Synopsis [Marks CIs/COs/ANDs unreachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 670 of file giaEquiv.c.
int Gia_ManEquivSetColors | ( | Gia_Man_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Marks CIs/COs/ANDs unreachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 692 of file giaEquiv.c.
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1629 of file giaEquiv.c.
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 1520 of file giaEquiv.c.
void Gia_ManEquivTransform | ( | Gia_Man_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Transforms equiv classes by removing the AB nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1114 of file giaEquiv.c.
Function*************************************************************
Synopsis [Removes pointers to the unmarked nodes..]
Description []
SideEffects []
SeeAlso []
Definition at line 508 of file giaEquiv.c.
int Gia_ManFilterEquivsForSpeculation | ( | Gia_Man_t * | pGia, |
char * | pName1, | ||
char * | pName2, | ||
int | fLatchA, | ||
int | fLatchB | ||
) |
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1862 of file giaEquiv.c.
void Gia_ManFilterEquivsUsingLatches | ( | Gia_Man_t * | pGia, |
int | fFlopsOnly, | ||
int | fFlopsWith, | ||
int | fUseRiDrivers | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 2147 of file giaEquiv.c.
int Gia_ManFilterEquivsUsingParts | ( | Gia_Man_t * | pGia, |
char * | pName1, | ||
char * | pName2 | ||
) |
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1999 of file giaEquiv.c.
ABC_NAMESPACE_IMPL_END ABC_NAMESPACE_IMPL_START int Gia_ManHasNoEquivs | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns 1 if AIG has dangling nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1740 of file giaEquiv.c.
void Gia_ManPrintStatsClasses | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 219 of file giaEquiv.c.
void Gia_ManRemoveBadChoices | ( | Gia_Man_t * | p | ) |
Function*************************************************************
Synopsis [Removes choices, which contain fanouts.]
Description []
SideEffects []
SeeAlso []
Definition at line 1581 of file giaEquiv.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 728 of file giaEquiv.c.
void Gia_ManSpecBuildInit | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vXorLits, | ||
int | f, | ||
int | fDualOut | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 936 of file giaEquiv.c.
Gia_Man_t* Gia_ManSpecReduce | ( | Gia_Man_t * | p, |
int | fDualOut, | ||
int | fSynthesis, | ||
int | fSpeculate, | ||
int | fSkipSome, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 848 of file giaEquiv.c.
void Gia_ManSpecReduce_rec | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vXorLits, | ||
int | fDualOut, | ||
int | fSpeculate, | ||
Vec_Int_t * | vTrace, | ||
Vec_Int_t * | vGuide, | ||
Vec_Int_t * | vMap | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 770 of file giaEquiv.c.
Function*************************************************************
Synopsis [Creates initialized SRM with the given number of frames.]
Description []
SideEffects []
SeeAlso []
Definition at line 985 of file giaEquiv.c.
void Gia_ManSpecReduceInit_rec | ( | Gia_Man_t * | pNew, |
Gia_Man_t * | p, | ||
Gia_Obj_t * | pObj, | ||
Vec_Int_t * | vXorLits, | ||
int | f, | ||
int | fDualOut | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG in the DFS order.]
Description []
SideEffects []
SeeAlso []
Definition at line 963 of file giaEquiv.c.
Gia_Man_t* Gia_ManSpecReduceInitFrames | ( | Gia_Man_t * | p, |
Abc_Cex_t * | pInit, | ||
int | nFramesMax, | ||
int * | pnFrames, | ||
int | fDualOut, | ||
int | nMinOutputs | ||
) |
Function*************************************************************
Synopsis [Creates initialized SRM with the given number of frames.]
Description [Uses as many frames as needed to create the number of output not less than the number of equivalence literals.]
SideEffects []
SeeAlso []
Definition at line 1075 of file giaEquiv.c.
Function*************************************************************
Synopsis [Reduces AIG using equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 792 of file giaEquiv.c.
Function*************************************************************
Synopsis [Returns 1 if pOld is in the TFI of pNode.]
Description []
SideEffects []
SeeAlso []
Definition at line 1472 of file giaEquiv.c.
int Gia_ObjCheckTfi_rec | ( | Gia_Man_t * | p, |
Gia_Obj_t * | pOld, | ||
Gia_Obj_t * | pNode, | ||
Vec_Ptr_t * | vVisited | ||
) |
Function*************************************************************
Synopsis [Returns 1 if pOld is in the TFI of pNode.]
Description []
SideEffects []
SeeAlso []
Definition at line 1436 of file giaEquiv.c.