filled static method

LogicValue filled(
  1. int width,
  2. LogicValue fill
)

Constructs a LogicValue with the width number of bits, where every bit has the same value of fill.

width must be greater than or equal to 0. fill must be 1 bit.

Implementation

static LogicValue filled(int width, LogicValue fill) =>
    _FilledLogicValue(fill._enum, width);