verilator/test_regress/t/t_interface_array_bad.out

11 lines
599 B
Plaintext
Raw Normal View History

2026-03-08 23:26:40 +01:00
%Error: t/t_interface_array_bad.v:23:15: Expecting expression to be constant, but variable isn't const: 'bar'
: ... note: In instance 't'
2026-03-08 23:26:40 +01:00
23 | assign foos[bar].a = 1'b1;
| ^~~
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
2026-03-08 23:26:40 +01:00
%Error: t/t_interface_array_bad.v:23:14: Could not expand constant selection inside dotted reference: 'bar'
: ... note: In instance 't'
2026-03-08 23:26:40 +01:00
23 | assign foos[bar].a = 1'b1;
| ^
%Error: Exiting due to