Modulo operator
Modulo operator
a hardware type
the remainder of this numeric-like type divided by that
This method generates a fully combinational divider which can result in significant cycle time and area costs.
Multiplication operator
Multiplication operator
a hardware type
the product of this numeric-like type and that
This method generates a fully combinational multiplier which can result in significant cycle time and area costs.
,The width of the returned hardware type is width of this
+ width of that
.
Addition operator
Addition operator
a hardware type
the sum of this numeric-like type and that
The width of the returned hardware type is max(width of this, width of that)
.
Subtraction operator
Subtraction operator
a hardware type
the difference of this numeric-like type less that
The width of the returned hardware type is max(width of this, width of that) + 1
.
Division operator
Division operator
a hardware type
the quotient of this numeric-like type divided by that
full rules
This method generates a fully combinational divider which can result in significant cycle time and area costs.
Less than operator
Less than operator
a hardware type
a hardware Bool asserted if this numeric-like type is less than that
Less than or equal to operator
Less than or equal to operator
a hardware type
a hardware Bool asserted if this numeric-like type is less than or equal to that
Greater than operator
Greater than operator
a hardware component
a hardware Bool asserted if this numeric-like type is greater than that
Greater than or equal to operator
Greater than or equal to operator
a hardware component
a hardware Bool asserted if this numeric-like type is greather than or equal to that
Absolute value operator
Absolute value operator
a hardware type with a value equal to the absolute value of this numeric-like type
The width of the returned hardware type is unchanged, i.e., the width of this
.
Maximum operator
Maximum operator
a hardware type
a hardware type with a value equal to the mimimum value of this numeric-like type and that
The width of the returned hardware type is max(width of this, width of that)
.
Minimum operator
Minimum operator
a hardware numeric-like type
a hardware type with a value equal to the mimimum value of this numeric-like type and that
The width of the returned hardware type is max(width of this, width of that)
.
Arithmetic hardware operators
Comparison hardware operators
Abstract trait defining operations available on numeric-like hardware data types.
the underlying type of the number