addInput method
override
Adds an input in the same way as the base Module does.
If source is null, then a default port will be created.
Implementation
@override
Logic addInput(String name, Logic? source, {int width = 1}) {
_handleNewPortName(name);
final retPort = super.addInput(name,
source ?? Logic(name: name, width: width, naming: Naming.mergeable),
width: width);
return retPort;
}