constructs an instance graph from a Circuit
constructs an instance graph from a Circuit
the Circuit to analyze
Finds the absolute paths (each represented by a Seq of instances representing the chain of hierarchy) of all instances of a particular module.
Finds the absolute paths (each represented by a Seq of instances representing the chain of hierarchy) of all instances of a particular module.
the name of the selected module
a Seq[ Seq[WDefInstance] ] of absolute instance paths
A list of absolute paths (each represented by a Seq of instances) of all module instances in the Circuit.
Given a circuit, returns a map from module name to children instance/module definitions
A directed graph showing the instance dependencies among modules in the circuit.
A directed graph showing the instance dependencies among modules in the circuit. Every WDefInstance of a module has an edge to every WDefInstance arising from every instance statement in that module.
Finds the lowest common ancestor instances for two module names in a design
Module order from highest module to leaf module
Module order from highest module to leaf module
sequence of modules in order from top to leaf
An EulerTour
representation of the DiGraph
A class representing the instance hierarchy of a working IR Circuit