abc-master
|
#include "abc.h"
Go to the source code of this file.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out CIs/COs. However it marks both CIs and COs with the current TravId.]
SideEffects []
SeeAlso []
Definition at line 1014 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out CIs/COs. However it marks both CIs and COs with the current TravId.]
SideEffects []
SeeAlso []
Definition at line 1054 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns nodes by level from the smallest to the largest.]
Description [Correctly handles the case of choice nodes, by first spreading them out across several levels and then collecting.]
SideEffects [What happens with dangling nodes???]
SeeAlso []
Definition at line 1649 of file abcDfs.c.
int Abc_AigSetChoiceLevels | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Resets the levels of the nodes in the choice graph.]
Description [Makes the level of the choice nodes to be equal to the maximum of the level of the nodes in the equivalence class. This way sorting by level leads to the reverse topological order, which is needed for the required time computation.]
SideEffects []
SeeAlso []
Definition at line 1611 of file abcDfs.c.
Function*************************************************************
Synopsis [Collects nodes in the DFS manner by level.]
Description [The number of levels should be set!!!]
SideEffects []
SeeAlso []
Definition at line 1129 of file abcDfs.c.
Function*************************************************************
Synopsis [Collects nodes in the DFS manner by level.]
Description [The number of levels should be set!!!]
SideEffects []
SeeAlso []
Definition at line 1098 of file abcDfs.c.
int Abc_NodeSetChoiceLevel_rec | ( | Abc_Obj_t * | pNode, |
int | fMaximum | ||
) |
Function*************************************************************
Synopsis [Analyses choice nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1570 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out CIs and CO. However it marks with the current TravId both CIs and COs.]
SideEffects []
SeeAlso []
Definition at line 81 of file abcDfs.c.
ABC_NAMESPACE_IMPL_START void Abc_NtkDfs_rec | ( | Abc_Obj_t * | pNode, |
Vec_Ptr_t * | vNodes | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcDfs.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Procedures that use depth-first search.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of all objects.]
Description [This procedure collects everything from POs to PIs.]
SideEffects []
SeeAlso []
Definition at line 634 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving CIs and CO. However it marks with the current TravId both CIs and COs.]
SideEffects []
SeeAlso []
Definition at line 542 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving CIs and CO. However it marks with the current TravId both CIs and COs.]
SideEffects []
SeeAlso []
Definition at line 580 of file abcDfs.c.
Definition at line 719 of file abcDfs.c.
Function*************************************************************
Synopsis [Create DFS ordering of nets.]
Description []
SideEffects []
SeeAlso []
Definition at line 705 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out PIs, POs and latches.]
SideEffects []
SeeAlso []
Definition at line 120 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the reverse DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out CIs/COs. However it marks both CIs and COs with the current TravId.]
SideEffects []
SeeAlso []
Definition at line 190 of file abcDfs.c.
Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 156 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the levelized array of TFO nodes.]
Description [Collects the levelized array of internal nodes, leaving out CIs/COs. However it marks both CIs and COs with the current TravId.]
SideEffects []
SeeAlso []
Definition at line 263 of file abcDfs.c.
Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 226 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the levelized array of TFO nodes.]
Description [Collects the levelized array of internal nodes, leaving out CIs/COs. However it marks both CIs and COs with the current TravId. Collects only the nodes whose support does not exceed the set of given CI nodes.]
SideEffects []
SeeAlso []
Definition at line 298 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the array of nodes and latches reachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 397 of file abcDfs.c.
Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 370 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the array of nodes and latches reachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 454 of file abcDfs.c.
Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 427 of file abcDfs.c.
Definition at line 768 of file abcDfs.c.
Function*************************************************************
Synopsis [Returns the DFS ordered array of logic nodes.]
Description [Collects only the internal nodes, leaving out CIs and CO. However it marks with the current TravId both CIs and COs.]
SideEffects []
SeeAlso []
Definition at line 746 of file abcDfs.c.
int Abc_NtkIsAcyclic | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Detects combinational loops.]
Description [This procedure is based on the idea suggested by Donald Chai. As we traverse the network and visit the nodes, we need to distinquish three types of nodes: (1) those that are visited for the first time, (2) those that have been visited in this traversal but are currently not on the traversal path, (3) those that have been visited and are currently on the travesal path. When the node of type (3) is encountered, it means that there is a combinational loop. To mark the three types of nodes, two new values of the traversal IDs are used.]
SideEffects []
SeeAlso []
Definition at line 1422 of file abcDfs.c.
int Abc_NtkIsAcyclic_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Recursively detects combinational loops.]
Description []
SideEffects []
SeeAlso []
Definition at line 1346 of file abcDfs.c.
int Abc_NtkIsAcyclicWithBoxes | ( | Abc_Ntk_t * | pNtk | ) |
Definition at line 1510 of file abcDfs.c.
int Abc_NtkIsAcyclicWithBoxes_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Checks for the loops with boxes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1461 of file abcDfs.c.
int Abc_NtkIsDfsOrdered | ( | Abc_Ntk_t * | pNtk | ) |
int Abc_NtkLevel | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Computes the number of logic levels not counting PIs/POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1265 of file abcDfs.c.
int Abc_NtkLevel_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Computes the number of logic levels not counting PIs/POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1239 of file abcDfs.c.
int Abc_NtkLevelReverse | ( | Abc_Ntk_t * | pNtk | ) |
int Abc_NtkLevelReverse_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Returns the set of CI nodes in the support of the given nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 859 of file abcDfs.c.
Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 795 of file abcDfs.c.
int Abc_NtkPrintSubraphSizes | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Returns the set of CI nodes in the support of the given nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 828 of file abcDfs.c.
void Abc_NtkSupportSum | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Computes the sum total of supports of all outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 952 of file abcDfs.c.
int Abc_NtkSuppSizeTest | ( | Abc_Ntk_t * | p | ) |
Function*************************************************************
Synopsis [Computes support size of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 928 of file abcDfs.c.
int Abc_ObjSugraphSize | ( | Abc_Obj_t * | pObj | ) |
int Abc_ObjSuppSize | ( | Abc_Obj_t * | pObj | ) |