MultiplicandSelector class
A class accessing the multiples of the multiplicand at a position
Constructors
- MultiplicandSelector(int radix, Logic multiplicand, {Logic? selectSigned, bool signed = false})
- Generate required multiples of multiplicand
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- multiples ↔ LogicArray
-
Place to store multiples of the multiplicand
getter/setter pair
- multiplicand ↔ Logic
-
Access the multiplicand
getter/setter pair
- radix ↔ int
-
radix of the selector
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shift ↔ int
-
The bit shift of the selector (typically overlaps 1)
getter/setter pair
- width → int
-
New width of partial products generated from the multiplicand
no setter
Methods
-
getMultiples(
int col) → Logic - Retrieve the multiples of the multiplicand at current bit position
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select(
int col, RadixEncode encode) → Logic - Select the partial product term from the multiples using a RadixEncode
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited