ExternalSystemVerilogModule constructor Null safety

ExternalSystemVerilogModule(
  1. {required String definitionName,
  2. Map<String, String>? parameters,
  3. String name = 'external_module'}
)

Constructs an instance of an externally defined SystemVerilog module.

The name of the SystemVerilog module should match definitionName exactly. The name will be the instance name when referred to in generated SystemVerilog.

Implementation

ExternalSystemVerilogModule({
  required String definitionName,
  this.parameters,
  super.name = 'external_module',
}) : super(definitionName: definitionName, reserveDefinitionName: true);