aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/synth-static_oper.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index e7d06cfe8..75803c607 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -234,7 +234,8 @@ package body Synth.Static_Oper is
return Create_Value_Discrete
(Boolean'Pos (Get_Static_Discrete (Left)
/= Get_Static_Discrete (Right)), Boolean_Type);
- when Iir_Predefined_Physical_Physical_Div =>
+ when Iir_Predefined_Physical_Physical_Div
+ | Iir_Predefined_Physical_Integer_Div =>
return Create_Value_Discrete
(Left.Scal / Right.Scal, Res_Typ);