spinal.core

Bits

Related Doc: package core

class Bits extends BitVector with DataPrimitives[Bits] with BitwiseOp[Bits]

The Bits type corresponds to a vector of bits that does not convey any arithmetic meaning.

Example:
  1. val myBits1 = Bits(32 bits)
    val myBits2 = B(25, 8 bits)
    val myBits3 = B"8'xFF"
    val myBits4 = B"1001_0011
See also

Bits Documentation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Bits
  2. BitwiseOp
  3. DataPrimitives
  4. BitVector
  5. Widthable
  6. WidthProvider
  7. BaseType
  8. Expression
  9. StatementDoubleLinkedContainer
  10. DoubleLinkedContainer
  11. DeclarationStatement
  12. LeafStatement
  13. Statement
  14. BaseNode
  15. ExpressionContainer
  16. Data
  17. ScalaLocated
  18. SpinalTagReady
  19. Assignable
  20. NameableByComponent
  21. Nameable
  22. OwnableRef
  23. ContextUser
  24. GlobalDataUser
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Bits()

Type Members

  1. abstract type RefOwnerType

    Definition Classes
    OwnableRef
  2. type T = Bits

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

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

    Definition Classes
    BitsBitVector

Value Members

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

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

  3. def ##(right: Data): Bits

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

    Definition Classes
    AnyRef → Any
  5. def &(right: Bits): Bits

    Logical AND operator

    Logical AND operator

    Definition Classes
    BitsBitwiseOp
  6. def :=(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): Unit

    Assign a range value to a Bits

    Assign a range value to a Bits

    rangesValue

    The first range value

    _rangesValues

    Others range values

    Example:
    1. core.io.interrupt = (0 -> uartCtrl.io.interrupt, 1 -> timerCtrl.io.interrupt, default -> false)
  7. def :=(that: Bits): Unit

    Definition Classes
    DataPrimitives
  8. def <<(that: UInt): Bits

    Logical shift left (output width will increase of w(this) + max(that) bits

  9. def <<(that: Int): Bits

    Logical shift left (output width will increase)

    Logical shift left (output width will increase)

    that

    the number of shift

    returns

    a Bits of width : w(this) + that bits

    Example:
    1. val result = myBits << 4
  10. def <>(that: Bits): Unit

    Definition Classes
    DataPrimitives
  11. def =/=(that: Bits): Bool

    Definition Classes
    DataPrimitives
  12. def =/=(that: MaskedLiteral): Bool

    BitVector is not equal to MaskedLiteral

    BitVector is not equal to MaskedLiteral

    Definition Classes
    BitVector
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def ===(that: Bits): Bool

    Definition Classes
    DataPrimitives
  15. def ===(that: MaskedLiteral): Bool

    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

    Definition Classes
    BitVector
    Example:
    1. val myBool = myBits === M"0-1"
  16. def >>(that: UInt): Bits

    Logical shift right (output width == input width)

  17. def >>(that: Int): Bits

    Logical shift right (output width will decrease)

    Logical shift right (output width will decrease)

    that

    the number of shift

    returns

    a Bits of width : w(this) - that bits

    Example:
    1. val result = myBits >> 4
  18. def \(that: Bits): Bits

    Definition Classes
    DataPrimitives
  19. def ^(right: Bits): Bits

    Logical XOR operator

    Logical XOR operator

    Definition Classes
    BitsBitwiseOp
  20. var _spinalTags: Set[SpinalTag]

    Definition Classes
    SpinalTagReady
  21. def addAttribute(attribute: Attribute): Bits.this.type

    Definition Classes
    BaseTypeDataSpinalTagReady
  22. def addAttribute(name: String, value: String): Bits.this.type

    Definition Classes
    SpinalTagReady
  23. def addAttribute(name: String): Bits.this.type

    Definition Classes
    SpinalTagReady
  24. def addTag(spinalTag: SpinalTag): Bits.this.type

    Definition Classes
    SpinalTagReady
  25. def addTags(tags: Iterable[SpinalTag]): Bits.this.type

    Definition Classes
    SpinalTagReady
  26. var algoIncrementale: Int

    Definition Classes
    BaseNode
  27. var algoInt: Int

    Definition Classes
    BaseNode
  28. def allowDirectionLessIo: Bits.this.type

    Definition Classes
    Data
  29. def allowOverride: Bits.this.type

    Definition Classes
    Data
  30. def allowPruning(): Unit

    Definition Classes
    Data
  31. def allowSimplifyIt(): Bits.this.type

    Definition Classes
    BaseTypeData
  32. def allowUnsetRegToAvoidLatch: Bits.this.type

    Definition Classes
    Data
  33. def andR: Bool

    Logical AND of all bits

    Logical AND of all bits

    Definition Classes
    BitVector
  34. def apply(offset: UInt, bitCount: BitCount): Bits.this.type

    Return a range of bits at offset and of width bitCount

    Return a range of bits at offset and of width bitCount

    Definition Classes
    BitsBitVector
    Example:
    1. val myBool = myBits(myUInt, 2 bits)
  35. def apply(offset: Int, bitCount: BitCount): Bits.this.type

    Return a range of bits at offset and of width bitCount

    Return a range of bits at offset and of width bitCount

    Definition Classes
    BitsBitVector
    Example:
    1. val myBool = myBits(3, 2 bits)
  36. def apply(bitId: UInt): Bool

    Return the bit at index bitId

    Return the bit at index bitId

    Definition Classes
    BitsBitVector
    Example:
    1. val myBool = myBits(myUInt)
  37. def apply(bitId: Int): Bool

    Return the bit at index bitId

    Return the bit at index bitId

    Definition Classes
    BitsBitVector
    Example:
    1. val myBool = myBits(3)
  38. def apply(range: Range): Bits.this.type

    Return a range of bits

    Return a range of bits

    Definition Classes
    BitVector
    Example:
    1. val myBool = myBits(3 downto 1)
  39. def apply(hi: Int, lo: Int): Bits.this.type

    Return a range of bits form hi index to lo index

    Return a range of bits form hi index to lo index

    Definition Classes
    BitVector
    Example:
    1. val myBool = myBits(3, 1)
  40. def asBits: Bits

    Definition Classes
    BitsData
  41. def asBools: Vec[Bool]

    Cast the BitVector into a Vector of Bool

    Cast the BitVector into a Vector of Bool

    returns

    a vector of Bool

    Definition Classes
    BitVector
  42. def asData: Data

    Definition Classes
    Data
  43. def asDirectionLess(): Bits.this.type

    Definition Classes
    BaseTypeData
  44. def asInOut(): Bits.this.type

    Definition Classes
    BaseTypeData
  45. def asInput(): Bits.this.type

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

    Definition Classes
    Any
  47. def asOutput(): Bits.this.type

    Definition Classes
    BaseTypeData
  48. def asSInt: SInt

    Cast a Bits to a SInt

    Cast a Bits to a SInt

    returns

    a SInt data

    Example:
    1. val mySInt = myBits.asSInt
  49. def asUInt: UInt

    Cast a Bits to an UInt

    Cast a Bits to an UInt

    returns

    an UInt data

    Example:
    1. val myUInt = myBits.asUInt
  50. def assignDontCare(): Bits.this.type

    Definition Classes
    BitsData
  51. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit

    Definition Classes
    Data
  52. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit

    Definition Classes
    BitsData
  53. def assignFromBits(bits: Bits): Unit

    Definition Classes
    BitsData
  54. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Definition Classes
    Data
  55. def clearAll(): Unit

    Clear all bits

    Clear all bits

    Definition Classes
    BitVector
  56. var clockDomain: ClockDomain

    Definition Classes
    BaseType
  57. def clone(): Bits.this.type

    Definition Classes
    BitVectorBaseTypeData → AnyRef
  58. def component: Component

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

    Definition Classes
    Assignable
  60. var compositeAssign: Assignable

    Definition Classes
    Assignable
  61. def default(that: ⇒ Bits): Bits

    Definition Classes
    DataPrimitives
  62. def dirString(): String

    Definition Classes
    Data
  63. def dlcAppend(that: AssignmentStatement): Bits.this.type

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

    Definition Classes
    DoubleLinkedContainer
  65. def dlcHasOnlyOne: Boolean

    Definition Classes
    DoubleLinkedContainer
  66. var dlcHead: AssignmentStatement

    Definition Classes
    DoubleLinkedContainer
  67. def dlcIsEmpty: Boolean

    Definition Classes
    DoubleLinkedContainer
  68. var dlcLast: AssignmentStatement

    Definition Classes
    DoubleLinkedContainer
  69. def dlcPrepend(that: AssignmentStatement): Bits.this.type

    Definition Classes
    DoubleLinkedContainer
  70. def dontSimplifyIt(): Bits.this.type

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

    Definition Classes
    AnyRef
  72. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  73. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean

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

    Definition Classes
    SpinalTagReady
  75. def finalize(): Unit

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

    Definition Classes
    SpinalTagReady
  77. def flatten: Seq[BaseType]

    Definition Classes
    BaseTypeData
  78. def flattenLocalName: Seq[String]

    Definition Classes
    BaseTypeData
  79. def flip(): Bits.this.type

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

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

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

  83. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

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

  85. def genIf(cond: Boolean): Bits.this.type

    Definition Classes
    Data
  86. def getAllTrue: Bits.this.type

    Definition Classes
    BitsBitVector
  87. def getBitsWidth: Int

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

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

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

    Definition Classes
    Data
  91. def getDisplayName(): String

    Definition Classes
    Nameable
  92. def getDrivingReg: Bits.this.type

    Definition Classes
    BaseType
  93. def getInstanceCounter: Int

    Definition Classes
    ContextUser
  94. def getName(): String

    Definition Classes
    NameableByComponentNameable
  95. def getName(default: String): String

    Definition Classes
    Nameable
  96. def getRealSource: Any

    Definition Classes
    Assignable
  97. def getRealSourceNoRec: Any

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

    Definition Classes
    OwnableRef
  99. def getRootParent: Data

    Definition Classes
    Data
  100. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  101. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  102. def getSingleDriver: Option[Bits.this.type]

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

    Definition Classes
    SpinalTagReady
  104. def getTypeObject: TypeBits.type

    Set all bits

    Set all bits

    Definition Classes
    BitsExpression
  105. def getWidth: Int

    Definition Classes
    WidthableWidthProvider
  106. def getWidthNoInferation: Int

    Definition Classes
    BitVector
  107. def getWidthStringNoInferation: String

    Definition Classes
    BitVector
  108. def getZero: Bits.this.type

    Definition Classes
    BitsData
  109. def getZeroUnconstrained(): Bits.this.type

    Definition Classes
    BitsBitVector
  110. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  111. def hasInit: Boolean

    Definition Classes
    BaseType
  112. def hasOnlyOneStatement: Boolean

  113. def hasTag(spinalTag: SpinalTag): Boolean

    Definition Classes
    SpinalTagReady
  114. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  115. def head: AssignmentStatement

  116. def high: Int

    Return the upper bound

    Return the upper bound

    Definition Classes
    BitVector
  117. def init(that: Bits): Bits

    Definition Classes
    DataPrimitives
  118. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

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

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

    Definition Classes
    SpinalTagReady
  121. def instanceAttributes: Iterable[Attribute]

    Definition Classes
    SpinalTagReady
  122. def isAnalog: Boolean

    Definition Classes
    BaseTypeData
  123. def isComb: Boolean

    Definition Classes
    BaseTypeData
  124. def isDirectionLess: Boolean

    Definition Classes
    Data
  125. def isEmptyOfTag: Boolean

    Definition Classes
    SpinalTagReady
  126. def isInOut: Boolean

    Definition Classes
    Data
  127. def isInput: Boolean

    Definition Classes
    Data
  128. def isInputOrInOut: Boolean

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

    Definition Classes
    Any
  130. def isNamed: Boolean

    Definition Classes
    Nameable
  131. def isOutput: Boolean

    Definition Classes
    Data
  132. def isOutputOrInOut: Boolean

    Definition Classes
    Data
  133. def isReg: Boolean

    Definition Classes
    BaseTypeData
  134. def isTypeNode: Boolean

    Definition Classes
    BaseType
  135. def isUnnamed: Boolean

    Definition Classes
    Nameable
  136. def isUsingResetSignal: Boolean

    Definition Classes
    BaseType
  137. def isUsingSoftResetSignal: Boolean

    Definition Classes
    BaseType
  138. def isVital: Boolean

    Definition Classes
    BaseType
  139. def keep(): Bits.this.type

    Definition Classes
    Data
  140. var lastScopeStatement: Statement

    Definition Classes
    Statement
  141. def lsb: Bool

    Return the least significant bit

    Return the least significant bit

    Definition Classes
    BitVector
  142. def msb: Bool

    Return the most significant bit

    Return the most significant bit

    Definition Classes
    BitVector
  143. def mux[T2 <: Data](mappings: (Any, T2)*): T2

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

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

    Definition Classes
    BaseType
  146. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  147. def newExtract(offset: UInt, size: Int, extract: BitVectorRangedAccessFloating): Bits.this.type

    Extract a range of bits of the BitVector

    Extract a range of bits of the BitVector

    Definition Classes
    BitVector
  148. def newExtract(hi: Int, lo: Int, accessFactory: ⇒ BitVectorRangedAccessFixed): Bits.this.type

    Extract a range of bits of the BitVector

    Extract a range of bits of the BitVector

    Definition Classes
    BitVector
  149. def newExtract(bitId: UInt, extract: BitVectorBitAccessFloating): Bool

    Extract a bit of the BitVector

    Extract a bit of the BitVector

    Definition Classes
    BitVector
  150. def newExtract(bitId: Int, extract: BitVectorBitAccessFixed): Bool

    Extract a bit of the BitVector

    Extract a bit of the BitVector

    Definition Classes
    BitVector
  151. var nextScopeStatement: Statement

    Definition Classes
    Statement
  152. def normalizeInputs: Unit

    Definition Classes
    BaseTypeExpressionContainer
  153. final def notify(): Unit

    Definition Classes
    AnyRef
  154. final def notifyAll(): Unit

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

    Definition Classes
    SpinalTagReady
  156. def opName: String

    Definition Classes
    BitsExpression
  157. def orR: Bool

    Logical OR of all bits

    Logical OR of all bits

    Definition Classes
    BitVector
  158. var parent: Data

    Definition Classes
    Data
  159. var parentScope: ScopeStatement

    Definition Classes
    ContextUser
  160. def pull(): Bits.this.type

    Definition Classes
    Data
  161. def randBoot(): Bits.this.type

    Definition Classes
    Data
  162. def range: Range

    Return the range

    Return the range

    Definition Classes
    BitVector
  163. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  164. def remapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

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

  166. def removeAssignments(): Bits.this.type

    Definition Classes
    BaseType
  167. def removeStatement(): Unit

    Definition Classes
    BaseTypeStatement
  168. def removeStatementFromScope(): Unit

    Definition Classes
    Statement
  169. def removeTag(spinalTag: SpinalTag): Bits.this.type

    Definition Classes
    SpinalTagReady
  170. def removeTags(tags: Iterable[SpinalTag]): Bits.this.type

    Definition Classes
    SpinalTagReady
  171. def resize(width: Int): Bits

    Resize the bitVector to width

    Resize the bitVector to width

    returns

    a resized bitVector

    Definition Classes
    BitsBitVector
    Example:
    1. val res = myBits.resize(10)
  172. def resizeFactory: Resize

    Definition Classes
    BitsBitVector
  173. def resizeLeft(width: Int): Bits

    Resize by keeping MSB at the same place If the final size is bigger than the original size, the leftmost bits are filled with zeroes if the final size is smaller, only width MSB are kept

    Resize by keeping MSB at the same place If the final size is bigger than the original size, the leftmost bits are filled with zeroes if the final size is smaller, only width MSB are kept

    width

    Final width

    returns

    Resized bits vector

  174. def resized: Bits.this.type

    Definition Classes
    Data
  175. def rootScopeStatement: ScopeStatement

    Definition Classes
    BaseTypeStatement
  176. def rotateLeft(that: Int): Bits

    Left rotation of that bits

    Left rotation of that bits

    Definition Classes
    BitsBitVector
  177. def rotateLeft(that: UInt): T

    Left rotation of that Bits

    Left rotation of that Bits

    Definition Classes
    BitVector
  178. def rotateRight(that: Int): Bits

    Right rotation of that bits

    Right rotation of that bits

    Definition Classes
    BitsBitVector
  179. def rotateRight(that: UInt): T

    Right rotation of that Bits

    Right rotation of that Bits

    Definition Classes
    BitVector
  180. def setAll(): Unit

    Set all bits

    Set all bits

    Definition Classes
    BitsBitVector
  181. def setAllTo(value: Bool): Unit

    Set all bits to value

    Set all bits to value

    Definition Classes
    BitVector
  182. def setAllTo(value: Boolean): Unit

    Set all bits to value

    Set all bits to value

    Definition Classes
    BitVector
  183. def setAsAnalog(): Bits.this.type

    Definition Classes
    BaseTypeData
  184. def setAsComb(): Bits.this.type

    Definition Classes
    BaseType
  185. def setAsReg(): Bits.this.type

    Definition Classes
    BaseType
  186. def setAsTypeNode(): Bits.this.type

    Definition Classes
    BaseType
  187. def setAsVital(): Bits.this.type

    Definition Classes
    BaseType
  188. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Bits.this.type

    Definition Classes
    Nameable
  189. def setCompositeName(nameable: Nameable, postfix: String): Bits.this.type

    Definition Classes
    Nameable
  190. def setCompositeName(nameable: Nameable, weak: Boolean): Bits.this.type

    Definition Classes
    Nameable
  191. def setCompositeName(nameable: Nameable): Bits.this.type

    Definition Classes
    Nameable
  192. def setName(name: String, weak: Boolean = false): Bits.this.type

    Definition Classes
    Nameable
  193. def setPartialName(name: String, weak: Boolean): Bits.this.type

    Definition Classes
    Nameable
  194. def setPartialName(owner: Nameable, name: String, weak: Boolean): Bits.this.type

    Definition Classes
    Nameable
  195. def setPartialName(name: String): Bits.this.type

    Definition Classes
    Nameable
  196. def setPartialName(owner: Nameable, name: String): Bits.this.type

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

    Definition Classes
    OwnableRef
  198. def setScalaLocated(source: ScalaLocated): Bits.this.type

    Definition Classes
    ScalaLocated
  199. def setWeakName(name: String): Bits.this.type

    Definition Classes
    Nameable
  200. def setWidth(width: Int): Bits.this.type

    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

    Definition Classes
    BitVector
  201. def simplifyNode: Expression

    Definition Classes
    Expression
  202. def spinalTags: Set[SpinalTag]

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

    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

    Definition Classes
    BitVector
  204. def subdivideIn(sliceCount: SlicesCount): Vec[T]

    Split the BitVector into x slice

    Split the BitVector into x slice

    sliceCount

    the width of the slice

    returns

    a Vector of slices

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

    Definition Classes
    AnyRef
  206. def toDataType[T <: Data](dataType: T): T

    Cast a Bits to a given data type

    Cast a Bits to a given data type

    dataType

    the wanted data type

    returns

    a new data type assign with the value of Bits

    Example:
    1. val myUInt = myBits.toDataType(UInt)
  207. def toString(): String

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

    Definition Classes
    BaseNode
  209. def unary_~(): Bits

    Inverse bitwise operator

    Inverse bitwise operator

    Definition Classes
    BitsBitwiseOp
  210. def unsetName(): Bits.this.type

    Definition Classes
    Nameable
  211. final def wait(): Unit

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

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

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

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

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

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

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

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

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

    Definition Classes
    BaseType
  221. def xorR: Bool

    Logical XOR of all bits

    Logical XOR of all bits

    Definition Classes
    BitVector
  222. def |(right: Bits): Bits

    Logical OR operator

    Logical OR operator

    Definition Classes
    BitsBitwiseOp
  223. def |<<(that: UInt): Bits

    Logical shift left (output width == input width)

  224. def |<<(that: Int): Bits

    Logical shift left (output width == input width)

  225. def |>>(that: UInt): Bits

    Logical shift Right (output width == input width)

  226. def |>>(that: Int): Bits

    Logical shift right (output width == input width)

    Logical shift right (output width == input width)

    that

    the number of shift

    returns

    a Bits of width : w(this)

    Example:
    1. val result = myBits |>> 4

Inherited from BitwiseOp[Bits]

Inherited from DataPrimitives[Bits]

Inherited from BitVector

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 ScalaLocated

Inherited from SpinalTagReady

Inherited from Assignable

Inherited from NameableByComponent

Inherited from Nameable

Inherited from OwnableRef

Inherited from ContextUser

Inherited from GlobalDataUser

Inherited from AnyRef

Inherited from Any

Ungrouped