mirror of https://github.com/zachjs/sv2v.git
11 lines
230 B
Systemverilog
11 lines
230 B
Systemverilog
|
|
interface Interface;
|
||
|
|
logic x;
|
||
|
|
endinterface
|
||
|
|
|
||
|
|
module top;
|
||
|
|
Interface intfs[3:2][8:5]();
|
||
|
|
for (genvar x = 2; x <= 3; x = x + 1)
|
||
|
|
for (genvar y = 5; y <= 8; y = y + 1)
|
||
|
|
assign intfs[x][y].x = '1;
|
||
|
|
endmodule
|