aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-oper.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-oper.adb')
-rw-r--r--src/synth/synth-oper.adb12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb
index 8efaca0c3..ed962e378 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -1481,13 +1481,11 @@ package body Synth.Oper is
| Iir_Predefined_Ieee_1164_Vector_Is_X =>
-- Always false.
return Create_Value_Discrete (0, Boolean_Type);
- when Iir_Predefined_Ieee_1164_To_Bitvector =>
- if Is_Static (L) then
- raise Internal_Error;
- end if;
- return Create_Value_Net (Get_Net (L), Create_Res_Bound (L));
- when Iir_Predefined_Ieee_1164_To_Stdlogicvector_Suv
- | Iir_Predefined_Ieee_1164_To_Stdlogicvector_Bv =>
+ when Iir_Predefined_Ieee_1164_To_Bitvector
+ | Iir_Predefined_Ieee_1164_To_Stdlogicvector_Suv
+ | Iir_Predefined_Ieee_1164_To_Stdlogicvector_Bv
+ | Iir_Predefined_Ieee_Numeric_Std_To_01_Uns
+ | Iir_Predefined_Ieee_Numeric_Std_To_01_Sgn =>
if Is_Static (L) then
raise Internal_Error;
end if;