Why is this an issue?

Out-of-bounds range should not be used to select from an array.

How to fix it

Code examples

Noncompliant code example

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

Compliant solution

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