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

    flip the direction of the data

    flip the direction of the data

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

    Return the width of the data

    Return the width of the data

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

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

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

    Access an element of the vector by a oneHot value

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

    Resized data regarding target

    Resized data regarding target

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

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    Set baseType to reg

    Set baseType to reg

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