generatedDefinitionType property

DefinitionGenerationType generatedDefinitionType

What kind of SystemVerilog definition this Module generates, or whether it does at all.

By default, this is automatically calculated based on the return value of definitionVerilog.

Implementation

DefinitionGenerationType get generatedDefinitionType {
  final def = definitionVerilog('*PLACEHOLDER*');
  if (def == null) {
    return DefinitionGenerationType.standard;
  } else if (def.isNotEmpty) {
    return DefinitionGenerationType.custom;
  } else {
    return DefinitionGenerationType.none;
  }
}