-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #511 from dalance/import_resolve
Add import resolve support
- Loading branch information
Showing
6 changed files
with
227 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module veryl_testcase_Module44; | ||
logic [10-1:0] a; | ||
logic [10-1:0] b; | ||
logic [10-1:0] c; | ||
|
||
import veryl_testcase_Package44A::z; | ||
import veryl_testcase_Package44B::*; | ||
|
||
assign a = veryl_testcase_Package44A::z; | ||
assign b = z; | ||
assign c = y; | ||
endmodule | ||
|
||
package veryl_testcase_Package44A; | ||
localparam int unsigned z = 0; | ||
endpackage | ||
|
||
package veryl_testcase_Package44B; | ||
localparam int unsigned y = 0; | ||
endpackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module Module44 { | ||
var a: logic<10>; | ||
var b: logic<10>; | ||
var c: logic<10>; | ||
|
||
import Package44A::z; | ||
import Package44B::*; | ||
|
||
assign a = Package44A::z; | ||
assign b = z; | ||
assign c = y; | ||
} | ||
|
||
package Package44A { | ||
localparam z: u32 = 0; | ||
} | ||
|
||
package Package44B { | ||
localparam y: u32 = 0; | ||
} |