abc-master
|
#include "base/abc/abc.h"
#include "bool/dec/dec.h"
#include "opt/cut/cut.h"
#include "misc/extra/extraBdd.h"
#include "bdd/dsd/dsd.h"
Go to the source code of this file.
Data Structures | |
struct | Abc_ManRst_t_ |
Macros | |
#define | RST_RANDOM_UNSIGNED ((((unsigned)rand()) << 24) ^ (((unsigned)rand()) << 12) ^ ((unsigned)rand())) |
DECLARATIONS ///. More... | |
Typedefs | |
typedef struct Abc_ManRst_t_ | Abc_ManRst_t |
#define RST_RANDOM_UNSIGNED ((((unsigned)rand()) << 24) ^ (((unsigned)rand()) << 12) ^ ((unsigned)rand())) |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcRestruct.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 34 of file abcRestruct.c.
typedef struct Abc_ManRst_t_ Abc_ManRst_t |
Definition at line 36 of file abcRestruct.c.
int Abc_Abc_NodeResubCollectDivs | ( | Abc_ManRst_t * | p, |
Abc_Obj_t * | pRoot, | ||
Cut_Cut_t * | pCut | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1096 of file abcRestruct.c.
int Abc_NodeCheckFull | ( | Abc_ManRst_t * | p, |
Dec_Graph_t * | pGraph | ||
) |
Function*************************************************************
Synopsis [Full equality check.]
Description []
SideEffects []
SeeAlso []
Definition at line 1234 of file abcRestruct.c.
void Abc_NodeEdgeDsdPermute | ( | Dec_Graph_t * | pGraph, |
Abc_ManRst_t * | pManRst, | ||
Vec_Int_t * | vEdges, | ||
int | fExor | ||
) |
Function*************************************************************
Synopsis [Moves closer to the end the node that is best for sharing.]
Description [If the flag is set, tries to find an EXOR, otherwise, tries to find an OR.]
SideEffects []
SeeAlso []
Definition at line 483 of file abcRestruct.c.
void Abc_NodeEdgeDsdPushOrdered | ( | Dec_Graph_t * | pGraph, |
Vec_Int_t * | vEdges, | ||
int | Edge | ||
) |
Function*************************************************************
Synopsis [Adds the new edge in the given order.]
Description [Similar to Vec_IntPushOrder, except in decreasing order.]
SideEffects []
SeeAlso []
Definition at line 557 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Evaluation one DSD.]
Description []
SideEffects []
SeeAlso []
Definition at line 903 of file abcRestruct.c.
Dec_Edge_t Abc_NodeEvaluateDsd_rec | ( | Dec_Graph_t * | pGraph, |
Abc_ManRst_t * | pManRst, | ||
Dsd_Node_t * | pNodeDsd, | ||
int | Required, | ||
int | nNodesSaved, | ||
int * | pnNodesAdded | ||
) |
Function*************************************************************
Synopsis [Evaluation one DSD.]
Description []
SideEffects []
SeeAlso []
Definition at line 585 of file abcRestruct.c.
Dec_Graph_t* Abc_NodeMffcConstants | ( | Abc_ManRst_t * | p, |
Vec_Int_t * | vSims | ||
) |
Function*************************************************************
Synopsis [Detect contants.]
Description []
SideEffects []
SeeAlso []
Definition at line 1249 of file abcRestruct.c.
Dec_Graph_t* Abc_NodeMffcDoubleNode | ( | Abc_ManRst_t * | p, |
Vec_Int_t * | vSims, | ||
int | nNodes, | ||
Vec_Int_t * | vOnes | ||
) |
Function*************************************************************
Synopsis [Detect single non-overlaps.]
Description []
SideEffects []
SeeAlso []
Definition at line 1358 of file abcRestruct.c.
Function*************************************************************
Synopsis [Performs simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1199 of file abcRestruct.c.
Dec_Graph_t* Abc_NodeMffcSingleNode | ( | Abc_ManRst_t * | p, |
Vec_Int_t * | vSims, | ||
int | nNodes, | ||
Vec_Int_t * | vOnes | ||
) |
Function*************************************************************
Synopsis [Detect single non-overlaps.]
Description []
SideEffects []
SeeAlso []
Definition at line 1322 of file abcRestruct.c.
Dec_Graph_t* Abc_NodeMffcSingleVar | ( | Abc_ManRst_t * | p, |
Vec_Int_t * | vSims, | ||
int | nNodes, | ||
Vec_Int_t * | vOnes | ||
) |
Function*************************************************************
Synopsis [Detect single non-overlaps.]
Description []
SideEffects []
SeeAlso []
Definition at line 1279 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Starts the cut manager for rewriting.]
Description []
SideEffects []
SeeAlso []
Definition at line 283 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Starts the cut manager for rewriting.]
Description []
SideEffects []
SeeAlso []
Definition at line 319 of file abcRestruct.c.
Dec_Graph_t* Abc_NodeResubEval | ( | Abc_ManRst_t * | p, |
Abc_Obj_t * | pRoot, | ||
Cut_Cut_t * | pCut | ||
) |
Function*************************************************************
Synopsis [Evaluates resubstution of one cut.]
Description [Returns the graph to add if any.]
SideEffects []
SeeAlso []
Definition at line 1379 of file abcRestruct.c.
int Abc_NodeResubMffc | ( | Abc_ManRst_t * | p, |
Vec_Ptr_t * | vDecs, | ||
int | nLeaves, | ||
Abc_Obj_t * | pRoot | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1160 of file abcRestruct.c.
int Abc_NodeResubMffc_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 1140 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Performs resubstution.]
Description []
SideEffects []
SeeAlso []
Definition at line 1460 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1067 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Starts the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 995 of file abcRestruct.c.
|
static |
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1040 of file abcRestruct.c.
int Abc_NtkRestructure | ( | Abc_Ntk_t * | pNtk, |
int | nCutMax, | ||
int | fUpdateLevel, | ||
int | fUseZeros, | ||
int | fVerbose | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Implements AIG restructuring.]
Description []
SideEffects []
SeeAlso []
Definition at line 101 of file abcRestruct.c.
Function*************************************************************
Synopsis [Starts the cut manager for rewriting.]
Description []
SideEffects []
SeeAlso []
Definition at line 956 of file abcRestruct.c.
void Abc_RestructNodeDivisors | ( | Abc_ManRst_t * | p, |
Abc_Obj_t * | pRoot, | ||
int | nNodesSaved | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 212 of file abcRestruct.c.