zeroExtend method
- int newWidth
Returns a new LogicValue 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
LogicValue zeroExtend(int newWidth) => extend(newWidth, LogicValue.zero);