aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_oper.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-02-16 18:40:38 +0100
committerTristan Gingold <tgingold@free.fr>2022-02-16 18:41:25 +0100
commit58dc6e36df2f8ca37c52779c7380dee06cec7719 (patch)
tree8a3d877c1bf3913ba3437441d1896c20fdaf6bc0 /src/synth/synth-vhdl_oper.adb
parentf140e6b987b35babc1cc64109de772b1749b58e0 (diff)
downloadghdl-58dc6e36df2f8ca37c52779c7380dee06cec7719.tar.gz
ghdl-58dc6e36df2f8ca37c52779c7380dee06cec7719.tar.bz2
ghdl-58dc6e36df2f8ca37c52779c7380dee06cec7719.zip
synth-vhdl_oper: handle bit condition operator. Fix #1971
Diffstat (limited to 'src/synth/synth-vhdl_oper.adb')
-rw-r--r--src/synth/synth-vhdl_oper.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_oper.adb b/src/synth/synth-vhdl_oper.adb
index e6221075d..91ba862ad 100644
--- a/src/synth/synth-vhdl_oper.adb
+++ b/src/synth/synth-vhdl_oper.adb
@@ -1743,7 +1743,8 @@ package body Synth.Vhdl_Oper is
return Create_Value_Net (Get_Net (Ctxt, Operand),
Create_Res_Bound (Operand));
- when Iir_Predefined_Ieee_1164_Condition_Operator =>
+ when Iir_Predefined_Ieee_1164_Condition_Operator
+ | Iir_Predefined_Bit_Condition =>
return Create_Value_Net
(Get_Net (Ctxt, Operand),
Get_Subtype_Object (Syn_Inst, Get_Type (Imp)));