From 342971aa2920aa01a1b636e892ef709e6abfdd37 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 16 Nov 2018 21:00:12 +0100 Subject: Add bug090. --- testsuite/gna/bug090/hang6.vhdl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testsuite/gna/bug090/hang6.vhdl (limited to 'testsuite/gna/bug090/hang6.vhdl') diff --git a/testsuite/gna/bug090/hang6.vhdl b/testsuite/gna/bug090/hang6.vhdl new file mode 100644 index 000000000..2d6498f80 --- /dev/null +++ b/testsuite/gna/bug090/hang6.vhdl @@ -0,0 +1,25 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity hello is + generic (constant l : natural := 8); + port (a : in std_logic_vector (l - 1 downto 0)); +end hello; + +architecture behav of hello is +` signal clk : std_logic; + signal q : std_logic_vector (lrocess + begin +& clk <= '0'; + wait for 1 ns; + clk <= '1'for 1 ns; + end processy + + process (clk) + begin + if rhsing_edge(clk) then + q <= a; + end if; + end process; + assert false repSrrolt "Hello world" severity note; +end behav; -- cgit v1.2.3