
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 1198 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1162 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 1238 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 1841 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 1803 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 1313 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 1282 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 1762 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 82 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 127 of file abcDfs.c.


Function*************************************************************
Synopsis [Iterative version of the DFS procedure.]
Description []
SideEffects []
SeeAlso []
Definition at line 515 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 46 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 665 of file abcDfs.c.

Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 638 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 573 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 611 of file abcDfs.c.


Definition at line 750 of file abcDfs.c.

Function*************************************************************
Synopsis [Create DFS ordering of nets.]
Description []
SideEffects []
SeeAlso []
Definition at line 736 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 151 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 221 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 187 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 294 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 257 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 329 of file abcDfs.c.


Function*************************************************************
Synopsis [Returns the array of nodes and latches reachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 428 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 401 of file abcDfs.c.


Function*************************************************************
Synopsis [Returns the array of nodes and latches reachable from POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 485 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 458 of file abcDfs.c.


Definition at line 799 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 777 of file abcDfs.c.


| int Abc_NtkFunctionalIso | ( | Abc_Ntk_t * | pNtk, |
| int | iCo1, | ||
| int | iCo2, | ||
| int | fCommon ) |
Definition at line 1048 of file abcDfs.c.

Definition at line 983 of file abcDfs.c.


Function*************************************************************
Synopsis [Derives GIA comparing two outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 970 of file abcDfs.c.


| int Abc_NtkFunctionalIsoInt | ( | Abc_Ntk_t * | pNtk, |
| int | iCo1, | ||
| int | iCo2, | ||
| int | fCommon ) |
Definition at line 1033 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 1614 of file abcDfs.c.


| int Abc_NtkIsAcyclic_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Recursively detects combinational loops.]
Description []
SideEffects []
SeeAlso []
Definition at line 1538 of file abcDfs.c.


| int Abc_NtkIsAcyclicWithBoxes | ( | Abc_Ntk_t * | pNtk | ) |
Definition at line 1702 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 1653 of file abcDfs.c.


| int Abc_NtkIsDfsOrdered | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Returns 1 if the ordering of nodes is DFS.]
Description []
SideEffects []
SeeAlso []
Definition at line 698 of file abcDfs.c.

| 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 1449 of file abcDfs.c.


| int Abc_NtkLevel_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Recursively counts the number of logic levels of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1347 of file abcDfs.c.


Function*************************************************************
Synopsis [Computes the number of logic levels not counting PIs/POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1423 of file abcDfs.c.


| int Abc_NtkLevelR | ( | Abc_Ntk_t * | pNtk | ) |
Definition at line 1517 of file abcDfs.c.


| int Abc_NtkLevelReverse | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Computes the number of logic levels not counting PIs/POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1499 of file abcDfs.c.


| int Abc_NtkLevelReverse_rec | ( | Abc_Obj_t * | pNode | ) |
Function*************************************************************
Synopsis [Recursively counts the number of logic levels of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1385 of file abcDfs.c.


Function*************************************************************
Synopsis [Returns the set of CI nodes in the support of the given nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 890 of file abcDfs.c.


Function*************************************************************
Synopsis [Performs DFS for one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 826 of file abcDfs.c.


Definition at line 940 of file abcDfs.c.


Function*************************************************************
Synopsis [Returns the set of CI node IDs in the support of the given node.]
Description []
SideEffects []
SeeAlso []
Definition at line 918 of file abcDfs.c.


| int Abc_NtkPrintSubraphSizes | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Prints subgraphs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1899 of file abcDfs.c.

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.


| void Abc_NtkSupportSum | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Computes the sum total of supports of all outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1136 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 1112 of file abcDfs.c.

| int Abc_ObjSugraphSize | ( | Abc_Obj_t * | pObj | ) |
Function*************************************************************
Synopsis [Count the number of nodes in the subgraph.]
Description []
SideEffects []
SeeAlso []
Definition at line 1878 of file abcDfs.c.


| int Abc_ObjSuppSize | ( | Abc_Obj_t * | pObj | ) |
Function*************************************************************
Synopsis [Computes support size of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1096 of file abcDfs.c.


| int Abc_ObjSuppSize_rec | ( | Abc_Obj_t * | pObj | ) |
Function*************************************************************
Synopsis [Computes support size of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1071 of file abcDfs.c.

