mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Commentary
This commit is contained in:
+4
-1
@@ -178,7 +178,10 @@ private:
|
||||
std::vector<V3GraphVertex*> m_callTrace; // List of everything we hit processing so far
|
||||
|
||||
void main() {
|
||||
// Use Tarjan's algorithm to find the strongly connected subgraphs.
|
||||
// Use Pearce's algorithm to color the strongly connected components. For reference see
|
||||
// "An Improved Algorithm for Finding the Strongly Connected Components of a Directed
|
||||
// Graph", David J.Pearce, 2005
|
||||
//
|
||||
// Node State:
|
||||
// Vertex::user // DFS number indicating possible root of subtree, 0=not iterated
|
||||
// Vertex::color // Output subtree number (fully processed)
|
||||
|
||||
Reference in New Issue
Block a user