VERILOG2054: The argument of the “$finish” control task should be a “finish number” of 0, 1, or 2
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| LOW | - | - | Intentionality | Logical | 5min | vscode, 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.