MultiplierEncoder class

A class that generates the Booth encoding of the multipler.

Constructors

MultiplierEncoder(Logic multiplier, RadixEncoder radixEncoder, {Logic? selectSignedMultiplier, bool signedMultiplier = false})
Generate the Booth encoding of an input multiplier using radixEncoder.

Properties

hashCode → int
The hash code for this object.
no setterinherited
multiplier → Logic
Access the multiplier
final
rows ↔ int
Number of rows that are Booth-encoded.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchEncoding(int row) → RadixEncode
Retrieve the Booth encoding for the row
getEncoding(int row) → RadixEncode
Compute the Booth encoding for the row
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited