Packages

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

The 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 data

    Concatenation between two data

    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. var _dataType: HardType[T]
  12. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  13. def access(address: UInt): T
  14. def addAttribute(attribute: Attribute): Vec.this.type
    Definition Classes
    DataSpinalTagReady
  15. def addAttribute(name: String, value: Int): Vec.this.type
    Definition Classes
    SpinalTagReady
  16. def addAttribute(name: String, value: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  17. def addAttribute(name: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  18. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  19. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  20. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  21. def addTag[T <: SpinalTag](spinalTag: T): Vec.this.type
    Definition Classes
    MultiDataSpinalTagReady
  22. def addTags[T <: SpinalTag](tags: Iterable[T]): Vec.this.type
    Definition Classes
    SpinalTagReady
  23. def allowDirectionLessIo(): Vec.this.type

    Allow a Data of an io Bundle to be directionless

    Allow a Data of an io Bundle to be directionless

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/iobundle.html

    Definition Classes
    Data
  24. def allowOverride(): Vec.this.type

    Allow a Data to be overriden

    Allow a Data to be overriden

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/assignment_overlap.html

    Definition Classes
    Data
  25. def allowPartialyAssigned(): Vec.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  26. def allowPruning(): Vec.this.type
    Definition Classes
    Data
  27. def allowSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  28. 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)

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/unassigned_register.html#register-with-only-init

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

    Access an element of the vector by an UInt index

  34. 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
  35. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  36. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  37. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  38. def asData: Data
    Definition Classes
    Data
  39. def asInOut(): Vec.this.type

    set a data as inout

    set a data as inout

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

    Set a data as input

    Set a data as input

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

    Set a data as output

    Set a data as output

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

    flip the direction of the data

    flip the direction of the data

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

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

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

    Disable combinatorial loop checking for this Data

    Disable combinatorial loop checking for this Data

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/combinatorial_loop.html

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

    Access an element of the vector by a oneHot value

  222. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  223. def overrideLocalName(name: String): Vec.this.type
    Definition Classes
    Nameable
  224. def padTo[B >: T](len: Int, elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
  225. val parent: Data
    Definition Classes
    Data
  226. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  227. def partition(p: (T) => Boolean): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    IterableOps
  228. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    IterableOps
  229. def patch[B >: T](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
    Definition Classes
    SeqOps
  230. def permutations: Iterator[IndexedSeq[T]]
    Definition Classes
    SeqOps
  231. def prepended[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    IndexedSeqOps → SeqOps
  232. def prependedAll[B >: T](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
  233. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  234. def pull(propagateName: Boolean): Vec.this.type
    Definition Classes
    Data
  235. 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
  236. def purify(): Vec.this.type
    Definition Classes
    Data
  237. 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
  238. def range: Range
  239. def read(address: UInt): T
  240. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  241. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  242. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  243. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  244. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  245. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  246. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  247. def reflectNames(): Unit
    Definition Classes
    Nameable
  248. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): Vec.this.type
    Definition Classes
    Data
  249. def removeDataAssignments(): Vec.this.type
    Definition Classes
    Data
  250. def removeInitAssignments(): Vec.this.type
    Definition Classes
    Data
  251. def removeTag(spinalTag: SpinalTag): Vec.this.type
    Definition Classes
    SpinalTagReady
  252. def removeTags(tags: Iterable[SpinalTag]): Vec.this.type
    Definition Classes
    SpinalTagReady
  253. def resized: Vec.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  254. def reverse: IndexedSeq[T]
    Definition Classes
    IndexedSeqOps → SeqOps
  255. def reverseIterator: Iterator[T]
    Definition Classes
    IndexedSeqOps → SeqOps
  256. def reversed: Iterable[T]
    Attributes
    protected
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  257. def runWith[U](action: (T) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  258. def sameElements[B >: T](that: IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  259. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  260. def scan[B >: T](z: B)(op: (B, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  261. def scanLeft[B](z: B)(op: (B, T) => B): IndexedSeq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  262. def scanRight[B](z: B)(op: (T, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  263. def search[B >: T](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  264. def search[B >: T](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  265. def segmentLength(p: (T) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  266. final def segmentLength(p: (T) => Boolean): Int
    Definition Classes
    SeqOps
  267. def setAll(): Vec.this.type
    Definition Classes
    Data
  268. def setAsAnalog(): Vec.this.type
    Definition Classes
    Data
  269. def setAsComb(): Vec.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    remove the direction (in,out,inout) to a data

    remove the direction (in,out,inout) to a data

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

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  272. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  273. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  274. def setCompositeName(nameable: Nameable, postfix: String): Vec.this.type
    Definition Classes
    Nameable
  275. def setCompositeName(nameable: Nameable, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  276. def setCompositeName(nameable: Nameable, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  277. def setCompositeName(nameable: Nameable): Vec.this.type
    Definition Classes
    Nameable
  278. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): Vec.this.type
    Definition Classes
    Nameable
  279. def setName(name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  280. def setName(name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  281. def setName(name: String): Vec.this.type
    Definition Classes
    Nameable
  282. def setNameAsWeak(): Vec.this.type
    Definition Classes
    Nameable
  283. def setOutputAsReg(): Vec.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

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