implicit object UIntIntegerImpl extends UIntInteger
- Alphabetic
- By Inheritance
- UIntIntegerImpl
- UIntInteger
- IntegerBits
- Integer
- RealBits
- Real
- BinaryRepresentationUInt
- BinaryRepresentation
- ConvertableFromUInt
- ChiselConvertableFrom
- ConvertableToUInt
- ConvertableTo
- ConvertableTo
- UIntIsReal
- UIntSigned
- UIntOrder
- IsIntegral
- IsReal
- Signed
- Order
- PartialOrder
- Eq
- UIntRing
- hasContext
- Ring
- Ring
- Rng
- AdditiveCommutativeGroup
- AdditiveGroup
- Rig
- MultiplicativeMonoid
- Semiring
- MultiplicativeSemigroup
- AdditiveCommutativeMonoid
- AdditiveCommutativeSemigroup
- AdditiveMonoid
- AdditiveSemigroup
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abs(a: UInt): UInt
An idempotent function that ensures an object has a non-negative sign.
An idempotent function that ensures an object has a non-negative sign.
- Definition Classes
- UIntSigned → Signed
- def additive: CommutativeGroup[UInt]
- Definition Classes
- AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- def asFixed(a: UInt, proto: FixedPoint): FixedPoint
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- def asFixed(a: UInt): FixedPoint
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asInterval(a: UInt, proto: Interval): Interval
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- def asInterval(a: UInt): Interval
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- def asReal(a: UInt): DspReal
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- def ceil(a: UInt): UInt
Rounds
a
the nearest integer that is greater than or equal toa
.Rounds
a
the nearest integer that is greater than or equal toa
.- Definition Classes
- IsIntegral → IsReal
- def clip(a: UInt, n: UInt): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def compare(x: UInt, y: UInt): ComparisonBundle
- def context: DspContext
- Definition Classes
- hasContext
- def context_abs(a: UInt): UInt
- Definition Classes
- UIntSigned → Signed
- def div2(a: UInt, n: Int): UInt
- Definition Classes
- BinaryRepresentation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eqv(x: UInt, y: UInt): Bool
Returns
true
ifx
andy
are equivalent,false
otherwise.Returns
true
ifx
andy
are equivalent,false
otherwise.- Definition Classes
- UIntOrder → Order → PartialOrder → Eq
- def floor(a: UInt): UInt
Rounds
a
the nearest integer that is less than or equal toa
.Rounds
a
the nearest integer that is less than or equal toa
.- Definition Classes
- IsIntegral → IsReal
- def fromAlgebraic(a: Algebraic): UInt
- Definition Classes
- Real → ConvertableTo
- def fromBigDecimal(n: BigDecimal): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromBigInt(n: BigInt): UInt
- Definition Classes
- UIntInteger → ConvertableToUInt → ConvertableTo → Ring
- def fromByte(n: Byte): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromDouble(d: Double, a: UInt): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromDouble(n: Double): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromDoubleWithFixedWidth(d: Double, a: UInt): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromFloat(n: Float): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromInt(n: Int): UInt
- Definition Classes
- UIntInteger → ConvertableToUInt → ConvertableTo → Ring
- def fromLong(n: Long): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromRational(a: Rational): UInt
- Definition Classes
- Real → ConvertableTo
- def fromReal(a: spire.math.Real): UInt
- Definition Classes
- Real → ConvertableTo
- def fromShort(n: Short): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- def fromType[B](n: B)(implicit c: ConvertableFrom[B]): UInt
- Definition Classes
- ConvertableToUInt → ConvertableTo
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gt(x: UInt, y: UInt): Bool
- Definition Classes
- UIntOrder → Order → PartialOrder
- def gteqv(x: UInt, y: UInt): Bool
- Definition Classes
- UIntOrder → Order → PartialOrder
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def intPart(a: UInt): SInt
- Definition Classes
- ConvertableFromUInt → ChiselConvertableFrom
- def isEven(a: UInt): Bool
- Definition Classes
- IsIntegral
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOdd(a: UInt): Bool
- Definition Classes
- UIntIsReal → IsIntegral
- def isOne(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean
- Definition Classes
- MultiplicativeMonoid
- def isSignNegative(a: UInt): Bool
- Definition Classes
- UIntSigned → Signed
- def isSignNonNegative(a: UInt): Bool
- Definition Classes
- Signed
- def isSignNonPositive(a: UInt): Bool
- Definition Classes
- Signed
- def isSignNonZero(a: UInt): Bool
- Definition Classes
- Signed
- def isSignPositive(a: UInt): Bool
- Definition Classes
- UIntSigned → Signed
- def isSignZero(a: UInt): Bool
- Definition Classes
- UIntSigned → Signed
- def isWhole(a: UInt): Bool
Returns
true
iffa
is a an integer.Returns
true
iffa
is a an integer.- Definition Classes
- IsIntegral → IsReal
- def isZero(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean
- Definition Classes
- AdditiveMonoid
- def lt(x: UInt, y: UInt): Bool
- Definition Classes
- UIntOrder → Order → PartialOrder
- def lteqv(x: UInt, y: UInt): Bool
- Definition Classes
- UIntOrder → Order → PartialOrder
- def max(x: UInt, y: UInt): UInt
- Definition Classes
- Order
- def min(x: UInt, y: UInt): UInt
- Definition Classes
- Order
- def minus(f: UInt, g: UInt): UInt
- Definition Classes
- UIntRing → AdditiveGroup
- def minusContext(f: UInt, g: UInt): UInt
- def mod(a: UInt, b: UInt): UInt
- Definition Classes
- UIntIsReal → IsIntegral
- def mul2(a: UInt, n: Int): UInt
- Definition Classes
- BinaryRepresentation
- def multiplicative: Monoid[UInt]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate(f: UInt): UInt
- Definition Classes
- UIntRing → AdditiveGroup
- def negateContext(f: UInt): UInt
- def neqv(x: UInt, y: UInt): Bool
Returns
false
ifx
andy
are equivalent,true
otherwise. - final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def on[B <: Data](f: (B) => UInt): Order[B]
Defines an order on
B
by mappingB
toA
usingf
and usingA
s order to orderB
.Defines an order on
B
by mappingB
toA
usingf
and usingA
s order to orderB
.- Definition Classes
- Order → PartialOrder → Eq
- def one: UInt
- Definition Classes
- UIntRing → MultiplicativeMonoid
- def partialCompare(x: UInt, y: UInt): ValidIO[ComparisonBundle]
Result of comparing
x
withy
.Result of comparing
x
withy
. Returns ValidIO[ComparisonBundle] withvalid
false if operands are not comparable. If operands are comparable,bits.lt
will be true ifx
<y
andbits.eq
will be true ifx
=y
- Definition Classes
- Order → PartialOrder
- def plus(f: UInt, g: UInt): UInt
- Definition Classes
- UIntRing → AdditiveSemigroup
- def plusContext(f: UInt, g: UInt): UInt
- def pmax(x: UInt, y: UInt): ValidIO[UInt]
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
- Definition Classes
- PartialOrder
- def pmin(x: UInt, y: UInt): ValidIO[UInt]
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
- Definition Classes
- PartialOrder
- def positivePow(a: UInt, n: Int): UInt
- Attributes
- protected[this]
- Definition Classes
- MultiplicativeSemigroup
- def positiveSumN(a: UInt, n: Int): UInt
- Attributes
- protected[this]
- Definition Classes
- AdditiveSemigroup
- def pow(a: UInt, n: Int): UInt
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def product(as: TraversableOnce[UInt]): UInt
- Definition Classes
- MultiplicativeMonoid
- def reverse: Order[UInt]
Defines an ordering on
A
where all arrows switch direction.Defines an ordering on
A
where all arrows switch direction.- Definition Classes
- Order → PartialOrder
- def round(a: UInt): UInt
Rounds
a
to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e.Rounds
a
to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e. round half up)- Definition Classes
- IsIntegral → IsReal
- def shl(a: UInt, n: UInt): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def shl(a: UInt, n: Int): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def shr(a: UInt, n: UInt): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def shr(a: UInt, n: Int): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def sign(a: UInt): Sign
Returns Zero if
a
is 0, Positive ifa
is positive, and Negative isa
is negative.Returns Zero if
a
is 0, Positive ifa
is positive, and Negative isa
is negative.- Definition Classes
- Signed
- def signBit(a: UInt): Bool
- Definition Classes
- UIntInteger → BinaryRepresentation
- def signum(a: UInt): ComparisonBundle
Returns 0 if
a
is 0, > 0 ifa
is positive, and < 0 isa
is negative.Returns 0 if
a
is 0, > 0 ifa
is positive, and < 0 isa
is negative.- Definition Classes
- UIntSigned → Signed
- def sum(as: TraversableOnce[UInt]): UInt
- Definition Classes
- AdditiveMonoid
- def sumN(a: UInt, n: Int): UInt
- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def times(f: UInt, g: UInt): UInt
- Definition Classes
- UIntRing → MultiplicativeSemigroup
- def timesContext(f: UInt, g: UInt): UInt
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trimBinary(a: UInt, n: Option[Int]): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def trimBinary(a: UInt, n: Int): UInt
- Definition Classes
- BinaryRepresentationUInt → BinaryRepresentation
- def truncate(a: UInt): UInt
- Definition Classes
- IsIntegral → IsReal
- def tryProduct(as: TraversableOnce[UInt]): Option[UInt]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def trySum(as: TraversableOnce[UInt]): Option[UInt]
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def zero: UInt
- Definition Classes
- UIntRing → AdditiveMonoid