VERILOG2070: Lifetime specifiers should not be used on method prototype declarations

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
LOW--Intentionality | Logical10minsynthesis, portability, vscode, simulation, linter

Description

Lifetime specifiers are not allowed on method prototype declarations.

Even if some tools allow it, refrain from using this syntax to keep your code portable.

Noncompliant code example

class Fly;
  extern function automatic void dream;
endclass

function automatic void Fly::dream;
endfunction

Compliant solution

class Fly;
  extern function void dream;
endclass

function automatic void Fly::dream;
endfunction

Parameters

No parameters.