aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/synth-stmts.adb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/synth/synth-stmts.adb b/src/synth/synth-stmts.adb
index bcc038180..f1cb13d2c 100644
--- a/src/synth/synth-stmts.adb
+++ b/src/synth/synth-stmts.adb
@@ -137,6 +137,14 @@ package body Synth.Stmts is
Dest_Off := 0;
Dest_Type := Targ.Typ;
end;
+ when Iir_Kind_Object_Alias_Declaration =>
+ declare
+ Targ : constant Value_Acc := Get_Value (Syn_Inst, Pfx);
+ begin
+ Dest_Wid := Targ.A_Wid;
+ Dest_Off := Targ.A_Off;
+ Dest_Type := Targ.Typ;
+ end;
when Iir_Kind_Indexed_Name =>
declare
Voff : Net;