VERILOG2076: Nonblocking assignments should not be used in “final” blocks
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Intentionality | Logical | 5min | synthesis, vscode, simulation, linter, dead-code |
Description
A nonblocking assignment is used in a final block, which will have no effect.
Thus, this assignment should be removed.
Noncompliant code example
module fly;
int i;
final begin
i <= 1; // Noncompliant
end
endmodule
Parameters
No parameters.