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.
If isNet, then the result will also be a net.
Implementation
@override
Logic zeroExtend(int newWidth) => packed.zeroExtend(newWidth);