VERILOG2062: Out-of-bounds values used to index arrays should be fixed
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
Description
Noncompliant code example
logic [7:0] a; logic b = a[9];
Noncompliant code example
logic [7:0] a; logic b = a[2];
An out-of-bounds value used to index an array should be fixed.
Parameters
No parameters.