LogicNet constructor

LogicNet({
  1. String? name,
  2. int width = 1,
  3. Naming? naming,
})

Constructs a new LogicNet supporting multiple drivers named name with width bits.

The default value for width is 1. The name should be sanitary (variable rules for languages such as SystemVerilog).

The naming and name, if unspecified, are chosen based on the rules in Naming.chooseNaming and Naming.chooseName, respectively.

Implementation

LogicNet({super.name, super.width, super.naming})
    : super._(wire: _WireNet(width: width));