aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-03 20:41:14 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-03 20:41:14 +0200
commit8dee86c299dce882d5ee670f851915d6717dd334 (patch)
tree0a2f201a2307526bb329fc06227317bde43b18df /src/synth/synth-expr.adb
parent69f8848564646a368708d109b99a2400fb4e4f8e (diff)
downloadghdl-8dee86c299dce882d5ee670f851915d6717dd334.tar.gz
ghdl-8dee86c299dce882d5ee670f851915d6717dd334.tar.bz2
ghdl-8dee86c299dce882d5ee670f851915d6717dd334.zip
synth-oper: convert type of unary operation operand.
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r--src/synth/synth-expr.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 545f6ba62..aa743c5e3 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -1557,7 +1557,7 @@ package body Synth.Expr is
or else Def in Iir_Predefined_IEEE_Explicit
then
return Synth_Monadic_Operation
- (Syn_Inst, Def, Get_Operand (Expr), Expr);
+ (Syn_Inst, Imp, Get_Operand (Expr), Expr);
else
Error_Unknown_Operator (Imp, Expr);
raise Internal_Error;