tieOff method

void tieOff([
  1. dynamic value = 0
])

Ties this port to a constant value.

The value can be any type that can be used to construct a Const, such as an integer, boolean, or LogicValue. If no value is provided, the port will be tied to 0.

Implementation

void tieOff([dynamic value = 0]) {
  getsLogic(Const(value, width: width));
}