operator ^ method
- Logic other
override
Logical bitwise XOR.
Implementation
@override
Logic operator ^(Logic other) {
_checkMatchingWidth(other);
if (other is Const) {
return Const(value ^ other.value);
}
return Xor2Gate(this, other).out;
}