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], IndexedSeqLike[T, IndexedSeq[T]], Seq[T], SeqLike[T, IndexedSeq[T]], GenSeq[T], GenSeqLike[T, IndexedSeq[T]], Iterable[T], IterableLike[T, IndexedSeq[T]], Equals, GenIterable[T], GenIterableLike[T, IndexedSeq[T]], Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, IndexedSeq], TraversableLike[T, IndexedSeq[T]], GenTraversableLike[T, IndexedSeq[T]], Parallelizable[T, ParSeq[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, IndexedSeq[T]], HasNewBuilder[T, IndexedSeq[T] @scala.annotation.unchecked.uncheckedVariance], PartialFunction[Int, T], (Int) ⇒ 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. IndexedSeqLike
  4. Seq
  5. SeqLike
  6. GenSeq
  7. GenSeqLike
  8. Iterable
  9. IterableLike
  10. Equals
  11. GenIterable
  12. GenIterableLike
  13. Traversable
  14. GenTraversable
  15. GenericTraversableTemplate
  16. TraversableLike
  17. GenTraversableLike
  18. Parallelizable
  19. TraversableOnce
  20. GenTraversableOnce
  21. FilterMonadic
  22. HasNewBuilder
  23. PartialFunction
  24. Function1
  25. MultiData
  26. Data
  27. InComponent
  28. OverridedEqualsHashCode
  29. SpinalTagReady
  30. Assignable
  31. NameableByComponent
  32. Nameable
  33. OwnableRef
  34. ContextUser
  35. ScalaLocated
  36. GlobalDataUser
  37. AnyRef
  38. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. abstract type RefOwnerType
    Definition Classes
    OwnableRef
  3. type Self = IndexedSeq[T]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  4. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

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. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: T, That](that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike
  7. def ++:[B >: T, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike
  8. def +:[B >: T, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  9. def :+[B >: T, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def IFparent: Data
    Definition Classes
    Data
  12. var _dataType: HardType[T]
  13. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  14. def access(address: UInt): T
  15. def addAttribute(attribute: Attribute): Vec.this.type
    Definition Classes
    DataSpinalTagReady
  16. def addAttribute(name: String, value: Int): Vec.this.type
    Definition Classes
    SpinalTagReady
  17. def addAttribute(name: String, value: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  18. def addAttribute(name: String): Vec.this.type
    Definition Classes
    SpinalTagReady
  19. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  20. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  21. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  22. def addTag[T <: SpinalTag](spinalTag: T): Vec.this.type
    Definition Classes
    MultiDataSpinalTagReady
  23. def addTags(h: SpinalTag, tail: SpinalTag*): Vec.this.type
    Definition Classes
    SpinalTagReady
  24. def addTags[T <: SpinalTag](tags: Iterable[T]): Vec.this.type
    Definition Classes
    SpinalTagReady
  25. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. 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
  27. 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
  28. def allowPartialyAssigned(): Vec.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  29. def allowPruning(): Vec.this.type
    Definition Classes
    Data
  30. def allowSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  31. 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
  32. def andThen[C](k: (T) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  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 → SeqLike → GenSeqLike → Function1
  35. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  36. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  37. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

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

    set a data as inout

    set a data as inout

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

    Set a data as input

    Set a data as input

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

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  43. def assignDontCare(): Vec.this.type
    Definition Classes
    Data
  44. def assignDontCareToUnasigned(): Vec.this.type
    Definition Classes
    Data
  45. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  46. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  47. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  48. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  49. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  50. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    VecAssignable
  51. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  52. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  53. def clearAll(): Vec.this.type
    Definition Classes
    Data
  54. def clone(): Vec.this.type
    Definition Classes
    VecData → AnyRef
  55. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    TraversableOnce
  57. def combinations(n: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    SeqLike
  58. def companion: GenericCompanion[IndexedSeq]
    Definition Classes
    IndexedSeq → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  59. def component: Component
    Definition Classes
    ContextUser
  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. def contains[A1 >: T](elem: A1): Boolean
    Definition Classes
    SeqLike
  64. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  65. def copyDirectionOfImpl(that: Data): Vec.this.type
    Definition Classes
    MultiDataData
  66. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  67. def copyToArray[B >: T](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def copyToArray[B >: T](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def copyToBuffer[B >: T](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  70. def corresponds[B](that: GenSeq[B])(p: (T, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  71. def count(p: (T) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def dataType: HardType[T]
  73. def diff[B >: T](that: GenSeq[B]): IndexedSeq[T]
    Definition Classes
    SeqLike → GenSeqLike
  74. def dirString(): String
    Definition Classes
    Data
  75. def distinct: IndexedSeq[T]
    Definition Classes
    SeqLike → GenSeqLike
  76. def dontSimplifyIt(): Vec.this.type
    Definition Classes
    Data
  77. def drop(n: Int): IndexedSeq[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  78. def dropRight(n: Int): IndexedSeq[T]
    Definition Classes
    IterableLike
  79. def dropWhile(p: (T) ⇒ Boolean): IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  80. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    VecMultiData
  81. def elementsString: String
    Definition Classes
    MultiData
  82. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  83. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def equals(that: Any): Boolean
    Definition Classes
    Vec → GenSeqLike → Equals → OverridedEqualsHashCode → AnyRef → Any
  85. def exists(p: (T) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  86. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  87. def filter(p: (T) ⇒ Boolean): IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  88. def filterNot(p: (T) ⇒ Boolean): IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  90. def find(p: (T) ⇒ Boolean): Option[T]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  91. def find(name: String): Data
    Definition Classes
    MultiData
  92. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  93. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  94. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): IndexedSeq[B]
    Definition Classes
    GenericTraversableTemplate
  95. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  96. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    MultiDataData
  97. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  98. def flip(): Vec.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  99. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def foldRight[B](z: B)(op: (T, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  102. def forall(p: (T) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  103. def foreach[U](f: (T) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  104. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  105. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  106. def freeze(): Vec.this.type
    Definition Classes
    MultiDataData
  107. def genericBuilder[B]: Builder[B, IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
  108. def getAheadValue(): Vec.this.type

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

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

    Definition Classes
    Data
  109. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  110. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  111. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  112. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

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

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  133. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  134. def groupBy[K](f: (T) ⇒ K): Map[K, IndexedSeq[T]]
    Definition Classes
    TraversableLike → GenTraversableLike
  135. def grouped(size: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableLike
  136. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  137. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  138. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  139. def hashCode(): Int
    Definition Classes
    Vec → IndexedSeqLike → GenSeqLike → OverridedEqualsHashCode → AnyRef → Any
  140. def head: T
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  141. def headOption: Option[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  142. def indexOf[B >: T](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  143. def indexOf[B >: T](elem: B): Int
    Definition Classes
    GenSeqLike
  144. def indexOfSlice[B >: T](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  145. def indexOfSlice[B >: T](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  146. def indexWhere(p: (T) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  147. def indexWhere(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  148. def indices: Range
    Definition Classes
    SeqLike
  149. def init: IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  150. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  151. def inits: Iterator[IndexedSeq[T]]
    Definition Classes
    TraversableLike
  152. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  153. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  154. def intersect[B >: T](that: GenSeq[B]): IndexedSeq[T]
    Definition Classes
    SeqLike → GenSeqLike
  155. def isAnalog: Boolean
    Definition Classes
    Data
  156. def isComb: Boolean
    Definition Classes
    Data
  157. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  158. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    GenSeqLike
  159. def isDirectionLess: Boolean
    Definition Classes
    Data
  160. def isEmpty: Boolean
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  161. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  162. def isInOut: Boolean
    Definition Classes
    Data
  163. def isInput: Boolean
    Definition Classes
    Data
  164. def isInputOrInOut: Boolean
    Definition Classes
    Data
  165. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  166. final def isNamed: Boolean
    Definition Classes
    Nameable
  167. def isOutput: Boolean
    Definition Classes
    Data
  168. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  169. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  170. def isReg: Boolean
    Definition Classes
    Data
  171. def isRegOnAssign: Boolean
    Definition Classes
    Data
  172. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  173. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  174. def iterator: Iterator[T]
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  175. def last: T
    Definition Classes
    TraversableLike → GenTraversableLike
  176. def lastIndexOf[B >: T](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  177. def lastIndexOf[B >: T](elem: B): Int
    Definition Classes
    GenSeqLike
  178. def lastIndexOfSlice[B >: T](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  179. def lastIndexOfSlice[B >: T](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  180. def lastIndexWhere(p: (T) ⇒ Boolean, end: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  181. def lastIndexWhere(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  182. def lastOption: Option[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  183. def length: Int
    Definition Classes
    Vec → SeqLike → GenSeqLike
  184. def lengthCompare(len: Int): Int
    Definition Classes
    SeqLike
  185. def lift: (Int) ⇒ Option[T]
    Definition Classes
    PartialFunction
  186. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  187. def max[B >: T](implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  188. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  189. def min[B >: T](implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  190. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  191. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  192. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  193. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  194. val name: String
    Definition Classes
    Nameable
  195. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  196. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  197. def newBuilder: Builder[T, IndexedSeq[T]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  198. 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
  199. 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
  200. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  201. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  202. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  203. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  204. def oneHotAccess(oneHot: Bits): T

    Access an element of the vector by a oneHot value

  205. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  206. def overrideLocalName(name: String): Vec.this.type
    Definition Classes
    Nameable
  207. def padTo[B >: T, That](len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  208. def par: ParSeq[T]
    Definition Classes
    Parallelizable
  209. def parCombiner: Combiner[T, ParSeq[T]]
    Attributes
    protected[this]
    Definition Classes
    SeqLike → TraversableLike → Parallelizable
  210. val parent: Data
    Definition Classes
    Data
  211. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  212. def partition(p: (T) ⇒ Boolean): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    TraversableLike → GenTraversableLike
  213. def patch[B >: T, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  214. def permutations: Iterator[IndexedSeq[T]]
    Definition Classes
    SeqLike
  215. def prefixLength(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  216. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  217. def pull(propagateName: Boolean): Vec.this.type
    Definition Classes
    Data
  218. 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
  219. def purify(): Vec.this.type
    Definition Classes
    Data
  220. 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
  221. def range: Range
  222. def read(address: UInt): T
  223. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  224. def reduceLeft[B >: T](op: (B, T) ⇒ B): B
    Definition Classes
    TraversableOnce
  225. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  226. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  227. def reduceRight[B >: T](op: (T, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  228. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  229. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  230. def reflectNames(): Unit
    Definition Classes
    Nameable
  231. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): Vec.this.type
    Definition Classes
    Data
  232. def removeDataAssignments(): Vec.this.type
    Definition Classes
    Data
  233. def removeInitAssignments(): Vec.this.type
    Definition Classes
    Data
  234. def removeTag(spinalTag: SpinalTag): Vec.this.type
    Definition Classes
    SpinalTagReady
  235. def removeTags(tags: Iterable[SpinalTag]): Vec.this.type
    Definition Classes
    SpinalTagReady
  236. def repr: IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  237. def resized: Vec.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  238. def reverse: IndexedSeq[T]
    Definition Classes
    SeqLike → GenSeqLike
  239. def reverseIterator: Iterator[T]
    Definition Classes
    SeqLike
  240. def reverseMap[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  241. def reversed: List[T]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  242. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  243. def rootIFList(): List[Interface]
    Definition Classes
    Data
  244. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  245. def runWith[U](action: (T) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  246. def sameElements[B >: T](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  247. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  248. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  249. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  250. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  251. def segmentLength(p: (T) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  252. def seq: IndexedSeq[T]
    Definition Classes
    IndexedSeq → IndexedSeqLike → Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  253. def setAll(): Vec.this.type
    Definition Classes
    Data
  254. def setAsAnalog(): Vec.this.type
    Definition Classes
    Data
  255. def setAsComb(): Vec.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  258. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  259. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  260. def setCompositeName(nameable: Nameable, postfix: String): Vec.this.type
    Definition Classes
    Nameable
  261. def setCompositeName(nameable: Nameable, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  262. def setCompositeName(nameable: Nameable, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  263. def setCompositeName(nameable: Nameable): Vec.this.type
    Definition Classes
    Nameable
  264. def setElementsParents(): Vec.this.type
  265. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Vec.this.type
    Definition Classes
    Nameable
  266. def setName(name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  267. def setName(name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  268. def setName(name: String): Vec.this.type
    Definition Classes
    Nameable
  269. def setNameAsWeak(): Vec.this.type
    Definition Classes
    Nameable
  270. def setOutputAsReg(): Vec.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  271. def setPartialName(name: String, namePriority: Byte, owner: Any): Vec.this.type
    Definition Classes
    Nameable
  272. def setPartialName(name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  273. def setPartialName(name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  274. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Vec.this.type
    Definition Classes
    Nameable
  275. def setPartialName(owner: Nameable, name: String, weak: Boolean): Vec.this.type
    Definition Classes
    Nameable
  276. def setPartialName(name: String): Vec.this.type
    Definition Classes
    Nameable
  277. def setPartialName(owner: Nameable, name: String): Vec.this.type
    Definition Classes
    Nameable
  278. def setPartialName(owner: Nameable): Vec.this.type
    Definition Classes
    Nameable
  279. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  280. def setScalaLocated(source: ScalaLocated): Vec.this.type
    Definition Classes
    ScalaLocated
  281. def setWeakName(name: String): Vec.this.type
    Definition Classes
    Nameable
  282. def size: Int
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  283. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    IndexedSeqLike → GenTraversableOnce
  284. def slice(from: Int, until: Int): IndexedSeq[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  285. def sliding(size: Int, step: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableLike
  286. def sliding(size: Int): Iterator[IndexedSeq[T]]
    Definition Classes
    IterableLike
  287. def sortBy[B](f: (T) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[T]
    Definition Classes
    SeqLike
  288. def sortWith(lt: (T, T) ⇒ Boolean): IndexedSeq[T]
    Definition Classes
    SeqLike
  289. def sorted[B >: T](implicit ord: Ordering[B]): IndexedSeq[T]
    Definition Classes
    SeqLike
  290. def span(p: (T) ⇒ Boolean): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    TraversableLike → GenTraversableLike
  291. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  292. def splitAt(n: Int): (IndexedSeq[T], IndexedSeq[T])
    Definition Classes
    TraversableLike → GenTraversableLike
  293. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  294. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  295. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  296. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  297. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  298. def tail: IndexedSeq[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  299. def tails: Iterator[IndexedSeq[T]]
    Definition Classes
    TraversableLike
  300. def take(n: Int): IndexedSeq[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  301. def takeRight(n: Int): IndexedSeq[T]
    Definition Classes
    IterableLike
  302. def takeWhile(p: (T) ⇒ Boolean): IndexedSeq[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  303. def thisCollection: IndexedSeq[T]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  304. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  305. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  306. def toBuffer[A1 >: T]: Buffer[A1]
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  307. def toCollection(repr: IndexedSeq[T]): IndexedSeq[T]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  308. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  309. def toIo(): Vec.this.type
    Definition Classes
    Data
  310. def toIterable: Iterable[T]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  311. def toIterator: Iterator[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  312. def toList: List[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  313. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  314. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  315. def toSeq: Seq[T]
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  316. def toSet[B >: T]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  317. def toStream: Stream[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  318. def toString(): String
    Definition Classes
    Vec → SeqLike → TraversableLike → Function1 → Nameable → AnyRef → Any
  319. def toTraversable: Traversable[T]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  320. def toVector: Vector[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  321. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  322. def unfreeze(): Vec.this.type
    Definition Classes
    MultiDataData
  323. def union[B >: T, That](that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  324. def unsetName(): Vec.this.type
    Definition Classes
    Nameable
  325. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    GenericTraversableTemplate
  326. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    GenericTraversableTemplate
  327. def updated[B >: T, That](index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  328. val vec: Vector[T]
  329. def view(from: Int, until: Int): SeqView[T, IndexedSeq[T]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  330. def view: SeqView[T, IndexedSeq[T]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  331. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  332. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  333. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  334. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, IndexedSeq[T]]
    Definition Classes
    TraversableLike → FilterMonadic
  335. def wrapNext(): Vec.this.type
    Definition Classes
    Data
  336. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[T], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  337. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[T], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  338. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData
  339. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[IndexedSeq[T], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, T) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: (T, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

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

    (Since version ???) use setAsDirectionLess instead

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  5. 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

Inherited from IndexedSeq[T]

Inherited from IndexedSeqLike[T, IndexedSeq[T]]

Inherited from Seq[T]

Inherited from SeqLike[T, IndexedSeq[T]]

Inherited from GenSeq[T]

Inherited from GenSeqLike[T, IndexedSeq[T]]

Inherited from Iterable[T]

Inherited from IterableLike[T, IndexedSeq[T]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, IndexedSeq[T]]

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from GenericTraversableTemplate[T, IndexedSeq]

Inherited from TraversableLike[T, IndexedSeq[T]]

Inherited from GenTraversableLike[T, IndexedSeq[T]]

Inherited from Parallelizable[T, ParSeq[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, IndexedSeq[T]]

Inherited from HasNewBuilder[T, IndexedSeq[T] @scala.annotation.unchecked.uncheckedVariance]

Inherited from PartialFunction[Int, T]

Inherited from (Int) ⇒ T

Inherited from MultiData

Inherited from Data

Inherited from InComponent

Inherited from OverridedEqualsHashCode

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