Files
sv2v/test/error/interface_mismatch_1.sv

11 lines
279 B
Systemverilog
Raw Permalink Normal View History

2021-05-12 21:55:05 -04:00
// pattern: port intf has type Interface1, but the binding intf2 has type Interface2
2021-10-07 21:06:45 -06:00
// location: interface_mismatch_1.sv:9:5
2021-05-12 21:55:05 -04:00
`include "interface_mismatch.svh"
module Module(intf);
Interface1 intf;
endmodule
module top;
Interface2 intf2();
Module m(intf2);
endmodule