-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Description
Hi,
I was playing with external names in my project, and it seems that external names pointing into
the package is not supported:
an MWE for this is:
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);
wait for 1 ns;
wait;
end process;
end architecture;
NVC reports:
nvc -a ename16.vhd -e ename16 -r
** Fatal: (init): sorry, this form of external name is not yet supported
> ename16.vhd:14
|
14 | alias al is << signal @work.my_pkg.sig_in_package : natural >>;
| ^^^^^
I tried the code with Aldec on EDA playground and there it seems to work.