aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-08 07:49:53 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-11 06:37:26 +0200
commit67333b39047b444ea93f1efcabf7ea7b0371a972 (patch)
treef999cda95e5f42d745f149f29ce2b06a3e148304 /src/synth/synth-expr.adb
parent2b3a1bb316317453d4e40bc3a650b4ed07eee7a8 (diff)
downloadghdl-67333b39047b444ea93f1efcabf7ea7b0371a972.tar.gz
ghdl-67333b39047b444ea93f1efcabf7ea7b0371a972.tar.bz2
ghdl-67333b39047b444ea93f1efcabf7ea7b0371a972.zip
synth: handle alias (WIP, read only).
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r--src/synth/synth-expr.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index da6ea7190..d0abeec7b 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -1532,7 +1532,8 @@ package body Synth.Expr is
| Iir_Kind_Anonymous_Signal_Declaration
| Iir_Kind_Interface_Constant_Declaration
| Iir_Kind_Constant_Declaration
- | Iir_Kind_Iterator_Declaration =>
+ | Iir_Kind_Iterator_Declaration
+ | Iir_Kind_Object_Alias_Declaration =>
return Get_Value (Syn_Inst, Name);
when Iir_Kind_Enumeration_Literal =>
return Create_Value_Discrete