Files
iverilog/ivtest/vvp_tests/hier_index_queue_fail.json
T
Lars-Peter Clausen 2efe188b52 Add regression tests for invalid index component contexts
Consolidating variable dimensions and hierarchy indices into a shared
grammar makes all index component forms parse in either context.

Check that `+:` and `-:` indexed part selects are rejected as dimensions,
and that `[]` and `[$:N]` are rejected as hierarchy indices. These forms
were previously excluded by the context-specific grammar rules.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2026-08-10 20:17:46 -07:00

6 lines
119 B
JSON

{
"type" : "CE",
"source" : "hier_index_queue_fail.v",
"iverilog-args" : [ "-g2005-sv" ]
}