class DependencyGraph extends AnyRef

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

Source
DependencyGraph.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DependencyGraph
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DependencyGraph(circuit: Circuit, module: Module, blackBoxFactories: Seq[BlackBoxFactory] = Seq.empty)

    circuit

    the AST being analyzed

    module

    top level module in the AST, used elsewhere to find top level ports

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addInstanceName(instanceName: String, moduleName: String): Unit
  5. def addKind(key: String): String
  6. def addMemory(defMemory: DefMemory): Memory
  7. def addPrint(printStatement: Print): Unit
  8. def addSourceInfo(name: String, info: Info): Unit
  9. def addStop(stopStatement: Stop): Unit
  10. def apply(key: String): Option[Expression]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val blackBoxFactories: Seq[BlackBoxFactory]
  13. val circuit: Circuit
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def getInfo(name: String): String
  19. def getInfo: String
  20. def getType(key: String): Type
  21. def hasInput(name: String): Boolean
  22. def hasOutput(name: String): Boolean
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val inlinedPorts: HashSet[String]
  25. val inputPorts: HashSet[String]
  26. val instanceNames: HashMap[String, String]
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def keys: Iterable[String]
  29. val memories: HashMap[String, Memory]
  30. val memoryKeys: HashMap[String, Memory]
  31. val memoryOutputKeys: HashMap[String, Seq[String]]
  32. val module: Module
  33. val nameToExpression: HashMap[String, Expression]
  34. val nameToType: HashMap[String, Type]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. val nodes: HashSet[String]
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. var numberOfMuxes: Int
  40. var numberOfNodes: Int
  41. var numberOfStatements: Int
  42. val outputPorts: HashSet[String]
  43. val prints: ArrayBuffer[Print]
  44. def recordName(key: String): Unit
  45. def recordType(key: String, tpe: Type): Unit
  46. val registerNames: HashSet[String]
  47. val registers: HashMap[String, DefRegister]
  48. val sourceInfo: HashMap[String, String]
  49. val stops: ArrayBuffer[Stop]
  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def update(key: String, e: Expression): Unit
  53. val validNames: HashSet[String]
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. val wires: HashSet[String]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped