# VERILOG2089: Out-of-bounds range should not be used to select from an array ## Summary ```{raw} html

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH--Intentionality | Logical10minsynthesis, vscode, linter, simulation
``` ## Description ```{raw} html

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];

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

``` ## Parameters No parameters. ```{raw} html ```