I'm trying to connect DUT's port list with interface by using bundling. The current problem is that the DUT was implemented with lots of ports. It's almost 1500 more.
I want to connect a partial bundle interface such as i2c interface, ahb interface, axi interface, etc., to DUT().
As you can see below, I made some example.
module myDesign (
input clk,
input data,
input i2c_clk,
output i2c_data,
input ahb_clk,
output ahb_data,
input axi_clk,
output axi_data
...
//over 1500+ ports..
...
);
...
endmodule
//I made partial interface
interface i2c_interface;
logic i2c_clk;
logic i2c_data;
endinterface
interface ahb_interface;
logic ahb_clk;
logic ahb_data;
endinterface
module tb;
...
i2c_interface i2c_if;
ahb_interface ahb_if;
// I want implement to interface bundle
myDesign u_myDesign ( .*,?); //<=== How Can I connect partial interface by bundling in valid way?
endmodule
For your understanding, I also made an example at EDA playground: https://www.edaplayground.com/x/khdC