aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1210/bug.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1210/bug.vhdl')
-rw-r--r--testsuite/synth/issue1210/bug.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/issue1210/bug.vhdl b/testsuite/synth/issue1210/bug.vhdl
new file mode 100644
index 000000000..2bd385609
--- /dev/null
+++ b/testsuite/synth/issue1210/bug.vhdl
@@ -0,0 +1,15 @@
+library IEEE;
+use IEEE.std_logic_1164.all;
+use IEEE.math_real.all;
+
+entity bug is
+ port (
+ dummy : in std_ulogic
+ );
+end entity;
+
+architecture rtl of bug is
+ constant a : real := floor(15.0/4.0);
+ constant b : real := ceil(15.0/4.0);
+begin
+end architecture;