diff options
Diffstat (limited to 'testsuite/synth/issue2124/b.vhdl')
-rw-r--r-- | testsuite/synth/issue2124/b.vhdl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/synth/issue2124/b.vhdl b/testsuite/synth/issue2124/b.vhdl new file mode 100644 index 000000000..5f35b2d42 --- /dev/null +++ b/testsuite/synth/issue2124/b.vhdl @@ -0,0 +1,23 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity b is + port ( + c : in std_logic; + d : in std_logic; + q : out std_logic + ); +end entity; + +architecture behaviour of b is +begin + + process (c) + begin + if rising_edge(c) + then + q <= d; + end if; + end process; + +end architecture; |