diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-11 15:35:20 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-11 15:35:20 +0200 |
commit | aecf3b2208358bb60ab27c17fadcdedf137be2c8 (patch) | |
tree | ec215e27b74280fd643d5f9ea3950c54a602b758 /src/vhdl/vhdl-ieee-math_real.adb | |
parent | f6b61769014221f190b68c3bae4acac1441f79b5 (diff) | |
download | ghdl-aecf3b2208358bb60ab27c17fadcdedf137be2c8.tar.gz ghdl-aecf3b2208358bb60ab27c17fadcdedf137be2c8.tar.bz2 ghdl-aecf3b2208358bb60ab27c17fadcdedf137be2c8.zip |
vhdl: recognize math_real.floor. For #1210
Diffstat (limited to 'src/vhdl/vhdl-ieee-math_real.adb')
-rw-r--r-- | src/vhdl/vhdl-ieee-math_real.adb | 2 |
1 files changed, 2 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 => |