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(h: SpinalTag, tail: SpinalTag*): Vec.this.type
    Definition Classes
    SpinalTagReady
  23. def addTags[T <: SpinalTag](tags: Iterable[T]): Vec.this.type
    Definition Classes
    SpinalTagReady
  24. 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
  25. 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
  26. def allowPartialyAssigned(): Vec.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  27. def allowPruning(): Vec.this.type
    Definition Classes
    Data
  28. def allowSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  29. 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
  30. def andThen[C](k: PartialFunction[T, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  31. def andThen[C](k: (T) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  32. def appended[B >: T](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
  33. def appendedAll[B >: T](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
  34. def apply(address: UInt): T

    Access an element of the vector by an UInt index

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

    Cast data to Bits

    Cast data to Bits

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

    set a data as inout

    set a data as inout

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

    Set a data as input

    Set a data as input

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

    Set a data as output

    Set a data as output

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

    flip the direction of the data

    flip the direction of the data

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

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

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

    Access an element of the vector by a oneHot value

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

    Resized data regarding target

    Resized data regarding target

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

    root interface

    root interface

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

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  274. 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
  275. def setAsReg(): Vec.this.type

    Set baseType to reg

    Set baseType to reg

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

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

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