Packages

t

dsptools.numbers

UIntIsReal

trait UIntIsReal extends IsIntegral[UInt] with UIntOrder with UIntSigned with hasContext

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UIntIsReal
  2. UIntSigned
  3. UIntOrder
  4. hasContext
  5. IsIntegral
  6. IsReal
  7. Signed
  8. Order
  9. PartialOrder
  10. Eq
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. 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
    UIntSignedSigned
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def ceil(a: UInt): UInt

    Rounds a the nearest integer that is greater than or equal to a.

    Rounds a the nearest integer that is greater than or equal to a.

    Definition Classes
    IsIntegralIsReal
  7. def compare(x: UInt, y: UInt): ComparisonBundle
    Definition Classes
    UIntOrderOrder
  8. def context: DspContext
    Definition Classes
    hasContext
  9. def context_abs(a: UInt): UInt
    Definition Classes
    UIntSignedSigned
  10. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  11. def eqv(x: UInt, y: UInt): Bool

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    UIntOrderOrderPartialOrderEq
  12. def floor(a: UInt): UInt

    Rounds a the nearest integer that is less than or equal to a.

    Rounds a the nearest integer that is less than or equal to a.

    Definition Classes
    IsIntegralIsReal
  13. def gt(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  14. def gteqv(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  15. def hashCode(): Int
    Definition Classes
    Any
  16. def isEven(a: UInt): Bool
    Definition Classes
    IsIntegral
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isOdd(a: UInt): Bool
    Definition Classes
    UIntIsRealIsIntegral
  19. def isSignNegative(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  20. def isSignNonNegative(a: UInt): Bool
    Definition Classes
    Signed
  21. def isSignNonPositive(a: UInt): Bool
    Definition Classes
    Signed
  22. def isSignNonZero(a: UInt): Bool
    Definition Classes
    Signed
  23. def isSignPositive(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  24. def isSignZero(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  25. def isWhole(a: UInt): Bool

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  26. def lt(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  27. def lteqv(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  28. def max(x: UInt, y: UInt): UInt
    Definition Classes
    Order
  29. def min(x: UInt, y: UInt): UInt
    Definition Classes
    Order
  30. def mod(a: UInt, b: UInt): UInt
    Definition Classes
    UIntIsRealIsIntegral
  31. def neqv(x: UInt, y: UInt): Bool

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    UIntOrderEq
  32. def on[B <: Data](f: (B) ⇒ UInt): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderPartialOrderEq
  33. def partialCompare(x: UInt, y: UInt): ValidIO[ComparisonBundle]

    Result of comparing x with y.

    Result of comparing x with y. Returns ValidIO[ComparisonBundle] with valid false if operands are not comparable. If operands are comparable, bits.lt will be true if x < y and bits.eq will be true if x = y

    Definition Classes
    OrderPartialOrder
  34. 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
  35. 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
  36. 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
    OrderPartialOrder
  37. 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
    IsIntegralIsReal
  38. def sign(a: UInt): Sign

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Definition Classes
    Signed
  39. def signum(a: UInt): ComparisonBundle

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    UIntSignedSigned
  40. def toString(): String
    Definition Classes
    Any
  41. def truncate(a: UInt): UInt
    Definition Classes
    IsIntegralIsReal

Inherited from UIntSigned

Inherited from UIntOrder

Inherited from hasContext

Inherited from IsIntegral[UInt]

Inherited from IsReal[UInt]

Inherited from Signed[UInt]

Inherited from Order[UInt]

Inherited from PartialOrder[UInt]

Inherited from Eq[UInt]

Inherited from Any

Ungrouped