diff options
Diffstat (limited to 'testsuite/synth/synth179/repro1.vhdl')
-rw-r--r-- | testsuite/synth/synth179/repro1.vhdl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/synth/synth179/repro1.vhdl b/testsuite/synth/synth179/repro1.vhdl new file mode 100644 index 000000000..f6fd480fa --- /dev/null +++ b/testsuite/synth/synth179/repro1.vhdl @@ -0,0 +1,25 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity repro1 is + port (aclr : std_logic; + clk : std_logic; + din : std_logic; + dout : out std_logic); +end; + +architecture behav of repro1 is + signal r : std_logic; +begin + process (aclr, clk) is + begin + if rising_edge (clk) then + r <= din; + end if; + if aclr = '1' then + r <= '0'; + end if; + end process; + + dout <= r; +end behav; |