trait SIntOrder extends Order[SInt] with hasContext
- Alphabetic
- By Inheritance
- SIntOrder
- hasContext
- Order
- PartialOrder
- Eq
- Any
- Hide All
- Show All
- Public
- Protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def compare(x: SInt, y: SInt): ComparisonBundle
- def context: DspContext
- Definition Classes
- hasContext
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def eqv(x: SInt, y: SInt): Bool
Returns
true
ifx
andy
are equivalent,false
otherwise.Returns
true
ifx
andy
are equivalent,false
otherwise.- Definition Classes
- SIntOrder → Order → PartialOrder → Eq
- def gt(x: SInt, y: SInt): Bool
- Definition Classes
- SIntOrder → Order → PartialOrder
- def gteqv(x: SInt, y: SInt): Bool
- Definition Classes
- SIntOrder → Order → PartialOrder
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lt(x: SInt, y: SInt): Bool
- Definition Classes
- SIntOrder → Order → PartialOrder
- def lteqv(x: SInt, y: SInt): Bool
- Definition Classes
- SIntOrder → Order → PartialOrder
- def max(x: SInt, y: SInt): SInt
- Definition Classes
- Order
- def min(x: SInt, y: SInt): SInt
- Definition Classes
- Order
- def neqv(x: SInt, y: SInt): Bool
Returns
false
ifx
andy
are equivalent,true
otherwise. - def on[B <: Data](f: (B) => SInt): 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 partialCompare(x: SInt, y: SInt): 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 pmax(x: SInt, y: SInt): ValidIO[SInt]
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: SInt, y: SInt): ValidIO[SInt]
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 reverse: Order[SInt]
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 toString(): String
- Definition Classes
- Any