Guest
I need to construct a module with many identical interfaces. The module
must take each interface and feed it to another module at a lower
hierachy level, but I cannot get the VCS compiler to accept the
indexing into the array of interfaces. What am I doing wrong ? Any help
is highly appreciated.
interface my_interface; bit dummy; endinterface
module my_submod(my_interface intf); endmodule
module my_module(my_interface intf[0:10]);
my_submod inst0 (intf[0]); // CANNOT ACCEPT THIS
my_submod inst1 (intf[1]);
endmodule
module top;
my_interface i[0:10]();
my_module(i);
endmodule // top
must take each interface and feed it to another module at a lower
hierachy level, but I cannot get the VCS compiler to accept the
indexing into the array of interfaces. What am I doing wrong ? Any help
is highly appreciated.
interface my_interface; bit dummy; endinterface
module my_submod(my_interface intf); endmodule
module my_module(my_interface intf[0:10]);
my_submod inst0 (intf[0]); // CANNOT ACCEPT THIS
my_submod inst1 (intf[1]);
endmodule
module top;
my_interface i[0:10]();
my_module(i);
endmodule // top