sv2v/test/error/interface_mismatch_5.sv

11 lines
317 B
Systemverilog

// pattern: could not resolve modport binding intf1\.ModportC for port intf of type Interface1\.ModportC
// location: interface_mismatch_5.sv:9:5
`include "interface_mismatch.svh"
module Module(intf);
Interface1.ModportC intf;
endmodule
module top;
Interface1 intf1();
Module m(intf1.ModportC);
endmodule