class
DependencyGraph extends AnyRef
Instance Constructors
-
new
DependencyGraph(circuit: Circuit, module: Module, blackBoxFactories: Seq[BlackBoxFactory] = Seq.empty)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addInstanceName(instanceName: String, moduleName: String): Unit
-
def
addKind(key: String): String
-
def
addMemory(defMemory: DefMemory): Memory
-
def
addPrint(printStatement: Print): Unit
-
def
addSourceInfo(name: String, info: Info): Unit
-
def
addStop(stopStatement: Stop): Unit
-
def
apply(key: String): Option[Expression]
-
final
def
asInstanceOf[T0]: T0
-
-
val
circuit: Circuit
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getInfo(name: String): String
-
def
getInfo: String
-
def
getType(key: String): Type
-
def
hasInput(name: String): Boolean
-
def
hasOutput(name: String): Boolean
-
def
hashCode(): Int
-
val
inlinedPorts: HashSet[String]
-
val
inputPorts: HashSet[String]
-
val
instanceNames: HashMap[String, String]
-
final
def
isInstanceOf[T0]: Boolean
-
def
keys: Iterable[String]
-
val
memories: HashMap[String, Memory]
-
val
memoryKeys: HashMap[String, Memory]
-
val
memoryOutputKeys: HashMap[String, Seq[String]]
-
val
module: Module
-
val
nameToExpression: HashMap[String, Expression]
-
val
nameToType: HashMap[String, Type]
-
final
def
ne(arg0: AnyRef): Boolean
-
val
nodes: HashSet[String]
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
var
numberOfMuxes: Int
-
var
numberOfNodes: Int
-
var
numberOfStatements: Int
-
val
outputPorts: HashSet[String]
-
val
prints: ArrayBuffer[Print]
-
def
recordName(key: String): Unit
-
def
recordType(key: String, tpe: Type): Unit
-
val
registerNames: HashSet[String]
-
val
registers: HashMap[String, DefRegister]
-
val
sourceInfo: HashMap[String, String]
-
val
stops: ArrayBuffer[Stop]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
update(key: String, e: Expression): Unit
-
val
validNames: HashSet[String]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
val
wires: HashSet[String]
Inherited from AnyRef
Inherited from Any
A (probably overly complex) map of the names to expressions that occur in @circuit This is used by the expression evaluator to follow dependencies It also maintains lists or sets of ports, registers, memories, stop and printf statements. The above information is created by the companion object which does the actual work of traversing the circuit and discovering the various components and expressions