Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug18659 / crash.vhd @ 2051e520

History | View | Annotate | Download (557 Bytes)

1
entity crash is
2

    
3
end entity crash;
4
library ieee;
5
use ieee.std_logic_1164.all;
6
architecture test of crash is
7
    type t_mem2D is array
8
        (natural range <>,  -- Address, specifies one word
9
         natural range <>   -- Bit positions within a word
10
        )
11
        of std_logic;
12
begin  -- architecture test
13
    process is
14
        variable var_array : t_mem2D(0 to 5, 7 downto 0);
15
    begin  -- process
16
        assert var_array = t_mem2D'(X"DEAD", X"BEEF") report "var array error" severity error;
17
        wait;
18
    end process;
19
end architecture test;
20