VERILOG051: Begin/End identifiers/labels should match
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | MEDIUM | Intentionality | Clear | 2min | synthesis, readability, vscode, linter, simulation |
Description
Begin/End identifiers/labels should match.
Noncompliant code example
module fly; ... endmodule : dream // Noncompliant: Should be "fly" instead begin : dream ... end : fly // Noncompliant: Should be "dream" instead
Compliant solution
module fly; ... endmodule : fly begin : dream ... end : dream
Parameters
No parameters.