module hh (input [2:0] a [0:3], output b);
wire [2:0] c1 [4:1];
wire [0:2] c2 [0:3];
wire d;
u_hh_1 hh (.a(c1 ), .b(d)); // it is right;
u_hh_2 hh (.a(c1[4:1][2:0]), .b(d)); // illegal slice name;
u_hh_3 hh (.a(c2 ), .b(d)); // it is right,
// and in the netlist,
// the bits of c2 is swapped to a;
u_hh_4 hh (.a(c2[0:3][2:0]), .b(d)); // illegal slice name;
은 VERILOG하지 SystemVerilog에지지된다. 이를 더 읽기 쉽게하기 위해 범위를 명시 적으로 표시하고 싶지만 불법입니다. 함수에서도 같은 문제가 발생합니다. 이 문제를 어떻게 해결할 수 있습니까?SystemVerilog를 이용 어레이/기능