mirror of https://github.com/zachjs/sv2v.git
12 lines
261 B
Systemverilog
12 lines
261 B
Systemverilog
|
|
// pattern: declaration dst uses interface name I where a type name is expected
|
||
|
|
// location: interface_name_func.sv:5:12
|
||
|
|
interface I;
|
||
|
|
logic [3:0] x;
|
||
|
|
task t(I dst, I src);
|
||
|
|
dst.x <= src.x;
|
||
|
|
endtask
|
||
|
|
endinterface
|
||
|
|
module top;
|
||
|
|
I i();
|
||
|
|
endmodule
|