adderGeneratorMap property
getter/setter pair
Map from Type to Function for Adder generator
Implementation
static Map<Type, Adder Function(Logic, Logic, {Logic? carryIn})>
adderGeneratorMap = {
Ripple: (a, b, {carryIn}) => ParallelPrefixAdder(a, b, ppGen: Ripple.new),
Sklansky: (a, b, {carryIn}) =>
ParallelPrefixAdder(a, b, ppGen: Sklansky.new),
KoggeStone: ParallelPrefixAdder.new,
BrentKung: (a, b, {carryIn}) =>
ParallelPrefixAdder(a, b, ppGen: BrentKung.new)
};