TrivialCompoundAdder constructor
Constructs a CompoundAdder.
Implementation
TrivialCompoundAdder(super.a, super.b,
{super.name = 'trivial_compound_adder'}) {
sum <= a.zeroExtend(a.width + 1) + b.zeroExtend(b.width + 1);
sum1 <= sum + 1;
}
Constructs a CompoundAdder.
TrivialCompoundAdder(super.a, super.b,
{super.name = 'trivial_compound_adder'}) {
sum <= a.zeroExtend(a.width + 1) + b.zeroExtend(b.width + 1);
sum1 <= sum + 1;
}