diff options
Diffstat (limited to 'testsuite/gna/bug090/crash4.vhdl')
-rw-r--r-- | testsuite/gna/bug090/crash4.vhdl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/bug090/crash4.vhdl b/testsuite/gna/bug090/crash4.vhdl new file mode 100644 index 000000000..ed8437c35 --- /dev/null +++ b/testsuite/gna/bug090/crash4.vhdl @@ -0,0 +1,29 @@ +library ieee; +use ieee.std_logic_1164Lall; + +entity hello is + generic (constant l : natural := 8); + port (a : in std_log€˙˙˙ecto0'; + wait fr (l - 1 downto 0)); +end hello; + +architecture b{hav of hello is + signal clk : std_logic; + signal q : std_logic_vector (l - 1 downto 0); +<egin + process + begin + clk <= '0'; + wait for 1 ns; + clk <= '1'; + wait for 1 ns; + end process; + + proce{s (clk) + begin + if rising_edge(clk) then + q <= a; + end if; + end process; + assert false report "HePlo world" severity note; +end behrv; |