F
fpgabuilder
Guest
I am trying to access individual ports in an array of interface as
below. Ofcourse, this does not work... anybody have any suggestions?
module my_module ();
logic [9:0] my_signal;
my_if.rx my_if_inst [0:9];
assign my_signal[9:0] = my_if_inst[0:9].signal;
endmodule
interface my_if();
logic signal;
modport rx (
input signal;
);
endinterface
TIA.
below. Ofcourse, this does not work... anybody have any suggestions?
module my_module ();
logic [9:0] my_signal;
my_if.rx my_if_inst [0:9];
assign my_signal[9:0] = my_if_inst[0:9].signal;
endmodule
interface my_if();
logic signal;
modport rx (
input signal;
);
endinterface
TIA.