Why is this an issue?

An out-of-bounds value used to index an array should be fixed.

How to fix it

Code examples

Noncompliant code example

logic [7:0] a;
logic b = a[9];

Noncompliant code example

logic [7:0] a;
logic b = a[2];