aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2125/a2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue2125/a2.vhdl')
-rw-r--r--testsuite/synth/issue2125/a2.vhdl22
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/synth/issue2125/a2.vhdl b/testsuite/synth/issue2125/a2.vhdl
new file mode 100644
index 000000000..646d39fa4
--- /dev/null
+++ b/testsuite/synth/issue2125/a2.vhdl
@@ -0,0 +1,22 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity a2 is
+ port (
+ sig : in std_logic;
+ ack : in std_logic;
+ fe : out std_logic
+ );
+end entity;
+
+architecture behaviour of a2 is
+
+ signal fe_h : std_logic;
+
+begin
+
+ fe_h <= '0' when ack = '1' else
+ '1' when sig = '1';
+ fe <= fe_h;
+
+end architecture;