aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_values.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-06 08:35:50 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-06 08:35:50 +0200
commit825099cdda3cbfbe5210570d6c2f0bb6abb360e2 (patch)
tree3bd3c9d6a1cfc0c63df48d48fa44ddeb54fa129d /src/synth/elab-vhdl_values.ads
parent26d9756273a66c4bd359b89db4829edcdb30e522 (diff)
downloadghdl-825099cdda3cbfbe5210570d6c2f0bb6abb360e2.tar.gz
ghdl-825099cdda3cbfbe5210570d6c2f0bb6abb360e2.tar.bz2
ghdl-825099cdda3cbfbe5210570d6c2f0bb6abb360e2.zip
synth-vhdl_stmts: handle alias in assignment expression
Diffstat (limited to 'src/synth/elab-vhdl_values.ads')
-rw-r--r--src/synth/elab-vhdl_values.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_values.ads b/src/synth/elab-vhdl_values.ads
index 8e4887c18..b1aad9ce1 100644
--- a/src/synth/elab-vhdl_values.ads
+++ b/src/synth/elab-vhdl_values.ads
@@ -167,6 +167,10 @@ package Elab.Vhdl_Values is
-- is not correct anymore.
function Strip_Alias_Const (V : Valtyp) return Valtyp;
+ -- Return the memory of a Value_Memory value, but also handle const and
+ -- aliases.
+ function Get_Memory (V : Valtyp) return Memory_Ptr;
+
-- Return the memtyp of V; also strip const and aliases.
function Get_Memtyp (V : Valtyp) return Memtyp;