VERILOG2054: The argument of the “$finish” control task should be a “finish number” of 0, 1, or 2

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
LOW--Intentionality | Logical5minvscode, simulation, linter

Description

The argument of the $finish control task should be a "finish number" of 0, 1, or 2.

Noncompliant code example

initial $finish("Hello");

Compliant solution

initial $finish(1);

Parameters

No parameters.