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

    flip the direction of the data

    flip the direction of the data

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

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

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

    Access an element of the vector by a oneHot value

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

    Resized data regarding target

    Resized data regarding target

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

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    Set baseType to reg

    Set baseType to reg

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

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

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

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

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

    (Since version 2.13.0) Use toIterable instead

  17. 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

  18. 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