mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-04 08:45:29 +02:00
isolate interface name resolution checks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// pattern: inlining instance "mod" of module "Module" would make expression "x" used in "mod" resolvable when it wasn't previously
|
||||
// location: interface_bad_expr_module.sv:6:5
|
||||
interface Interface;
|
||||
endinterface
|
||||
module Module(Interface i);
|
||||
assign x = 1;
|
||||
endmodule
|
||||
module top;
|
||||
wire x;
|
||||
Interface intf();
|
||||
Module mod(intf);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user