zeroExtend method
- int newWidth
override
Returns a new Logic with width newWidth
where new bits added are zeros
as the most significant bits.
The newWidth
must be greater than or equal to the current width or an
exception will be thrown.
Implementation
@override
Logic zeroExtend(int newWidth) => packed.zeroExtend(newWidth);