aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-26 19:42:09 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-26 19:42:09 +0200
commit4ddc16c4e656b5a0816b5cc35299c346a40152b7 (patch)
tree3cd25f910971eb8200f1dd3fee229907666523e5
parent3fbe77dabdb4735c0904df4a8e1f77473609d30f (diff)
downloadghdl-4ddc16c4e656b5a0816b5cc35299c346a40152b7.tar.gz
ghdl-4ddc16c4e656b5a0816b5cc35299c346a40152b7.tar.bz2
ghdl-4ddc16c4e656b5a0816b5cc35299c346a40152b7.zip
synth: handle alias for reshape.
-rw-r--r--src/synth/synth-expr.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index e73bd5fb2..714567176 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -706,6 +706,8 @@ package body Synth.Expr is
return Create_Value_Wire (Val.W, Ntype);
when Value_Net =>
return Create_Value_Net (Val.N, Ntype);
+ when Value_Alias =>
+ return Create_Value_Alias (Val.A_Wid, Val.A_Off, Ntype);
when others =>
raise Internal_Error;
end case;