tieOff method

void tieOff({
  1. dynamic value = 0,
  2. bool fill = false,
})

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, bool fill = false}) {
  getsLogic(Const(value, width: width, fill: fill)
      .named('tieoff_const$value', naming: Naming.mergeable));
}