You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdb$ p dump(tree_container(decl))
use STD.STANDARD.all;
architecture WORK.TEST-TEST of TEST is
package PKG is
-- Instantiated from WORK.QUX
generic (
constant X : in POSITIVE;
constant BAZ : in BIT_VECTOR := GEN_BAZ(10) );
generic map (10, GEN_BAZ(10));
subtype BAZ_T is BIT_VECTOR(BAZ'HIGH downto BAZ'LOW);
function GET_QUX ( constant STATE : in BAZ_T ) return BAZ_T;
-- WORK.TEST-TEST.PKG.GET_QUX(24WORK.TEST-TEST.PKG.BAZ_T)24WORK.TEST-TEST.PKG.BAZ_T
function GET_QUX ( constant STATE : in BAZ_T ) return BAZ_T is
-- WORK.TEST-TEST.PKG.GET_QUX(24WORK.TEST-TEST.PKG.BAZ_T)24WORK.TEST-TEST.PKG.BAZ_T
begin
return "0111110101";
end function;
end package;
signal S0 : BAZ_T;
begin
process is
begin
S0 <= reject 0 ps inertial BAZ_T'VALUE("0111110100");
S0 <= reject 0 ps inertial GET_QUX(S0);
wait;
end process;
end architecture;
The text was updated successfully, but these errors were encountered:
Elaborating the following program
fails with the following error:
I think the root of the problem is that
tree_container
is getting the architecture instead of the package instance:The text was updated successfully, but these errors were encountered: