Class/Object

chisel3.core

Bool

Related Docs: object Bool | package core

Permalink

sealed class Bool extends UInt with Reset

A data type for booleans, defined as a single bit indicating true or false.

Linear Supertypes
Reset, UInt, Num[UInt], Bits, ToBoolable, Element, Data, HasId, InstanceId, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bool
  2. Reset
  3. UInt
  4. Num
  5. Bits
  6. ToBoolable
  7. Element
  8. Data
  9. HasId
  10. InstanceId
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Bool(lit: Option[ULit] = None)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final macro def ##(that: Bits): UInt

    Permalink

    Returns this wire concatenated with other, where this wire forms the most significant part and other forms the least significant part.

    Returns this wire concatenated with other, where this wire forms the most significant part and other forms the least significant part.

    The width of the output is sum of the inputs.

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final macro def %(that: UInt): UInt

    Permalink
    Definition Classes
    Num
  5. final macro def &(that: Bool): Bool

    Permalink
  6. final macro def &(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  7. macro def &&(that: Bool): Bool

    Permalink

    Outputs the logical AND of two Bools.

  8. final macro def *(that: SInt): SInt

    Permalink
    Definition Classes
    UInt
  9. final macro def *(that: UInt): UInt

    Permalink

    Outputs the product of this and b.

    Outputs the product of this and b. The resulting width is the sum of the operands.

    Definition Classes
    Num
    Note

    can generate a single-cycle multiplier, which can result in significant cycle time and area costs

  10. final macro def +(that: UInt): UInt

    Permalink

    Outputs the sum of this and b.

    Outputs the sum of this and b. The resulting width is the max of the operands plus 1 (should not overflow).

    Definition Classes
    Num
  11. final macro def +%(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  12. final macro def +&(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  13. final macro def -(that: UInt): UInt

    Permalink

    Outputs the difference of this and b.

    Outputs the difference of this and b. The resulting width is the max of the operands plus 1 (should not overflow).

    Definition Classes
    Num
  14. final macro def -%(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  15. final macro def -&(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  16. final macro def /(that: UInt): UInt

    Permalink

    Outputs the quotient of this and b.

    Outputs the quotient of this and b.

    TODO: full rules

    Definition Classes
    Num
  17. final def :=(that: Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  18. final macro def <(that: UInt): Bool

    Permalink

    Outputs true if this < b.

    Outputs true if this < b.

    Definition Classes
    Num
  19. final macro def <<(that: UInt): Bits

    Permalink

    Returns this wire dynamically left shifted by the specified amount, inserting zeros into the least significant bits.

    Returns this wire dynamically left shifted by the specified amount, inserting zeros into the least significant bits.

    The width of the output is pow(2, width(other)) larger than the input.

    Definition Classes
    Bits
  20. final macro def <<(that: Int): Bits

    Permalink

    Returns this wire statically left shifted by the specified amount, inserting zeros into the least significant bits.

    Returns this wire statically left shifted by the specified amount, inserting zeros into the least significant bits.

    The width of the output is other larger than the input.

    Definition Classes
    Bits
  21. final macro def <<(that: BigInt): Bits

    Permalink

    Shift left operation

    Shift left operation

    Definition Classes
    Bits
  22. final macro def <=(that: UInt): Bool

    Permalink

    Outputs true if this <= b.

    Outputs true if this <= b.

    Definition Classes
    Num
  23. final def <>(that: Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  24. final macro def =/=(that: UInt): Bool

    Permalink
    Definition Classes
    UInt
  25. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  26. final macro def ===(that: UInt): Bool

    Permalink
    Definition Classes
    UInt
  27. final macro def >(that: UInt): Bool

    Permalink

    Outputs true if this > b.

    Outputs true if this > b.

    Definition Classes
    Num
  28. final macro def >=(that: UInt): Bool

    Permalink

    Outputs true if this >= b.

    Outputs true if this >= b.

    Definition Classes
    Num
  29. final macro def >>(that: UInt): Bits

    Permalink

    Returns this wire dynamically right shifted by the specified amount, inserting zeros into the most significant bits.

    Returns this wire dynamically right shifted by the specified amount, inserting zeros into the most significant bits.

    The width of the output is the same as the input.

    Definition Classes
    Bits
  30. final macro def >>(that: Int): Bits

    Permalink

    Returns this wire statically right shifted by the specified amount, inserting zeros into the most significant bits.

    Returns this wire statically right shifted by the specified amount, inserting zeros into the most significant bits.

    The width of the output is the same as the input.

    Definition Classes
    Bits
  31. final macro def >>(that: BigInt): Bits

    Permalink

    Shift right operation

    Shift right operation

    Definition Classes
    Bits
  32. final macro def ^(that: Bool): Bool

    Permalink
  33. final macro def ^(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  34. final macro def abs(): UInt

    Permalink

    Outputs the absolute value of this.

    Outputs the absolute value of this. The resulting width is the unchanged

    Definition Classes
    Num
  35. final macro def andR(): Bool

    Permalink
    Definition Classes
    UInt
  36. final macro def apply(x: BigInt, y: BigInt): UInt

    Permalink
    Definition Classes
    Bits
  37. final macro def apply(x: Int, y: Int): UInt

    Permalink

    Returns a subset of bits on this wire from hi to lo (inclusive), statically addressed.

    Returns a subset of bits on this wire from hi to lo (inclusive), statically addressed.

    Definition Classes
    Bits
    Example:
    1. myBits = 0x5 = 0b101
      myBits(1,0) => 0b01  // extracts the two least significant bits
  38. final macro def apply(x: UInt): Bool

    Permalink

    Returns the specified bit on this wire as a Bool, dynamically addressed.

    Returns the specified bit on this wire as a Bool, dynamically addressed.

    Definition Classes
    Bits
  39. final macro def apply(x: Int): Bool

    Permalink

    Returns the specified bit on this wire as a Bool, statically addressed.

    Returns the specified bit on this wire as a Bool, statically addressed.

    Definition Classes
    Bits
    Note

    convenience method allowing direct use of Ints without implicits

  40. final macro def apply(x: BigInt): Bool

    Permalink

    Returns the specified bit on this wire as a Bool, statically addressed.

    Returns the specified bit on this wire as a Bool, statically addressed.

    Definition Classes
    Bits
  41. macro def asClock(): Clock

    Permalink

    Reinterprets this Bool as a Clock.

  42. final macro def asFixedPoint(that: BinaryPoint): FixedPoint

    Permalink

    Reinterpret cast as a FixedPoint.

    Reinterpret cast as a FixedPoint.

    Definition Classes
    Bits
    Note

    value not guaranteed to be preserved: for example, an UInt of width 3 and value 7 (0b111) would become a FixedInt with value -1, the interpretation of the number is also affected by the specified binary point. Caution advised

  43. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  44. final macro def asSInt(): SInt

    Permalink

    Reinterpret cast to a SInt.

    Reinterpret cast to a SInt.

    Definition Classes
    Bits
    Note

    value not guaranteed to be preserved: for example, an UInt of width 3 and value 7 (0b111) would become a SInt with value -1

  45. macro def asTypeOf[T <: Data](that: T): T

    Permalink

    Does a reinterpret cast of the bits in this node into the format that provides.

    Does a reinterpret cast of the bits in this node into the format that provides. Returns a new Wire of that type. Does not modify existing nodes.

    x.asTypeOf(that) performs the inverse operation of x := that.toBits.

    Definition Classes
    Data
    Note

    that should have known widths

    ,

    bit widths are NOT checked, may pad or drop bits from input

  46. final macro def asUInt(): UInt

    Permalink

    Reinterpret cast to UInt.

    Reinterpret cast to UInt.

    Definition Classes
    Data
    Note

    Aggregates are recursively packed with the first element appearing in the least-significant bits of the result.

    ,

    value not guaranteed to be preserved: for example, a SInt of width 3 and value -1 (0b111) would become an UInt with value 7

  47. def binding_=(target: Binding): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  48. final macro def bitSet(off: UInt, dat: Bool): UInt

    Permalink
    Definition Classes
    UInt
  49. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def cloneType: Bool.this.type

    Permalink

    Internal API; Chisel users should look at chisel3.chiselTypeOf(...).

    Internal API; Chisel users should look at chisel3.chiselTypeOf(...).

    cloneType must be defined for any Chisel object extending Data. It is responsible for constructing a basic copy of the object being cloned.

    returns

    a copy of the object.

    Definition Classes
    BitsData
  51. def do_!=(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  52. def do_##(that: Bits)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
  53. def do_%(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  54. def do_&(that: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
  55. def do_&(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  56. def do_&&(that: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
  57. def do_*(that: SInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): SInt

    Permalink
    Definition Classes
    UInt
  58. def do_*(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  59. def do_+(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  60. def do_+%(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  61. def do_+&(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  62. def do_-(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  63. def do_-%(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  64. def do_-&(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  65. def do_/(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  66. def do_<(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UIntNum
  67. def do_<<(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  68. def do_<<(that: BigInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  69. def do_<<(that: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  70. def do_<=(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UIntNum
  71. def do_=/=(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  72. def do_===(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  73. def do_>(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UIntNum
  74. def do_>=(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UIntNum
  75. def do_>>(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  76. def do_>>(that: BigInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  77. def do_>>(that: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntBits
  78. def do_^(that: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
  79. def do_^(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  80. def do_abs(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntNum
  81. def do_andR(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  82. final def do_apply(x: BigInt, y: BigInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
  83. final def do_apply(x: Int, y: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
  84. final def do_apply(x: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    Bits
  85. final def do_apply(x: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    Bits
  86. final def do_apply(x: BigInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    Bits
  87. def do_asBits(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bits

    Permalink
    Definition Classes
    Bits
  88. def do_asClock(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Clock

    Permalink
  89. def do_asFixedPoint(binaryPoint: BinaryPoint)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): FixedPoint

    Permalink
    Definition Classes
    UIntBits
  90. def do_asSInt(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): SInt

    Permalink

    Returns this UInt as a SInt, without changing width or bit value.

    Returns this UInt as a SInt, without changing width or bit value. The SInt is not guaranteed to have the same value (for example, if the MSB is high, it will be interpreted as a negative value).

    Definition Classes
    UIntBits
  91. def do_asTypeOf[T <: Data](that: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T

    Permalink
    Definition Classes
    Data
  92. def do_asUInt(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UIntData
  93. def do_bitSet(off: UInt, dat: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  94. def do_head(n: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
  95. def do_max(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Num
  96. def do_min(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Num
  97. def do_orR(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  98. def do_pad(that: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool.this.type

    Permalink
    Definition Classes
    Bits
  99. def do_tail(n: Int)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
  100. final def do_toBool(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    Bits → ToBoolable
  101. def do_unary_!(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  102. def do_unary_-(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  103. def do_unary_-%(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  104. def do_unary_~(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink

    Returns this wire bitwise-inverted.

    Returns this wire bitwise-inverted.

    Definition Classes
    BoolUIntBits
  105. def do_xorR(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
    Definition Classes
    UInt
  106. def do_zext(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): SInt

    Permalink
    Definition Classes
    UInt
  107. def do_|(that: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
  108. def do_|(that: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    UInt
  109. def do_||(that: Bool)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool

    Permalink
  110. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  111. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  112. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  113. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  114. final def getWidth: Int

    Permalink

    Returns the width, in bits, if currently known.

    Returns the width, in bits, if currently known.

    Definition Classes
    Data
    Exceptions thrown

    java.util.NoSuchElementException if the width is not known.

  115. def hashCode(): Int

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  116. final macro def head(n: Int): UInt

    Permalink
    Definition Classes
    Bits
  117. def instanceName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  118. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  119. def isLit(): Boolean

    Permalink
    Definition Classes
    Data
  120. final def isWidthKnown: Boolean

    Permalink

    Returns whether the width is currently known.

    Returns whether the width is currently known.

    Definition Classes
    Data
  121. val litArg: Option[LitArg]

    Permalink
    Definition Classes
    BitsData
  122. def litValue(): BigInt

    Permalink
    Definition Classes
    Data
  123. final macro def max(that: UInt): UInt

    Permalink

    Outputs the maximum of this and b.

    Outputs the maximum of this and b. The resulting width is the max of the operands.

    Definition Classes
    Num
  124. final macro def min(that: UInt): UInt

    Permalink

    Outputs the minimum of this and b.

    Outputs the minimum of this and b. The resulting width is the max of the operands.

    Definition Classes
    Num
  125. def name: String

    Permalink
    Definition Classes
    Element
  126. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  127. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  129. final macro def orR(): Bool

    Permalink
    Definition Classes
    UInt
  130. final macro def pad(that: Int): Bool.this.type

    Permalink

    Returns this wire zero padded up to the specified width.

    Returns this wire zero padded up to the specified width.

    Definition Classes
    Bits
    Note

    for SInts only, this does sign extension

  131. def parentModName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  132. def parentPathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  133. def pathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  134. def suggestName(name: ⇒ String): Bool.this.type

    Permalink
    Definition Classes
    HasId
  135. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  136. final macro def tail(n: Int): UInt

    Permalink
    Definition Classes
    Bits
  137. final macro def toBool(): Bool

    Permalink

    Casts this object to a Bool

    Casts this object to a Bool

    Definition Classes
    ToBoolable
    Note

    Width must be known and equal to 1

  138. def toBools(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Seq[Bool]

    Permalink
    Definition Classes
    Bits
  139. final macro def toBools(): Seq[Bool]

    Permalink

    Returns the contents of this wire as a Vec of Bools.

    Returns the contents of this wire as a Vec of Bools.

    Definition Classes
    Bits
  140. final def toPrintable: Printable

    Permalink

    Default print as Decimal

    Default print as Decimal

    Definition Classes
    BitsData
  141. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  142. final macro def unary_!(): Bool

    Permalink
    Definition Classes
    UInt
  143. final macro def unary_-(): UInt

    Permalink
    Definition Classes
    UInt
  144. final macro def unary_-%(): UInt

    Permalink
    Definition Classes
    UInt
  145. final macro def unary_~(): Bits

    Permalink

    Returns this wire bitwise-inverted.

    Returns this wire bitwise-inverted.

    Definition Classes
    Bits
  146. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. def widthKnown: Boolean

    Permalink
    Definition Classes
    Element
  150. final def widthOption: Option[Int]

    Permalink

    Returns Some(width) if the width is known, else None.

    Returns Some(width) if the width is known, else None.

    Definition Classes
    Data
  151. final macro def xorR(): Bool

    Permalink
    Definition Classes
    UInt
  152. final macro def zext(): SInt

    Permalink

    Returns this UInt as a SInt with an additional zero in the MSB.

    Returns this UInt as a SInt with an additional zero in the MSB.

    Definition Classes
    UInt
  153. final macro def |(that: Bool): Bool

    Permalink
  154. final macro def |(that: UInt): UInt

    Permalink
    Definition Classes
    UInt
  155. macro def ||(that: Bool): Bool

    Permalink

    Outputs the logical OR of two Bools.

Deprecated Value Members

  1. final macro def !=(that: UInt): Bool

    Permalink
    Definition Classes
    UInt
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Use '=/=', which avoids potential precedence problems

  2. final macro def asBits(): Bits

    Permalink

    Reinterpret cast to Bits.

    Reinterpret cast to Bits.

    Definition Classes
    Bits
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Use asUInt, which does the same thing but returns a more concrete type

  3. def toBits(implicit compileOptions: CompileOptions): UInt

    Permalink

    Packs the value of this object as plain Bits.

    Packs the value of this object as plain Bits.

    This performs the inverse operation of fromBits(Bits).

    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Best alternative, .asUInt()

  4. final def toSInt(implicit compileOptions: CompileOptions): SInt

    Permalink
    Definition Classes
    Bits
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Use asSInt, which makes the reinterpret cast more explicit

  5. final def toUInt(implicit compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Bits
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Use asUInt, which makes the reinterpret cast more explicit

Inherited from Reset

Inherited from UInt

Inherited from Num[UInt]

Inherited from Bits

Inherited from ToBoolable

Inherited from Element

Inherited from Data

Inherited from HasId

Inherited from InstanceId

Inherited from AnyRef

Inherited from Any

Ungrouped