mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-01 18:16:05 +02:00
allow packages to reference their own items explicitly
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// pattern: package "P" references undeclared local "P::Foo"
|
||||
package P;
|
||||
localparam Foo = P::Foo;
|
||||
endpackage
|
||||
module top;
|
||||
import P::*;
|
||||
initial $display(Foo);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user