PartialProductArray class abstract
A PartialProductArray is a class that holds a set of partial products for manipulation by PartialProductGenerator and ColumnCompressor.
- Implementers
Constructors
- PartialProductArray()
-
Construct a basic List<List
to hold an array of partial products as well as a rowShift array to hold the row shifts.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
partialProducts
↔ List<
List< Logic> > -
Partial Products output. Generated by selector and extended by sign
extension routines
latefinal
- rows → int
-
rows of partial products
no setter
-
rowShift
→ List<
int> -
The actual shift in each row. This value will be modified by the
sign extension routine used when folding in a sign bit from another
row
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAbsolute(
int row, int col) → Logic -
Return the Logic at the absolute position (
row
,col
). -
getAbsoluteAll(
int row, List< int> columns) → List<Logic> -
Return the List
at the absolute position ( row
, Listcolumns
. -
insertAbsolute(
int row, int col, Logic val) → void -
Set a Logic
val
at the absolute position (row
,col
) -
insertAbsoluteAll(
int row, int col, List< Logic> list) → void -
Set the values of the row, starting at absolute position (
row
,col
) to thelist
of values -
maxWidth(
) → int - Return the actual largest width of all rows
-
muxAbsolute(
int row, int col, Logic condition, Logic val) → void -
Mux the Logic at absolute position (
row
,col
) conditionally bycondition
toval
. -
muxAbsoluteAll(
int row, int col, Logic condition, List< Logic> list) → void -
Mux the range of values into the row starting at absolute position
(
row
,col
) usingcondition
to select the new value -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAbsolute(
int row, int col, Logic val) → void -
Set the Logic at absolute position (
row
,col
) toval
. -
setAbsoluteAll(
int row, int col, List< Logic> list) → void -
Set the range at absolute position (
row
,col
) tolist
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited