addOutput method

  1. @override
Logic addOutput(
  1. String name, {
  2. int width = 1,
})
override

Registers an output to this Module and returns an output port that can be driven.

The return value is the same as what is returned by output().

Implementation

@override
Logic addOutput(String name, {int width = 1}) {
  _uniquifier.getUniqueName(initialName: name, reserved: true);
  return super.addOutput(name, width: width);
}