interface_delay_1.sv 284 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
interface Interface;
    logic [0:1][0:2] arr;
endinterface

module Module(intf);
    Interface intf;
endmodule

module top;
    Interface intf();
    Module mod [1][2] (intf);
    assign intf.arr[1] = 6;
    assign intf.arr[0][0] = 1;
    initial $display("%b", intf.arr);
endmodule