aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-ieee-math_real.adb2
-rw-r--r--src/vhdl/vhdl-nodes.ads1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-ieee-math_real.adb b/src/vhdl/vhdl-ieee-math_real.adb
index d4f83e62c..bb3a50ab5 100644
--- a/src/vhdl/vhdl-ieee-math_real.adb
+++ b/src/vhdl/vhdl-ieee-math_real.adb
@@ -42,6 +42,8 @@ package body Vhdl.Ieee.Math_Real is
case Get_Identifier (Decl) is
when Name_Ceil =>
Predef := Iir_Predefined_Ieee_Math_Real_Ceil;
+ when Name_Floor =>
+ Predef := Iir_Predefined_Ieee_Math_Real_Floor;
when Name_Round =>
Predef := Iir_Predefined_Ieee_Math_Real_Round;
when Name_Log2 =>
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index 393780a3f..8b9345d00 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -5705,6 +5705,7 @@ package Vhdl.Nodes is
-- Math_Real
Iir_Predefined_Ieee_Math_Real_Ceil,
+ Iir_Predefined_Ieee_Math_Real_Floor,
Iir_Predefined_Ieee_Math_Real_Round,
Iir_Predefined_Ieee_Math_Real_Log2,
Iir_Predefined_Ieee_Math_Real_Sin,