Class/Object

Chisel

ROM

Related Docs: object ROM | package Chisel

Permalink

class ROM[T <: Data] extends Vec[T]

Class defining a ROM Use the ROM object rather than instantiating the ROM directly

Source
ROM.scala
Linear Supertypes
Vec[T], Cloneable, Cloneable, VecLike[T], IndexedSeq[T], IndexedSeqLike[T, IndexedSeq[T]], Seq[T], SeqLike[T, IndexedSeq[T]], GenSeq[T], GenSeqLike[T, IndexedSeq[T]], Iterable[T], IterableLike[T, IndexedSeq[T]], Equals, GenIterable[T], GenIterableLike[T, IndexedSeq[T]], Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, IndexedSeq], TraversableLike[T, IndexedSeq[T]], GenTraversableLike[T, IndexedSeq[T]], Parallelizable[T, ParSeq[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, IndexedSeq[T]], HasNewBuilder[T, IndexedSeq[T] @scala.annotation.unchecked.uncheckedVariance], PartialFunction[Int, T], (Int) ⇒ T, Aggregate, Data, Node, Nameable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ROM
  2. Vec
  3. Cloneable
  4. Cloneable
  5. VecLike
  6. IndexedSeq
  7. IndexedSeqLike
  8. Seq
  9. SeqLike
  10. GenSeq
  11. GenSeqLike
  12. Iterable
  13. IterableLike
  14. Equals
  15. GenIterable
  16. GenIterableLike
  17. Traversable
  18. GenTraversable
  19. GenericTraversableTemplate
  20. TraversableLike
  21. GenTraversableLike
  22. Parallelizable
  23. TraversableOnce
  24. GenTraversableOnce
  25. FilterMonadic
  26. HasNewBuilder
  27. PartialFunction
  28. Function1
  29. Aggregate
  30. Data
  31. Node
  32. Nameable
  33. AnyRef
  34. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ROM(elts: SortedMap[Int, T], lengthIn: Option[Int] = None)

    Permalink

    elts

    any number of data elements combined with Integer address

    lengthIn

    optionally force the size of the ROM

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = IndexedSeq[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def ##[T <: Data](right: T): ROM.this.type

    Permalink

    Interface required by Cat is an operator to combine data nodes together

    Interface required by Cat is an operator to combine data nodes together

    Definition Classes
    Data
  3. def ##(b: Node): Node

    Permalink

    The cat operator to combine two values

    The cat operator to combine two values

    0x5 ## 0x3 => 0x53
    b

    Node to cat after

    returns

    a new node as the combination of both this node and b

    Definition Classes
    Node
  4. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  5. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  7. def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  8. def +:[B >: T, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  9. def /:[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :+[B >: T, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  11. def :=[T <: Data](that: Seq[T]): Unit

    Permalink
    Definition Classes
    Vec
  12. def :=(that: Data): Unit

    Permalink
    Definition Classes
    Data
  13. def :\[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  14. def <>(src: Seq[T]): Unit

    Permalink
    Definition Classes
    Vec
  15. def <>(src: Vec[T]): Unit

    Permalink
    Definition Classes
    Vec
  16. def <>(src: Node): Unit

    Permalink
    Definition Classes
    VecNode
  17. def =/=[T <: Data](right: T): Bool

    Permalink
    Definition Classes
    Data
  18. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def ===[T <: Data](right: T): Bool

    Permalink
    Definition Classes
    Data
  20. def W0Wtransform(): Unit

    Permalink

    Eliminate any zero-width wires attached to this node

    Eliminate any zero-width wires attached to this node

    returns

    if the node was modified

    Definition Classes
    Node
  21. def ^^(src: Node): Unit

    Permalink
    Definition Classes
    Node
  22. val _id: Int

    Permalink

    The unique id of this node

    The unique id of this node

    Definition Classes
    Node
  23. def _isComplementOf(x: Node): Boolean

    Permalink
    Definition Classes
    Node
  24. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  25. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  26. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  27. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  28. def andThen[C](k: (T) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  29. def apply(ind: UInt): T

    Permalink
    Definition Classes
    VecVecLike
  30. def apply(idx: Int): T

    Permalink
    Definition Classes
    Vec → SeqLike → GenSeqLike → Function1
  31. def apply(name: String): Data

    Permalink
    Definition Classes
    Data
  32. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  33. def asDirectionless(): ROM.this.type

    Permalink

    set this node as directionless

    set this node as directionless

    Definition Classes
    VecData
  34. def asInput(): ROM.this.type

    Permalink

    Return this object as an INPUT

    Return this object as an INPUT

    Definition Classes
    VecData
  35. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  36. def asOutput(): ROM.this.type

    Permalink

    Sets the direction (*dir*) of instances derived from Bits to OUTPUT or recursively sets members of Bundle/Vec to OUTPUT.

    Sets the direction (*dir*) of instances derived from Bits to OUTPUT or recursively sets members of Bundle/Vec to OUTPUT.

    returns

    this instance with its exact type.

    Definition Classes
    VecData
  37. def assign(src: Node): Unit

    Permalink
    Definition Classes
    Node
  38. def canCSE: Boolean

    Permalink
    Definition Classes
    Node
  39. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  40. lazy val chiselName: String

    Permalink
    Definition Classes
    Node
  41. var clock: Option[Clock]

    Permalink

    The clock for this node

    The clock for this node

    Definition Classes
    Node
  42. def clone(): ROM.this.type

    Permalink
    Definition Classes
    Data → AnyRef
  43. def cloneType(): ROM.this.type

    Permalink
    Definition Classes
    VecData
  44. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  45. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  46. def colonEquals(that: Bits): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    VecData
  47. def colonEquals[T <: Data](that: Seq[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    VecData
  48. def colonEquals(that: Bundle): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  49. def combinations(n: Int): Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    SeqLike
  50. var comp: Option[proc]

    Permalink
    Definition Classes
    Data
  51. def companion: GenericCompanion[IndexedSeq]

    Permalink
    Definition Classes
    IndexedSeq → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  52. def componentOf: Module

    Permalink

    Get the module that this node is a part of or the top module if not assigned yet

    Get the module that this node is a part of or the top module if not assigned yet

    returns

    The module that this node is a part of

    Definition Classes
    Node
  53. def compose[A](g: (A) ⇒ Int): (A) ⇒ T

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  54. val consumers: LinkedHashSet[Node]

    Permalink

    nodes that consume one of my outputs

    nodes that consume one of my outputs

    Definition Classes
    Node
  55. def contains(x: T)(implicit evidence: <:<[T, Bits]): Bool

    Permalink
    Definition Classes
    VecLike
  56. def contains[A1 >: T](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  57. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  58. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  59. def copyToArray[B >: T](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def copyToArray[B >: T](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def copyToBuffer[B >: T](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  62. def corresponds[B](that: GenSeq[B])(p: (T, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  63. def count(p: (T) ⇒ Bool): UInt

    Permalink
    Definition Classes
    VecLike
  64. def count(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def dblLitValue: Double

    Permalink

    Convert the node literal to a Double

    Convert the node literal to a Double

    Definition Classes
    Node
  66. def diff[B >: T](that: GenSeq[B]): IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  67. def distinct: IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  68. var driveRand: Boolean

    Permalink
    Definition Classes
    Node
  69. def drop(n: Int): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  70. def dropRight(n: Int): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike
  71. def dropWhile(p: (T) ⇒ Boolean): IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  72. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  73. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    Compare two nodes

    Compare two nodes

    that

    the node to compare with

    Definition Classes
    Vec → GenSeqLike → Equals → Node → AnyRef → Any
  75. def equalsForCSE(x: Node): Boolean

    Permalink
    Definition Classes
    Node
  76. def exists(p: (T) ⇒ Bool): Bool

    Permalink
    Definition Classes
    VecLike
  77. def exists(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  78. def filter(p: (T) ⇒ Boolean): IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def filterNot(p: (T) ⇒ Boolean): IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  80. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  81. def find(p: (T) ⇒ Boolean): Option[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  82. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  83. def flatten: Array[(String, Bits)]

    Permalink
    Definition Classes
    VecData
  84. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  85. def flip(): ROM.this.type

    Permalink

    Change INPUTs to OUTPUTs and visa versa

    Change INPUTs to OUTPUTs and visa versa

    Definition Classes
    VecData
  86. def floLitValue: Float

    Permalink

    Convert the node literal to a Float

    Convert the node literal to a Float

    Definition Classes
    Node
  87. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def foldRight[B](z: B)(op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  90. def forall(p: (T) ⇒ Bool): Bool

    Permalink
    Definition Classes
    VecLike
  91. def forall(p: (T) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  92. def foreach[U](f: (T) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  93. def fromBits(b: Bits): ROM.this.type

    Permalink
    Definition Classes
    Data
  94. def fromNode(n: Node): ROM.this.type

    Permalink

    Factory method to create and assign a leaf-type instance out of a subclass of *Node* instance which we have lost the concrete type.

    Factory method to create and assign a leaf-type instance out of a subclass of *Node* instance which we have lost the concrete type.

    Definition Classes
    Data
  95. val gen: (Int) ⇒ T

    Permalink
    Definition Classes
    Vec
  96. def genericBuilder[B]: Builder[B, IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  97. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  98. def getNode: Node

    Permalink

    returns

    The root node input

    Definition Classes
    Node
  99. def getWidth(): Int

    Permalink

    returns

    the width or number of bits used by this node

    Definition Classes
    VecAggregateNode
    Exceptions thrown

    ChiselException if the width of the node is unknown

  100. def groupBy[K](f: (T) ⇒ K): Map[K, IndexedSeq[T]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  101. def grouped(size: Int): Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    IterableLike
  102. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  103. val hashCode: Int

    Permalink

    returns

    the unique hashCode for this node

    Definition Classes
    Vec → IndexedSeqLike → GenSeqLike → Node → AnyRef → Any
  104. def hashCodeForCSE: Int

    Permalink
    Definition Classes
    Node
  105. def head: T

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  106. def headOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  107. def illegalAssignment(that: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  108. def indexOf[B >: T](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  109. def indexOf[B >: T](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  110. def indexOfSlice[B >: T](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  111. def indexOfSlice[B >: T](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  112. def indexWhere(p: (T) ⇒ Bool): UInt

    Permalink
    Definition Classes
    VecLike
  113. def indexWhere(p: (T) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  114. def indexWhere(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  115. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  116. def infer: Boolean

    Permalink

    Called while we're walking the graph inferring the width of nodes.

    Called while we're walking the graph inferring the width of nodes. We return true if we should continue to walk the graph, either because there's a node whose width we don't know, or because we updated a node's width.

    Definition Classes
    Node
  117. def init: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  118. def init(n: String, w: Int, ins: Node*): Node

    Permalink

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    w

    the bit width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  119. def init(n: String, widthFunc: (⇒ Node) ⇒ Width, ins: Node*): Node

    Permalink

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    widthFunc

    the function to use to calculate the width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  120. def initOf(n: String, widthfunc: (⇒ Node) ⇒ Width, ins: Seq[Node]): Node

    Permalink

    Init the node and calculate its width and add inputs to the node

    Init the node and calculate its width and add inputs to the node

    n

    name of node

    widthfunc

    the function to use to calculate the width of the node

    ins

    Nodes that are inputs to this node

    Definition Classes
    Node
  121. def inits: Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    TraversableLike
  122. val inputs: ArrayBuffer[Node]

    Permalink

    The inputs that this node depends on

    The inputs that this node depends on

    Definition Classes
    Node
  123. def intersect[B >: T](that: GenSeq[B]): IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  124. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  125. def isDirectionless: Boolean

    Permalink

    check if this node is neither INPUT or OUTPUT

    check if this node is neither INPUT or OUTPUT

    Definition Classes
    Data
  126. def isEmpty: Boolean

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  127. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  128. def isIo: Boolean

    Permalink

    returns

    this node is an I/O Node for a module

    Definition Classes
    Node
  129. def isIo_=(isIo: Boolean): Unit

    Permalink
    Attributes
    protected[Chisel]
    Definition Classes
    Node
  130. final def isLit: Boolean

    Permalink

    This function determines if a node is a literal, a fixed value

    This function determines if a node is a literal, a fixed value

    Definition Classes
    Node
  131. def isTopLevelIO: Boolean

    Permalink

    returns

    is this node I/O for the top level module

    Definition Classes
    Node
  132. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  133. var isTypeNode: Boolean

    Permalink
    Definition Classes
    Node
  134. def isTypeOnly: Boolean

    Permalink

    Chisel3 - type-only nodes (no data - no initialization or assignment) This is used to determine which nodes must be Wire() wrapped, and whether Wire() wrapping of the node is legal or not.

    Chisel3 - type-only nodes (no data - no initialization or assignment) This is used to determine which nodes must be Wire() wrapped, and whether Wire() wrapping of the node is legal or not.

    Definition Classes
    VecDataNode
  135. def isUsedByClockHi: Boolean

    Permalink

    returns

    this node is a Register

    Definition Classes
    Node
  136. def isWired: Boolean

    Permalink
    Definition Classes
    AggregateData
  137. def isZeroWidth: Boolean

    Permalink

    returns

    this node has zero-width

    Definition Classes
    Node
  138. def iterator: Iterator[T]

    Permalink
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  139. def last: T

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  140. def lastIndexOf[B >: T](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  141. def lastIndexOf[B >: T](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  142. def lastIndexOfSlice[B >: T](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  143. def lastIndexOfSlice[B >: T](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  144. def lastIndexWhere(p: (T) ⇒ Bool): UInt

    Permalink
    Definition Classes
    VecLike
  145. def lastIndexWhere(p: (T) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  146. def lastIndexWhere(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  147. def lastOption: Option[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  148. val length: Int

    Permalink
    Definition Classes
    ROMVec → SeqLike → GenSeqLike
  149. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    SeqLike
  150. def lift: (Int) ⇒ Option[T]

    Permalink
    Definition Classes
    PartialFunction
  151. val line: StackTraceElement

    Permalink

    The trace information for chisel for this node

    The trace information for chisel for this node

    Definition Classes
    Node
  152. def litOf: Literal

    Permalink

    returns

    the literal value of a node

    Definition Classes
    Node
    Exceptions thrown

    ChiselException if there is no literal value available

  153. def litValue(default: BigInt = BigInt(-1)): BigInt

    Permalink

    returns

    the literal value of the node as a BigInt

    Bool(true).litValue() => BigInt(1)
    Definition Classes
    Node
  154. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  155. def max[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  156. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  157. def maybeFlatten: Seq[Node]

    Permalink

    Deprecated: Do not use

    Deprecated: Do not use

    Definition Classes
    Node
  158. def min[B >: T](implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  159. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  160. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  161. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  162. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  163. var modified: Boolean

    Permalink
    Definition Classes
    Node
  164. var name: String

    Permalink

    Name of the instance.

    Name of the instance.

    Definition Classes
    Nameable
  165. def nameIt(path: String, isNamingIo: Boolean): Unit

    Permalink

    name this node

    name this node

    Definition Classes
    VecDataNode
    Note

    use setName in Node rather than this directly

  166. var named: Boolean

    Permalink

    named is used to indicate that name was set explicitly and should not be overriden

    named is used to indicate that name was set explicitly and should not be overriden

    Definition Classes
    Nameable
  167. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  168. def needWidth(): Int

    Permalink

    returns

    the bitWidth of the node

    Definition Classes
    Node
    Exceptions thrown

    ChiselException if the width is not yet defined

  169. def newBuilder: Builder[T, IndexedSeq[T]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  170. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  171. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  172. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  173. def onlyIndexWhere(p: (T) ⇒ Bool): UInt

    Permalink
    Definition Classes
    VecLike
  174. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  175. def padTo[B >: T, That](len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  176. def par: ParSeq[T]

    Permalink
    Definition Classes
    Parallelizable
  177. def parCombiner: Combiner[T, ParSeq[T]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → TraversableLike → Parallelizable
  178. def params: Parameters

    Permalink
    Definition Classes
    Data
  179. def partition(p: (T) ⇒ Boolean): (IndexedSeq[T], IndexedSeq[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  180. def patch[B >: T, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  181. def permutations: Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    SeqLike
  182. def prefixLength(p: (T) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  183. def printTree(writer: PrintStream, depth: Int = 4, indent: String = ""): Unit

    Permalink

    Prints all members of a node and recursively its inputs up to a certain depth level This method is purely used for debugging

    Prints all members of a node and recursively its inputs up to a certain depth level This method is purely used for debugging

    Definition Classes
    Node
  184. def product[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  185. var prune: Boolean

    Permalink
    Definition Classes
    Node
  186. def read(addr: UInt): T

    Permalink

    Read data from the ROM at an address

    Read data from the ROM at an address

    Definition Classes
    ROMVecVecLike
  187. val readPorts: HashMap[UInt, T]

    Permalink
    Definition Classes
    Vec
  188. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  189. def reduceLeft[B >: T](op: (B, T) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  190. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  191. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  192. def reduceRight[B >: T](op: (T, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  193. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  194. def removeTypeNodes(): Unit

    Permalink
    Definition Classes
    VecNode
  195. def replaceTree(newNode: Node): Unit

    Permalink

    Replace the subtree starting from this node with the indicated replacement

    Replace the subtree starting from this node with the indicated replacement

    newNode

    The node to start tree from

    Definition Classes
    Node
  196. def repr: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  197. def reverse: IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  198. def reverseIterator: Iterator[T]

    Permalink
    Definition Classes
    SeqLike
  199. def reverseMap[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  200. def reversed: List[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  201. def review(): Unit

    Permalink

    Review a node for optimization possibilities if its children have been updated

    Review a node for optimization possibilities if its children have been updated

    Definition Classes
    Node
  202. def runWith[U](action: (T) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  203. def sameElements[B >: T](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  204. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  205. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  206. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  207. def segmentLength(p: (T) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  208. val self: Vector[T]

    Permalink
    Definition Classes
    ROMVec
  209. def seq: IndexedSeq[T]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeqLike → Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  210. def setIsTypeNode: Unit

    Permalink

    make this node a type node

    make this node a type node

    Definition Classes
    VecData
  211. def setIsWired(value: Boolean): Unit

    Permalink
    Definition Classes
    AggregateData
  212. def setName(n: String): Unit

    Permalink

    Set the name of this module to the string 'n'

    Set the name of this module to the string 'n'

    Definition Classes
    Nameable
    Example:
    1. my.io.node.setName("MY_IO_NODE")
  213. def setWidth(w: Int): Unit

    Permalink

    Force the bit width of a node

    Force the bit width of a node

    w

    the bit width to force

    Definition Classes
    Node
  214. def size: Int

    Permalink
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  215. def slice(from: Int, until: Int): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  216. def sliding(size: Int, step: Int): Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    IterableLike
  217. def sliding(size: Int): Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    IterableLike
  218. def sortBy[B](f: (T) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike
  219. def sortWith(lt: (T, T) ⇒ Boolean): IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike
  220. def sorted[B >: T](implicit ord: Ordering[B]): IndexedSeq[T]

    Permalink
    Definition Classes
    SeqLike
  221. lazy val sortedElements: Array[ArrayBuffer[Data]]

    Permalink
    Definition Classes
    Vec
  222. def span(p: (T) ⇒ Boolean): (IndexedSeq[T], IndexedSeq[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  223. def splitAt(n: Int): (IndexedSeq[T], IndexedSeq[T])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  224. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  225. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  226. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  227. def sum[B >: T](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  228. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  229. def tail: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  230. def tails: Iterator[IndexedSeq[T]]

    Permalink
    Definition Classes
    TraversableLike
  231. def take(n: Int): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  232. def takeRight(n: Int): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike
  233. def takeWhile(p: (T) ⇒ Boolean): IndexedSeq[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  234. def thisCollection: IndexedSeq[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  235. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  236. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  237. def toBits(): UInt

    Permalink

    returns

    This node as a UInt

    Definition Classes
    Node
  238. def toBool(): Bool

    Permalink

    Try to convert this data to a Bool

    Try to convert this data to a Bool

    Definition Classes
    Data
    Exceptions thrown

    ChiselException if the width is not 1

  239. def toBuffer[A1 >: T]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  240. def toCollection(repr: IndexedSeq[T]): IndexedSeq[T]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  241. def toIndexedSeq: IndexedSeq[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  242. def toIterable: Iterable[T]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  243. def toIterator: Iterator[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  244. def toList: List[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  245. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  246. lazy val toNode: Node

    Permalink

    returns

    This node

    Definition Classes
    DataNode
  247. def toSeq: Seq[T]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  248. def toSet[B >: T]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  249. def toStream: Stream[T]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  250. def toString(): String

    Permalink
    Definition Classes
    SeqLike → TraversableLike → Any
  251. def toTraversable: Traversable[T]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  252. def toVector: Vector[T]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  253. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  254. def union[B >: T, That](that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  255. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  256. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  257. def updated[B >: T, That](index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  258. def usesInClockHi(i: Node): Boolean

    Permalink
    Definition Classes
    Node
  259. def view(from: Int, until: Int): SeqView[T, IndexedSeq[T]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  260. def view: SeqView[T, IndexedSeq[T]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  261. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  264. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, IndexedSeq[T]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  265. def write(addr: UInt, data: T): Unit

    Permalink

    Illegal, cannot write to Read only memory

    Illegal, cannot write to Read only memory

    Definition Classes
    ROMVecVecLike
  266. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[T], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  267. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  268. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[IndexedSeq[T], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from Vec[T]

Inherited from Cloneable

Inherited from Cloneable

Inherited from VecLike[T]

Inherited from IndexedSeq[T]

Inherited from IndexedSeqLike[T, IndexedSeq[T]]

Inherited from Seq[T]

Inherited from SeqLike[T, IndexedSeq[T]]

Inherited from GenSeq[T]

Inherited from GenSeqLike[T, IndexedSeq[T]]

Inherited from Iterable[T]

Inherited from IterableLike[T, IndexedSeq[T]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, IndexedSeq[T]]

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from GenericTraversableTemplate[T, IndexedSeq]

Inherited from TraversableLike[T, IndexedSeq[T]]

Inherited from GenTraversableLike[T, IndexedSeq[T]]

Inherited from Parallelizable[T, ParSeq[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, IndexedSeq[T]]

Inherited from HasNewBuilder[T, IndexedSeq[T] @scala.annotation.unchecked.uncheckedVariance]

Inherited from PartialFunction[Int, T]

Inherited from (Int) ⇒ T

Inherited from Aggregate

Inherited from Data

Inherited from Node

Inherited from Nameable

Inherited from AnyRef

Inherited from Any

Ungrouped