Error with SV Interface wrapper for Verilog DUT

In reply to nikhil.n:

Specify what modport you want to use in add_wrap. Since this is a wrapper for the DUT you would use the dut modport:


module add_wrap (adif.dut aif);
    add i_add (.a(aif.a), .b(aif.b), .sum(aif.sum), .cout(aif.cout));
endmodule