Chisel

Module

Related Docs: object Module | package Chisel

abstract class Module extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Module
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Module(clock: Clock = null, _reset: Bool = null)

Abstract Value Members

  1. abstract def io: Data

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def <>(src: Module): Unit

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def addClock(clock: Clock): Unit

  6. def addDefaultReset: Unit

  7. def addModule[T <: Module](c: ⇒ T)(implicit p: Parameters = params): T

  8. def addModule[T <: Module](c: ⇒ T, f: PartialFunction[Any, Any]): T

  9. def addPin[T <: Data](pin: T, name: String = ""): T

  10. def addResetPin(reset: Bool): Bool

  11. def apply(name: String): Data

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def assert(cond: Bool, message: String): Unit

    Add an assertion in the code generated by a backend.

  14. val asserts: ArrayBuffer[Assert]

  15. def bfs(visit: (Node) ⇒ Unit): Unit

  16. val bindings: ArrayBuffer[Binding]

  17. val children: ArrayBuffer[Module]

  18. var clock: Clock

  19. val clocks: ArrayBuffer[Clock]

  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def debug(x: Node): Unit

    Insures a backend does not remove a signal because it is unreachable from the outputs.

  22. val debugs: LinkedHashSet[Node]

  23. var defaultResetPin: Bool

  24. var defaultWidth: Int

  25. def dfs(visit: (Node) ⇒ Unit): Unit

  26. def emitDec(b: Backend): String

  27. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def equals(that: Any): Boolean

    Definition Classes
    Module → AnyRef → Any
  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def findBinding(m: Node): Option[Binding]

  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  32. def getClassValNames(c: Class[_]): ArrayBuffer[String]

  33. def getPathName(separator: String = "_"): String

  34. def getPathName: String

    Returns the absolute path to a component instance from toplevel.

  35. def getValNames: ArrayBuffer[String]

  36. def hasClock: Boolean

  37. var hasExplicitClock: Boolean

  38. var hasExplicitReset: Boolean

  39. def hasReset: Boolean

  40. def hasWhenCond: Boolean

  41. val hashCode: Int

    Definition Classes
    Module → AnyRef → Any
  42. var ioVal: Data

  43. def isInput(node: Node): Boolean

  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. object isValName

  46. def keepInputs(nodes: Seq[Node]): Seq[Node]

  47. var level: Int

    A backend(Backend.scala) might generate multiple module source code from one Module, based on the parameters to instantiate the component instance.

    A backend(Backend.scala) might generate multiple module source code from one Module, based on the parameters to instantiate the component instance. Since we do not want to blindly generate one module per instance the backend will keep a cache of each module's implementation source code and discard textual duplicates. By walking the nodes from level zero (leafs) to level N (root), we are guaranteed to generate all Module/modules source text before their first instantiation.

  48. def markComponent(): Unit

  49. var moduleName: String

    Name of the module this component generates (defaults to class name).

  50. var name: String

    Name of the instance.

  51. var named: Boolean

  52. val names: HashMap[String, Node]

  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. def nextIndex: Int

  55. var nindex: Int

  56. val nodes: LinkedHashSet[Node]

  57. final def notify(): Unit

    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  59. def ownIo(): Unit

  60. lazy val params: Parameters

  61. var parent: Module

  62. var pathParent: Module

  63. def printf(message: String, args: Node*): Unit

  64. val printfs: ArrayBuffer[Printf]

  65. def removeInputs(nodes: Seq[Node]): Seq[Node]

  66. def reset: Bool

  67. def reset_=(): Unit

  68. def reset_=(r: Bool): Unit

  69. val resets: HashMap[Bool, Bool]

  70. def stripComponent(s: String): String

  71. val switchKeys: Stack[Bits]

  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  73. def toString(): String

    Definition Classes
    Module → AnyRef → Any
  74. var traversal: Int

  75. var verilog_parameters: String

  76. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. def whenCond: Bool

  80. val whenConds: Stack[Bool]

  81. def wires: Array[(String, Bits)]

Inherited from AnyRef

Inherited from Any

Ungrouped