CompressorDelayTable class
Estimated input-to-output delays for a compressor.
sum and carry are indexed by input bit, least-significant bit first.
A 4:2 table has five entries: the four compressBits bits followed by
carryIn. Its cout has the same order, with null for inputs that cannot
affect that output. Values are relative delays in the caller's chosen unit.
Constructors
-
CompressorDelayTable({required List<
double> sum, required List<double> carry, List<double?> ? cout}) - Creates an immutable, validated delay table.
- CompressorDelayTable.fromFullAdderStages(CompressorDelayTable first, CompressorDelayTable second)
-
Derives the 4:2 paths from the two full adders used by Compressor4.
factory
Properties
-
carry
→ List<
double> -
Input-to-carry delays.
final
-
cout
→ List<
double?> ? -
Input-to-horizontal-carry delays, or null for a 2:1 or 3:2 compressor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sum
→ List<
double> -
Input-to-sum delays.
final
Methods
-
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