TrivialCompoundAdder constructor
Constructs a CompoundAdder.
Implementation
TrivialCompoundAdder(super.a, super.b,
{super.carryIn,
super.name = 'trivial_compound_adder',
super.reserveName,
super.reserveDefinitionName,
String? definitionName})
: super(
definitionName:
definitionName ?? 'TrivialCompoundAdder_W${a.width}') {
sum <= a.zeroExtend(a.width + 1) + b.zeroExtend(b.width + 1);
sumP1 <= sum + 1;
}