mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-01 10:06:19 +02:00
- full import and export support - simplify AST representation of import and export - allow package-scoped identifiers invoked as subroutines - use scoped name resolution for identifiers in packages - merge package item nesting conversion into package conversion - fix handling of colliding enum items in separate modules - fix visiting enum item exprs in types
13 lines
280 B
Systemverilog
13 lines
280 B
Systemverilog
// pattern: package dependency loop: "PkgA" depends on "PkgB", which depends on "PkgA"
|
|
package PkgA;
|
|
import PkgB::Foo;
|
|
export PkgB::Foo;
|
|
endpackage
|
|
package PkgB;
|
|
import PkgA::Foo;
|
|
export PkgA::Foo;
|
|
endpackage
|
|
module top;
|
|
initial $display(PkgA::Foo);
|
|
endmodule
|