operator >>> method
Logical right-shift.
The upper bits are 0-filled.
If isNet and other is constant, then the result will also be a net.
Implementation
Logic operator >>>(dynamic other) {
if (_isZeroShiftAmount(other)) {
return this;
}
if (isNet) {
// many SV simulators don't support shifting of nets, so default this
final shamt = _constShiftAmount(other);
if (shamt != null) {
return [Const(0, width: shamt), getRange(shamt)].concat();
}
}
return RShift(this, other).out;
}