aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1908/ini_pkg.vhdl
blob: 0ed8d9642a38b39eee00848a1fdcba74d9071ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;

-----------------------------------------------------------------------------------
-- * Package
-----------------------------------------------------------------------------------
package ini_pkg is
  -----------------------------------------------------------------------------------
  -- * Types
  -----------------------------------------------------------------------------------
  -- With the following values no bug ocurred
  type ini_t is record
    val_of_0 : std_logic;
    val_of_1 : std_logic;
    val_of_2 : std_logic;
    val_of_3 : std_logic;
    val_of_4 : std_logic;
    val_of_5 : std_logic;
  end record;
  
  -- With the following values a an exception rise in GHDL, printing the GHDL Bug Ocurred Message
  -- type ini_t is record
  --   vval_of_0 : std_logic;
  --   val_of_1 : std_logic;
  --   val_of_2 : std_logic;
  --   val_of_3 : std_logic;
  --   val_of_4 : std_logic;
  --   val_of_5 : std_logic;
  -- end record;


-----------------------------------------------------------------------------------
-- * End Package
-----------------------------------------------------------------------------------
end package ini_pkg;