-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for package external names. Fixes nickg#1072
- Loading branch information
Showing
5 changed files
with
74 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package my_pkg is | ||
|
||
signal sig_in_package : natural := 17; | ||
|
||
end package; | ||
|
||
entity ename16 is | ||
end entity; | ||
|
||
architecture test of ename16 is | ||
begin | ||
|
||
process | ||
alias al is << signal @work.my_pkg.sig_in_package : natural >>; | ||
begin | ||
wait for 1 ns; | ||
assert (al = 17); | ||
al <= 5; | ||
wait for 1 ns; | ||
assert al = 5; | ||
wait for 1 ns; | ||
|
||
assert << signal @work.my_pkgxxxx.sig : natural >> = 1; -- Error | ||
wait; | ||
end process; | ||
|
||
end architecture; |
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 @@ | ||
3ns+0: WORK.MY_PKGXXXX is not a package |
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 |
---|---|---|
|
@@ -1078,3 +1078,4 @@ issue1071 wave,2008,dump-arrays | |
issue1079 normal,gold | ||
ivtest4 verilog | ||
psl17 gold,psl | ||
ename16 fail,gold,2008 |