Class

spinal.core

BitVector

Related Doc: package core

Permalink

abstract class BitVector extends BaseType with Widthable

BitVector is a family of types for storing multiple bits of information in a single value. This type has three subtypes that can be used to model different behaviours:

See also

BitVector Documentation

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitVector
  2. Widthable
  3. WidthProvider
  4. BaseType
  5. Expression
  6. StatementDoubleLinkedContainer
  7. DoubleLinkedContainer
  8. DeclarationStatement
  9. LeafStatement
  10. Statement
  11. BaseNode
  12. ExpressionContainer
  13. Data
  14. OverridedEqualsHashCode
  15. SpinalTagReady
  16. Assignable
  17. NameableByComponent
  18. Nameable
  19. OwnableRef
  20. ContextUser
  21. ScalaLocated
  22. GlobalDataUser
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BitVector()

    Permalink

Type Members

  1. abstract type RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  2. abstract type T <: BitVector

    Permalink

    Used to know the data type of the children class of BitVector

Abstract Value Members

  1. abstract def apply(offset: UInt, bitCount: BitCount): BitVector.this.type

    Permalink

    Return a range of bits at offset and of width bitCount

    Return a range of bits at offset and of width bitCount

    Example:
    1. val myBool = myBits(myUInt, 2 bits)
  2. abstract def apply(offset: Int, bitCount: BitCount): BitVector.this.type

    Permalink

    Return a range of bits at offset and of width bitCount

    Return a range of bits at offset and of width bitCount

    Example:
    1. val myBool = myBits(3, 2 bits)
  3. abstract def apply(bitId: UInt): Bool

    Permalink

    Return the bit at index bitId

    Return the bit at index bitId

    Example:
    1. val myBool = myBits(myUInt)
  4. abstract def apply(bitId: Int): Bool

    Permalink

    Return the bit at index bitId

    Return the bit at index bitId

    Example:
    1. val myBool = myBits(3)
  5. abstract def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    Data
  6. abstract def assignFromBits(bits: Bits, hi: Int, low: Int): Unit

    Permalink
    Definition Classes
    Data
  7. abstract def assignFromBits(bits: Bits): Unit

    Permalink
    Definition Classes
    Data
  8. abstract def getAllTrue: BitVector.this.type

    Permalink
  9. abstract def getTypeObject: Any

    Permalink
    Definition Classes
    Expression
  10. abstract def getZero: BitVector.this.type

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    Data
  11. abstract def getZeroUnconstrained: BitVector.this.type

    Permalink
  12. abstract def opName: String

    Permalink
    Definition Classes
    Expression
  13. abstract def resize(width: BitCount): BitVector

    Permalink
  14. abstract def resize(width: Int): BitVector

    Permalink

    Resize the bitVector to width

    Resize the bitVector to width

    returns

    a resized bitVector

    Example:
    1. val res = myBits.resize(10)
  15. abstract def rotateLeft(that: Int): T

    Permalink

    Left rotation of that bits

  16. abstract def rotateRight(that: Int): T

    Permalink

    Right rotation of that bits

  17. abstract def setAll(): BitVector.this.type

    Permalink

    Set all bits

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Permalink

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def =/=(that: MaskedLiteral): Bool

    Permalink

    BitVector is not equal to MaskedLiteral

  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def ===(that: MaskedLiteral): Bool

    Permalink

    Compare a BitVector with a MaskedLiteral (M"110--0")

    Compare a BitVector with a MaskedLiteral (M"110--0")

    that

    the maskedLiteral

    returns

    a Bool data containing the result of the comparison

    Example:
    1. val myBool = myBits === M"0-1"
  7. var _spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  8. def addAttribute(attribute: Attribute): BitVector.this.type

    Permalink
    Definition Classes
    BaseTypeDataSpinalTagReady
  9. def addAttribute(name: String, value: String): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  10. def addAttribute(name: String): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  11. def addTag[T <: SpinalTag](spinalTag: T): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  12. def addTags[T <: SpinalTag](tags: Iterable[T]): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  13. var algoIncrementale: Int

    Permalink
    Definition Classes
    BaseNode
  14. var algoInt: Int

    Permalink
    Definition Classes
    BaseNode
  15. def allowDirectionLessIo: BitVector.this.type

    Permalink
    Definition Classes
    Data
  16. def allowOverride: BitVector.this.type

    Permalink

    Allow a data to be overrided

    Allow a data to be overrided

    Definition Classes
    Data
  17. def allowPruning(): BitVector.this.type

    Permalink
    Definition Classes
    Data
  18. def allowSimplifyIt(): BitVector.this.type

    Permalink
    Definition Classes
    BaseTypeData
  19. def allowUnsetRegToAvoidLatch: BitVector.this.type

    Permalink
    Definition Classes
    Data
  20. def andR: Bool

    Permalink

    Logical AND of all bits

  21. def apply(range: Range): BitVector.this.type

    Permalink

    Return a range of bits

    Return a range of bits

    Example:
    1. val myBool = myBits(3 downto 1)
  22. def as[T <: Data](dataType: HardType[T]): T

    Permalink
    Definition Classes
    Data
  23. def asBool: Bool

    Permalink
  24. def asBools: Vec[Bool]

    Permalink

    Cast the BitVector into a Vector of Bool

    Cast the BitVector into a Vector of Bool

    returns

    a vector of Bool

  25. def asData: Data

    Permalink
    Definition Classes
    Data
  26. def asInOut(): BitVector.this.type

    Permalink

    set a data as inout

    set a data as inout

    Definition Classes
    BaseTypeData
  27. def asInput(): BitVector.this.type

    Permalink

    Set a data as input

    Set a data as input

    Definition Classes
    BaseTypeData
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def asOutput(): BitVector.this.type

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    BaseTypeData
  30. def assignDontCare(): BitVector.this.type

    Permalink
    Definition Classes
    Data
  31. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  32. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Permalink
    Definition Classes
    Data
  33. def clearAll(): BitVector.this.type

    Permalink

    Clear all bits

  34. var clockDomain: ClockDomain

    Permalink
    Definition Classes
    BaseType
  35. def clone(): BitVector.this.type

    Permalink
    Definition Classes
    BitVectorBaseTypeData → AnyRef
  36. def component: Component

    Permalink
    Definition Classes
    ContextUser
  37. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit

    Permalink
    Definition Classes
    Assignable
  38. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  39. def copyDirectionOfImpl(that: Data): BitVector.this.type

    Permalink
    Definition Classes
    BaseTypeData
  40. def dirString(): String

    Permalink
    Definition Classes
    Data
  41. def dlcAppend(that: AssignmentStatement): BitVector.this.type

    Permalink
    Definition Classes
    DoubleLinkedContainer
  42. def dlcForeach[T >: AssignmentStatement](func: (T) ⇒ Unit): Unit

    Permalink
    Definition Classes
    DoubleLinkedContainer
  43. def dlcHasOnlyOne: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  44. var dlcHead: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  45. def dlcIsEmpty: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  46. var dlcLast: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  47. def dlcPrepend(that: AssignmentStatement): BitVector.this.type

    Permalink
    Definition Classes
    DoubleLinkedContainer
  48. def dontSimplifyIt(): BitVector.this.type

    Permalink
    Definition Classes
    BaseTypeData
  49. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  51. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  52. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  53. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  54. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  55. def flatten: Seq[BaseType]

    Permalink
    Definition Classes
    BaseTypeData
  56. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseTypeData
  57. def flattenLocalName: Seq[String]

    Permalink
    Definition Classes
    BaseTypeData
  58. def flip(): BitVector.this.type

    Permalink

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    Data
  59. def foreachClockDomain(func: (ClockDomain) ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseTypeStatement
  60. def foreachDrivingExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  61. def foreachExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
  62. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  63. def foreachStatements(func: (AssignmentStatement) ⇒ Unit): Unit

    Permalink
  64. def genIf(cond: Boolean): BitVector.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  65. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

    Definition Classes
    BitVectorData
  66. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  67. def getComponent(): Component

    Permalink
    Definition Classes
    DataNameableByComponent
  68. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  69. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  70. def getDrivingReg: BitVector.this.type

    Permalink
    Definition Classes
    BaseType
  71. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  72. def getMode: Byte

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  73. def getName(default: String): String

    Permalink
    Definition Classes
    NameableByComponentNameable
  74. def getName(): String

    Permalink
    Definition Classes
    Nameable
  75. def getPartialName(): String

    Permalink
    Definition Classes
    Nameable
  76. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  77. def getRealSourceNoRec: Any

    Permalink
    Definition Classes
    DataAssignable
  78. def getRefOwnersChain(): List[Any]

    Permalink
    Definition Classes
    OwnableRef
  79. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  80. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  81. def getScalaLocationShort: String

    Permalink
    Definition Classes
    ScalaLocated
  82. def getScalaTrace(): Throwable

    Permalink
    Definition Classes
    ScalaLocated
  83. def getSingleDriver: Option[BitVector.this.type]

    Permalink
    Definition Classes
    BaseType
  84. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]

    Permalink
    Definition Classes
    SpinalTagReady
  85. def getTags(): Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  86. def getWidth: Int

    Permalink
    Definition Classes
    WidthableWidthProvider
  87. def getWidthNoInferation: Int

    Permalink

    Return the width

  88. def getWidthStringNoInferation: String

    Permalink
  89. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  90. def hasAssignement: Boolean

    Permalink
    Definition Classes
    BaseType
  91. def hasInit: Boolean

    Permalink

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  92. def hasOnlyOneStatement: Boolean

    Permalink
  93. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  94. def hasTag(spinalTag: SpinalTag): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  95. def hashCode(): Int

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  96. def head: AssignmentStatement

    Permalink
  97. def high: Int

    Permalink

    Return the upper bound

  98. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  99. def insertNext(s: Statement): Unit

    Permalink
    Definition Classes
    Statement
  100. def instanceAttributes(language: Language): Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  101. def instanceAttributes: Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  102. def isAnalog: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  103. def isComb: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  104. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  105. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  106. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  107. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  108. def isInputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  109. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  110. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  111. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  112. def isOutputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  113. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  114. def isReg: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  115. def isTypeNode: Boolean

    Permalink

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  116. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  117. def isUsingResetSignal: Boolean

    Permalink

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  118. def isUsingSoftResetSignal: Boolean

    Permalink

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  119. def isVital: Boolean

    Permalink

    Check if the baseType is vital

    Check if the baseType is vital

    Definition Classes
    BaseType
  120. def keep(): BitVector.this.type

    Permalink
    Definition Classes
    Data
  121. var lastScopeStatement: Statement

    Permalink
    Definition Classes
    Statement
  122. def lsb: Bool

    Permalink

    Return the least significant bit

  123. def msb: Bool

    Permalink

    Return the most significant bit

  124. def mux[T2 <: Data](mappings: (Any, T2)*): T2

    Permalink
    Definition Classes
    BaseType
  125. def muxList[T2 <: Data](defaultValue: T2, mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  126. def muxList[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  127. def muxListDc[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  128. var name: String

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  129. var nameableRef: Nameable

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  130. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  131. def newExtract(offset: UInt, size: Int, extract: BitVectorRangedAccessFloating): BitVector.this.type

    Permalink

    Extract a range of bits of the BitVector

  132. def newExtract(hi: Int, lo: Int, accessFactory: ⇒ BitVectorRangedAccessFixed): BitVector.this.type

    Permalink

    Extract a range of bits of the BitVector

  133. def newExtract(bitId: UInt, extract: BitVectorBitAccessFloating): Bool

    Permalink

    Extract a bit of the BitVector

  134. def newExtract(bitId: Int, extract: BitVectorBitAccessFixed): Bool

    Permalink

    Extract a bit of the BitVector

  135. var nextScopeStatement: Statement

    Permalink
    Definition Classes
    Statement
  136. def noBackendCombMerge: BitVector.this.type

    Permalink
    Definition Classes
    Data
  137. def noCombLoopCheck: BitVector.this.type

    Permalink
    Definition Classes
    Data
  138. def normalizeInputs: Unit

    Permalink
    Definition Classes
    BaseTypeExpressionContainer
  139. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  140. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  141. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  142. def orR: Bool

    Permalink

    Logical OR of all bits

  143. var parent: Data

    Permalink
    Definition Classes
    Data
  144. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  145. def pull(): BitVector.this.type

    Permalink

    Pull a signal to the top level (use for debugging)

    Pull a signal to the top level (use for debugging)

    Definition Classes
    Data
  146. def purify(): BitVector.this.type

    Permalink
    Definition Classes
    Data
  147. def randBoot(): BitVector.this.type

    Permalink

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Definition Classes
    Data
  148. def range: Range

    Permalink

    Return the range

  149. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  150. def reflectNames(): Unit

    Permalink
    Definition Classes
    Nameable
  151. def remapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  152. def remapExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
  153. def removeAssignments(): BitVector.this.type

    Permalink

    Remove all assignements of the base type

    Remove all assignements of the base type

    Definition Classes
    BaseTypeData
  154. def removeStatement(): Unit

    Permalink
    Definition Classes
    BaseTypeStatement
  155. def removeStatementFromScope(): Unit

    Permalink
    Definition Classes
    Statement
  156. def removeTag(spinalTag: SpinalTag): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  157. def removeTags(tags: Iterable[SpinalTag]): BitVector.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  158. def resized: BitVector.this.type

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  159. def rootScopeStatement: ScopeStatement

    Permalink
    Definition Classes
    BaseTypeStatement
  160. def rotateLeft(that: UInt): T

    Permalink

    Left rotation of that Bits

  161. def rotateRight(that: UInt): T

    Permalink

    Right rotation of that Bits

  162. def setAllTo(value: Bool): BitVector.this.type

    Permalink

    Set all bits to value

  163. def setAllTo(value: Boolean): BitVector.this.type

    Permalink

    Set all bits to value

  164. def setAsAnalog(): BitVector.this.type

    Permalink
    Definition Classes
    BaseTypeData
  165. def setAsComb(): BitVector.this.type

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    BaseTypeData
  166. def setAsDirectionLess(): BitVector.this.type

    Permalink

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

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

    Definition Classes
    BaseTypeData
  167. def setAsReg(): BitVector.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    BaseTypeData
  168. def setAsTypeNode(): BitVector.this.type

    Permalink

    Set baseType to Node

    Set baseType to Node

    Definition Classes
    BaseType
  169. def setAsVital(): BitVector.this.type

    Permalink

    Set the baseType to vital

    Set the baseType to vital

    Definition Classes
    BaseType
  170. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  171. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  172. def setCompositeName(nameable: Nameable, postfix: String): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  173. def setCompositeName(nameable: Nameable, namePriority: Byte): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  174. def setCompositeName(nameable: Nameable, weak: Boolean): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  175. def setCompositeName(nameable: Nameable): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  176. def setName(name: String, namePriority: Byte): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  177. def setName(name: String, weak: Boolean): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  178. def setName(name: String): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  179. def setPartialName(name: String, namePriority: Byte): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  180. def setPartialName(name: String, weak: Boolean): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  181. def setPartialName(owner: Nameable, name: String, namePriority: Byte): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  182. def setPartialName(owner: Nameable, name: String, weak: Boolean): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  183. def setPartialName(name: String): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  184. def setPartialName(owner: Nameable, name: String): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  185. def setRefOwner(that: Any): Unit

    Permalink
    Definition Classes
    OwnableRef
  186. def setScalaLocated(source: ScalaLocated): BitVector.this.type

    Permalink
    Definition Classes
    ScalaLocated
  187. def setWeakName(name: String): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  188. def setWidth(width: Int): BitVector.this.type

    Permalink

    Set the width of the BitVector

    Set the width of the BitVector

    width

    the width of the data

    returns

    the BitVector of a given size

  189. def simplifyNode: Expression

    Permalink
    Definition Classes
    Expression
  190. def spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  191. def subdivideIn(sliceWidth: BitCount): Vec[T]

    Permalink

    Split the BitVector into slice of x bits * @example

    Split the BitVector into slice of x bits * @example

    val res = myBits.subdiviedIn(3 bits)
    sliceWidth

    the width of the slice

    returns

    a Vector of slices

  192. def subdivideIn(sliceCount: SlicesCount): Vec[T]

    Permalink

    Split the BitVector into x slice

    Split the BitVector into x slice

    sliceCount

    the width of the slice

    returns

    a Vector of slices

    Example:
    1. val res = myBits.subdiviedIn(3 slices)
  193. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  194. def toString(): String

    Permalink
    Definition Classes
    BitVectorBaseTypeExpressionNameable → AnyRef → Any
  195. def toStringMultiLine(): String

    Permalink
    Definition Classes
    BaseNode
  196. def unsetName(): BitVector.this.type

    Permalink
    Definition Classes
    Nameable
  197. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  198. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  199. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  200. def walkDrivingExpressions(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  201. def walkExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  202. def walkParentTreeStatements(func: (TreeStatement) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Statement
  203. def walkParentTreeStatementsUntilRootScope(func: (TreeStatement) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Statement
  204. def walkRemapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  205. def walkRemapExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  206. def wrapCast[T <: BaseType](result: T, node: Cast): T

    Permalink
    Definition Classes
    BaseType
  207. def xorR: Bool

    Permalink

    Logical XOR of all bits

Deprecated Value Members

  1. def asDirectionLess(): BitVector.this.type

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

Inherited from Widthable

Inherited from WidthProvider

Inherited from BaseType

Inherited from Expression

Inherited from DeclarationStatement

Inherited from LeafStatement

Inherited from Statement

Inherited from BaseNode

Inherited from ExpressionContainer

Inherited from Data

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