I have 2 design files one in verilog , other in system verilog with interface as port (interface has modport declaration in it)
Now i need to connect them in top …i.e verilog port to system verilog interface port …How to do that ?
##################################
module dut_v (input a,b;
output c)
##############################
interface txf (
)
logic d,e,f;
modport tx_def (input d,e,
output f);
modport tx_gen (output d,e,
input f);
endinterface
###########################
module dut_sv (input clk,
tx.tx_def tx_if)
##############################
module top ()
endmodule