systemverilog -> Passing parameters from an interface that instantiates another interface
问题 I'm trying to pass an interface to a module which is an array of interfaces. interface front_port #(parameter DATA_WIDTH = 4); logic [DATA_WIDTH - 1 : 0] data; logic acknowledge; modport f_interface(input data, output acknowledge); endinterface interface front_interface #(parameter NO_OF_IN_PORTS = 3); front_port front_ports[NO_OF_IN_PORTS](); endinterface module A #(parameter NO_OF_IN_PORTS = 3) ( interface front_port; ); module testbench; font_interface #(.NO_OF_IN_PORTS(3)) my_front