aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2224/test.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue2224/test.vhdl')
-rw-r--r--testsuite/synth/issue2224/test.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/issue2224/test.vhdl b/testsuite/synth/issue2224/test.vhdl
new file mode 100644
index 000000000..14d96cc3f
--- /dev/null
+++ b/testsuite/synth/issue2224/test.vhdl
@@ -0,0 +1,16 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.std_logic_misc.all;
+
+entity test is
+port (
+ clk : in std_logic;
+ d : in std_logic_vector(2 downto 0);
+ q : out std_logic
+);
+end entity;
+
+architecture rtl of test is
+begin
+ q <= and_reduce(d);
+end architecture;