Packages

class Vec[T <: Data] extends MultiData with IndexedSeq[T]

A Vec is a composite type that defines a group of indexed signals (of any SpinalHDL basic type) under a single name

Example:
  1. val myVecOfSInt = Vec(SInt(8 bits), 2)
See also

Vec Documentation

Linear Supertypes
IndexedSeq[T], IndexedSeqOps[T, IndexedSeq, IndexedSeq[T]], Seq[T], Equals, SeqOps[T, [_]IndexedSeq[_], IndexedSeq[T]], PartialFunction[Int, T], (Int) => T, Iterable[T], IterableFactoryDefaults[T, [x]IndexedSeq[x]], IterableOps[T, [_]IndexedSeq[_], IndexedSeq[T]], IterableOnceOps[T, [_]IndexedSeq[_], IndexedSeq[T]], IterableOnce[T], MultiData, Data, InComponent, OverridedEqualsHashCode, SpinalTagReady, Assignable, NameableByComponent, Nameable, OwnableRef, ContextUser, ScalaLocated, GlobalDataUser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Vec
  2. IndexedSeq
  3. IndexedSeqOps
  4. Seq
  5. Equals
  6. SeqOps
  7. PartialFunction
  8. Function1
  9. Iterable
  10. IterableFactoryDefaults
  11. IterableOps
  12. IterableOnceOps
  13. IterableOnce
  14. MultiData
  15. Data
  16. InComponent
  17. OverridedEqualsHashCode
  18. SpinalTagReady
  19. Assignable
  20. NameableByComponent
  21. Nameable
  22. OwnableRef
  23. ContextUser
  24. ScalaLocated
  25. GlobalDataUser
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Vec(_dataType: HardType[T], vec: Vector[T])

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Concatenation between two signals

    Concatenation between two signals

    Definition Classes
    Data
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def #*(count: Int): Bits
    Definition Classes
    Data
  5. final def ++[B >: T](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. final def ++:[B >: T](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  7. final def +:[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def :+[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  9. final def :++[B >: T](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def IFparent: Data
    Definition Classes
    Data
  12. var _dataType: HardType[T]
  13. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  14. def access(address: UInt): T
  15. def addAttribute(attribute: Attribute): Vec.this.type
    Definition Classes
    DataSpinalTagReady
  16. def addAttribute(name: String, value: Int): Vec.this.type
    Definition Classes
    SpinalTagReady
  17. def addAttribute(name: String, value: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  18. def addAttribute(name: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  19. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  20. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  21. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  22. def addTag[T <: SpinalTag](spinalTag: T): Vec.this.type
    Definition Classes
    MultiDataSpinalTagReady
  23. def addTags(h: SpinalTag, tail: SpinalTag*): Vec.this.type
    Definition Classes
    SpinalTagReady
  24. def addTags[T <: SpinalTag](tags: Iterable[T]): Vec.this.type
    Definition Classes
    SpinalTagReady
  25. def allowDirectionLessIo(): Vec.this.type

    Allow a signal of an io Bundle to be directionless.

    Allow a signal of an io Bundle to be directionless.

    Definition Classes
    Data
    See also

    IO Bundle Error Documentation

  26. def allowOverride(): Vec.this.type

    Allow a signal to be overridden.

    Allow a signal to be overridden.

    Definition Classes
    Data
    See also

    Assignment overlap Error Documentation

  27. def allowPartialyAssigned(): Vec.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  28. def allowPruning(): Vec.this.type
    Definition Classes
    Data
  29. def allowSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  30. def allowUnsetRegToAvoidLatch(): Vec.this.type

    Allow a register to have only an init (no assignments)

    Allow a register to have only an init (no assignments)

    Definition Classes
    Data
    See also

    "Register with only init" Error Documentation

  31. def andThen[C](k: PartialFunction[T, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  32. def andThen[C](k: (T) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  33. def appended[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
  34. def appendedAll[B >: T](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
  35. def apply(address: UInt): T

    Access an element of the vector by an UInt index

  36. def apply(idx: Int): T

    Access an element of the vector by an Int index

    Access an element of the vector by an Int index

    Definition Classes
    Vec → SeqOps → Function1
  37. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  38. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  39. def asBits: Bits

    Cast signal to Bits

    Cast signal to Bits

    Definition Classes
    MultiDataData
  40. def asData: Data
    Definition Classes
    Data
  41. def asInOut(): Vec.this.type

    Set a signal as inout

    Set a signal as inout

    Definition Classes
    MultiDataData
  42. def asInput(): Vec.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  43. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  44. def asOutput(): Vec.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  45. def assignDontCare(): Vec.this.type
    Definition Classes
    Data
  46. def assignDontCareToUnasigned(): Vec.this.type
    Definition Classes
    Data
  47. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  48. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  49. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  50. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  51. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  52. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    VecAssignable
  53. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  54. def canEqual(that: Any): Boolean
    Definition Classes
    Seq → Equals
  55. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  56. def clearAll(): Vec.this.type
    Definition Classes
    Data
  57. def clone(): Vec.this.type
    Definition Classes
    VecData → AnyRef
  58. final def coll: Vec.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  59. def collect[B](pf: PartialFunction[T, B]): IndexedSeq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  60. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    IterableOnceOps
  61. def combinations(n: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    SeqOps
  62. def component: Component
    Definition Classes
    ContextUser
  63. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, T]
    Definition Classes
    PartialFunction
  64. def compose[A](g: (A) => Int): (A) => T
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  65. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  66. val compositeAssign: Assignable
    Definition Classes
    Assignable
  67. final def concat[B >: T](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  68. def contains[A1 >: T](elem: A1): Boolean
    Definition Classes
    SeqOps
  69. def containsSlice[B >: T](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  70. def copyDirectionOfImpl(that: Data): Vec.this.type
    Definition Classes
    MultiDataData
  71. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  72. def copyToArray[B >: T](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  73. def copyToArray[B >: T](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  74. def corresponds[B](that: Seq[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  75. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  76. def count(p: (T) => Boolean): Int
    Definition Classes
    IterableOnceOps
  77. def dataType: HardType[T]
  78. def diff[B >: T](that: Seq[B]): IndexedSeq[T]
    Definition Classes
    SeqOps
  79. def dirString(): String
    Definition Classes
    Data
  80. def distinct: IndexedSeq[T]
    Definition Classes
    SeqOps
  81. def distinctBy[B](f: (T) => B): IndexedSeq[T]
    Definition Classes
    SeqOps
  82. def dontSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  83. def drop(n: Int): IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  84. def dropRight(n: Int): IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → IterableOps
  85. def dropWhile(p: (T) => Boolean): IndexedSeq[T]
    Definition Classes
    IterableOps → IterableOnceOps
  86. def elementWise: ElementWiseExtractor[Int, T]
    Definition Classes
    PartialFunction
  87. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    VecMultiData
  88. def elementsString: String
    Definition Classes
    MultiData
  89. def empty: IndexedSeq[T]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  90. def endsWith[B >: T](that: Iterable[B]): Boolean
    Definition Classes
    SeqOps
  91. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  92. def equals(that: Any): Boolean
    Definition Classes
    Vec → Seq → Equals → OverridedEqualsHashCode → AnyRef → Any
  93. def exists(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  94. def existsTag(cond: (SpinalTag) => Boolean): Boolean
    Definition Classes
    SpinalTagReady
  95. def filter(pred: (T) => Boolean): IndexedSeq[T]
    Definition Classes
    IterableOps → IterableOnceOps
  96. def filterNot(pred: (T) => Boolean): IndexedSeq[T]
    Definition Classes
    IterableOps → IterableOnceOps
  97. def filterTag(cond: (SpinalTag) => Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  98. def find(p: (T) => Boolean): Option[T]
    Definition Classes
    IterableOnceOps
  99. def find(name: String): Data
    Definition Classes
    MultiData
  100. def findLast(p: (T) => Boolean): Option[T]
    Definition Classes
    SeqOps
  101. def findTag(cond: (SpinalTag) => Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  102. def flatMap[B](f: (T) => IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  103. def flatten[B](implicit asIterable: (T) => IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  104. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  105. def flattenForeach(body: (BaseType) => Unit): Unit
    Definition Classes
    MultiDataData
  106. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  107. def flip(): Vec.this.type

    Flip the direction of the signal.

    Flip the direction of the signal.

    in and out are swapped, inout stay the same.

    Definition Classes
    MultiDataData
  108. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  109. def foldLeft[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  110. def foldRight[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  111. def forall(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  112. def foreach[U](f: (T) => U): Unit
    Definition Classes
    IterableOnceOps
  113. def foreachReflectableNameables(doThat: (Any) => Unit): Unit
    Definition Classes
    Nameable
  114. def foreachTag(body: (SpinalTag) => Unit): Unit
    Definition Classes
    SpinalTagReady
  115. def freeze(): Vec.this.type
    Definition Classes
    MultiDataData
  116. def fromSpecific(coll: IterableOnce[T]): IndexedSeq[T]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  117. def getAheadValue(): Vec.this.type

    For a register, get the value it will have at the next clock, as a combinational signal.

    For a register, get the value it will have at the next clock, as a combinational signal.

    Definition Classes
    Data
  118. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  119. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  120. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  121. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  122. def getDirection: IODirection
    Definition Classes
    Data
  123. def getDisplayName(): String
    Definition Classes
    Nameable
  124. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  125. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  126. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  127. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  128. def getName(): String
    Definition Classes
    NameableByComponentNameable
  129. def getPartialName(): String
    Definition Classes
    Nameable
  130. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  131. def getRealSource: Any
    Definition Classes
    Assignable
  132. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  133. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  134. def getRootParent: Data
    Definition Classes
    Data
  135. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  136. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  137. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  138. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  139. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  140. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  141. def getZero: Vec.this.type

    Create a signal set to 0

    Create a signal set to 0

    Definition Classes
    MultiDataData
  142. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  143. def groupBy[K](f: (T) => K): Map[K, IndexedSeq[T]]
    Definition Classes
    IterableOps
  144. def groupMap[K, B](key: (T) => K)(f: (T) => B): Map[K, IndexedSeq[B]]
    Definition Classes
    IterableOps
  145. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  146. def grouped(size: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableOps
  147. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  148. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  149. def hashCode(): Int
    Definition Classes
    Vec → Seq → OverridedEqualsHashCode → AnyRef → Any
  150. def head: T
    Definition Classes
    IndexedSeqOps → IterableOps
  151. def headOption: Option[T]
    Definition Classes
    IndexedSeqOps → IterableOps
  152. def indexOf[B >: T](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  153. def indexOf[B >: T](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  154. def indexOfSlice[B >: T](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  155. def indexOfSlice[B >: T](that: Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  156. def indexWhere(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  157. def indexWhere(p: (T) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  158. def indices: Range
    Definition Classes
    SeqOps
  159. def init: IndexedSeq[T]
    Definition Classes
    IterableOps
  160. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  161. def inits: Iterator[IndexedSeq[T]]
    Definition Classes
    IterableOps
  162. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  163. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  164. def intersect[B >: T](that: Seq[B]): IndexedSeq[T]
    Definition Classes
    SeqOps
  165. def isAnalog: Boolean
    Definition Classes
    Data
  166. def isComb: Boolean
    Definition Classes
    Data
  167. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  168. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  169. def isDirectionLess: Boolean
    Definition Classes
    Data
  170. def isEmpty: Boolean
    Definition Classes
    SeqOps → IterableOnceOps
  171. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  172. def isInOut: Boolean
    Definition Classes
    Data
  173. def isInput: Boolean
    Definition Classes
    Data
  174. def isInputOrInOut: Boolean
    Definition Classes
    Data
  175. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  176. final def isNamed: Boolean
    Definition Classes
    Nameable
  177. def isOutput: Boolean
    Definition Classes
    Data
  178. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  179. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  180. def isReg: Boolean
    Definition Classes
    Data
  181. def isRegOnAssign: Boolean
    Definition Classes
    Data
  182. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  183. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  184. def iterableFactory: SeqFactory[IndexedSeq]
    Definition Classes
    IndexedSeq → Seq → Iterable → IterableOps
  185. def iterator: Iterator[T]
    Definition Classes
    IndexedSeqOps → IterableOnce
  186. def knownSize: Int
    Definition Classes
    IndexedSeqOps → IterableOnce
  187. def last: T
    Definition Classes
    IndexedSeqOps → IterableOps
  188. def lastIndexOf[B >: T](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  189. def lastIndexOfSlice[B >: T](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  190. def lastIndexOfSlice[B >: T](that: Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  191. def lastIndexWhere(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  192. def lastIndexWhere(p: (T) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  193. def lastOption: Option[T]
    Definition Classes
    IterableOps
  194. def lazyZip[B](that: Iterable[B]): LazyZip2[T, B, Vec.this.type]
    Definition Classes
    Iterable
  195. def length: Int
    Definition Classes
    Vec → SeqOps
  196. final def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  197. final def lengthCompare(len: Int): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  198. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  199. def lift: (Int) => Option[T]
    Definition Classes
    PartialFunction
  200. def map[B](f: (T) => B): IndexedSeq[B]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  201. def max[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  202. def maxBy[B](f: (T) => B)(implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  203. def maxByOption[B](f: (T) => B)(implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  204. def maxOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  205. def min[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  206. def minBy[B](f: (T) => B)(implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  207. def minByOption[B](f: (T) => B)(implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  208. def minOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  209. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  210. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  211. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  212. val name: String
    Definition Classes
    Nameable
  213. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  214. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  215. def newSpecificBuilder: Builder[T, IndexedSeq[T]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  216. def noBackendCombMerge(): Vec.this.type

    Put the combinatorial logic driving this signal in a separate process

    Put the combinatorial logic driving this signal in a separate process

    Definition Classes
    Data
  217. def noCombLoopCheck(): Vec.this.type

    Disable combinatorial loop checking for this Data

    Disable combinatorial loop checking for this Data

    Definition Classes
    Data
    See also

    Combinatorial loop Error Documentation

  218. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  219. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  220. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  221. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  222. def onEachAttributes(doIt: (Attribute) => Unit): Unit
    Definition Classes
    SpinalTagReady
  223. def oneHotAccess(oneHot: Bits): T

    Access an element of the vector by a oneHot value

  224. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  225. def overrideLocalName(name: String): Vec.this.type
    Definition Classes
    Nameable
  226. def padTo[B >: T](len: Int, elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
  227. val parent: Data
    Definition Classes
    Data
  228. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  229. def partition(p: (T) => Boolean): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    IterableOps
  230. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    IterableOps
  231. def patch[B >: T](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
    Definition Classes
    SeqOps
  232. def permutations: Iterator[IndexedSeq[T]]
    Definition Classes
    SeqOps
  233. def prepended[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    IndexedSeqOps → SeqOps
  234. def prependedAll[B >: T](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
  235. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  236. def pull(propagateName: Boolean): Vec.this.type
    Definition Classes
    Data
  237. def pull(): Vec.this.type

    Pull a signal to the top level (use for debugging)

    Pull a signal to the top level (use for debugging)

    Definition Classes
    Data
  238. def purify(): Vec.this.type
    Definition Classes
    Data
  239. def randBoot(u: Unit): Vec.this.type

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Definition Classes
    Data
  240. def range: Range
  241. def read(address: UInt): T
  242. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  243. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  244. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  245. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  246. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  247. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  248. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  249. def reflectNames(): Unit
    Definition Classes
    Nameable
  250. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): Vec.this.type
    Definition Classes
    Data
  251. def removeDataAssignments(): Vec.this.type
    Definition Classes
    Data
  252. def removeInitAssignments(): Vec.this.type
    Definition Classes
    Data
  253. def removeTag(spinalTag: SpinalTag): Vec.this.type
    Definition Classes
    SpinalTagReady
  254. def removeTags(tags: Iterable[SpinalTag]): Vec.this.type
    Definition Classes
    SpinalTagReady
  255. def resized: Vec.this.type

    Return a version of the signal which is allowed to be automatically resized where needed.

    Return a version of the signal which is allowed to be automatically resized where needed.

    The resize operation is deferred until the point of assignment later. The resize may widen or truncate, retaining the LSB.

    Definition Classes
    Data
    See also

    Width checking Documentation

  256. def reverse: IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → SeqOps
  257. def reverseIterator: Iterator[T]
    Definition Classes
    IndexedSeqOps → SeqOps
  258. def reversed: Iterable[T]
    Attributes
    protected
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  259. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  260. def rootIFList(): List[Interface]
    Definition Classes
    Data
  261. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  262. def runWith[U](action: (T) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  263. def sameElements[B >: T](that: IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  264. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  265. def scan[B >: T](z: B)(op: (B, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  266. def scanLeft[B](z: B)(op: (B, T) => B): IndexedSeq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  267. def scanRight[B](z: B)(op: (T, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  268. def search[B >: T](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  269. def search[B >: T](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  270. def segmentLength(p: (T) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  271. final def segmentLength(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
  272. def setAll(): Vec.this.type
    Definition Classes
    Data
  273. def setAsAnalog(): Vec.this.type
    Definition Classes
    Data
  274. def setAsComb(): Vec.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  275. def setAsDirectionLess(): Vec.this.type

    Remove the direction (in, out, inout) to a signal

    Remove the direction (in, out, inout) to a signal

    Definition Classes
    MultiDataData
  276. def setAsReg(): Vec.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  277. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  278. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  279. def setCompositeName(nameable: Nameable, postfix: String): Vec.this.type
    Definition Classes
    Nameable
  280. def setCompositeName(nameable: Nameable, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  281. def setCompositeName(nameable: Nameable, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  282. def setCompositeName(nameable: Nameable): Vec.this.type
    Definition Classes
    Nameable
  283. def setElementsParents(): Vec.this.type
  284. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): Vec.this.type
    Definition Classes
    Nameable
  285. def setName(name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  286. def setName(name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  287. def setName(name: String): Vec.this.type
    Definition Classes
    Nameable
  288. def setNameAsWeak(): Vec.this.type
    Definition Classes
    Nameable
  289. def setOutputAsReg(): Vec.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  290. def setPartialName(name: String, namePriority: Byte, owner: Any): Vec.this.type
    Definition Classes
    Nameable
  291. def setPartialName(name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  292. def setPartialName(name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  293. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  294. def setPartialName(owner: Nameable, name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  295. def setPartialName(name: String): Vec.this.type
    Definition Classes
    Nameable
  296. def setPartialName(owner: Nameable, name: String): Vec.this.type
    Definition Classes
    Nameable
  297. def setPartialName(owner: Nameable): Vec.this.type
    Definition Classes
    Nameable
  298. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  299. def setScalaLocated(source: ScalaLocated): Vec.this.type
    Definition Classes
    ScalaLocated
  300. def setWeakName(name: String): Vec.this.type
    Definition Classes
    Nameable
  301. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  302. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  303. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  304. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  305. def slice(from: Int, until: Int): IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  306. def sliding(size: Int, step: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableOps
  307. def sliding(size: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableOps
  308. def sortBy[B](f: (T) => B)(implicit ord: Ordering[B]): IndexedSeq[T]
    Definition Classes
    SeqOps
  309. def sortWith(lt: (T, T) => Boolean): IndexedSeq[T]
    Definition Classes
    SeqOps
  310. def sorted[B >: T](implicit ord: Ordering[B]): IndexedSeq[T]
    Definition Classes
    SeqOps
  311. def span(p: (T) => Boolean): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    IterableOps → IterableOnceOps
  312. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  313. def splitAt(n: Int): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    IterableOps → IterableOnceOps
  314. def startsWith[B >: T](that: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  315. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S with EfficientSplit
    Definition Classes
    IndexedSeqOps → IterableOnce
  316. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    IndexedSeq → Seq → Iterable
  317. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  318. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  319. def tail: IndexedSeq[T]
    Definition Classes
    IterableOps
  320. def tails: Iterator[IndexedSeq[T]]
    Definition Classes
    IterableOps
  321. def take(n: Int): IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  322. def takeRight(n: Int): IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → IterableOps
  323. def takeWhile(p: (T) => Boolean): IndexedSeq[T]
    Definition Classes
    IterableOps → IterableOnceOps
  324. def tapEach[U](f: (T) => U): IndexedSeq[T]
    Definition Classes
    IterableOps → IterableOnceOps
  325. def to[C1](factory: Factory[T, C1]): C1
    Definition Classes
    IterableOnceOps
  326. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  327. final def toBuffer[B >: T]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  328. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    IterableOnceOps
  329. def toIo(): Vec.this.type
    Definition Classes
    Data
  330. def toList: List[T]
    Definition Classes
    IterableOnceOps
  331. def toMap[K, V](implicit ev: <:<[T, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  332. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  333. def toSeq: Seq[T]
    Definition Classes
    IterableOnceOps
  334. def toSet[B >: T]: Set[B]
    Definition Classes
    IterableOnceOps
  335. def toString(): String
    Definition Classes
    Vec → Seq → Function1 → Iterable → Nameable → AnyRef → Any
  336. def toVector: Vector[T]
    Definition Classes
    IterableOnceOps
  337. def transpose[B](implicit asIterable: (T) => Iterable[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    IterableOps
  338. def unapply(a: Int): Option[T]
    Definition Classes
    PartialFunction
  339. def unfreeze(): Vec.this.type
    Definition Classes
    MultiDataData
  340. def unsetName(): Vec.this.type
    Definition Classes
    Nameable
  341. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    IterableOps
  342. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    IterableOps
  343. def updated[B >: T](index: Int, elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
  344. val vec: Vector[T]
  345. def view: IndexedSeqView[T]
    Definition Classes
    IndexedSeqOps → SeqOps → IterableOps
  346. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  347. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  348. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  349. def withFilter(p: (T) => Boolean): WithFilter[T, [_]IndexedSeq[_]]
    Definition Classes
    IterableOps
  350. def wrapNext(): Vec.this.type
    Definition Classes
    Data
  351. def zip[B](that: IterableOnce[B]): IndexedSeq[(T, B)]
    Definition Classes
    IterableOps
  352. def zipAll[A1 >: T, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
    Definition Classes
    IterableOps
  353. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData
  354. def zipWithIndex: IndexedSeq[(T, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  2. final def :\[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  3. def aggregate[B](z: => B)(seqop: (B, T) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  4. def asDirectionLess(): Vec.this.type
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

  5. def companion: IterableFactory[[_]IndexedSeq[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: T](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

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

    (Since version 9)

  8. def genIf(cond: Boolean): Vec.this.type

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    does not work with <>, use 'someBool generate Type()' or 'if(condition) Type() else null' instead

  9. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  10. final def prefixLength(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  11. final def repr: IndexedSeq[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  12. def reverseMap[B](f: (T) => B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  13. def seq: Vec.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  14. final def toIterable: Vec.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  15. final def toIterator: Iterator[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  16. final def toStream: Stream[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  17. final def toTraversable: Traversable[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  18. final def union[B >: T](that: Seq[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  19. def view(from: Int, until: Int): IndexedSeqView[T]
    Definition Classes
    IndexedSeqOps → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from IndexedSeq[T]

Inherited from IndexedSeqOps[T, IndexedSeq, IndexedSeq[T]]

Inherited from Seq[T]

Inherited from Equals

Inherited from SeqOps[T, [_]IndexedSeq[_], IndexedSeq[T]]

Inherited from PartialFunction[Int, T]

Inherited from (Int) => T

Inherited from Iterable[T]

Inherited from IterableFactoryDefaults[T, [x]IndexedSeq[x]]

Inherited from IterableOps[T, [_]IndexedSeq[_], IndexedSeq[T]]

Inherited from IterableOnceOps[T, [_]IndexedSeq[_], IndexedSeq[T]]

Inherited from IterableOnce[T]

Inherited from MultiData

Inherited from Data

Inherited from InComponent

Inherited from SpinalTagReady

Inherited from Assignable

Inherited from NameableByComponent

Inherited from Nameable

Inherited from OwnableRef

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from AnyRef

Inherited from Any

Ungrouped