aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue852/repro1.vhdl
blob: 32aacee45556c77cd2bd9ee472d0885936e034dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
library ieee;
    use ieee.std_logic_1164.all;

entity repro1 is
  generic
  (       NB_CHAN_G : positive := 2
   ;      W_DAT_G   : positive := 16
  );
end;

architecture tb of repro1  is
  type fifo_o_t is record
    rx_ack   : std_ulogic;
    tx_cti   : std_ulogic_vector( 1 downto 0 );
    tx_dat   : std_ulogic_vector;
  end record;

  type fifo_array_o_t is array ( natural range <> ) of fifo_o_t;

  signal arr_fifo_o :
    fifo_array_o_t(0 to NB_CHAN_G - 1) (tx_dat(W_DAT_G - 1 downto 0));
begin
end tb;