aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/arr01/tb_arr09.vhdl
blob: ce864099da3b6aec1dc5760104938fc8f2fd13ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
entity tb_arr09 is
end tb_arr09;

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

architecture behav of tb_arr09 is
  signal val : std_logic_vector(3 downto 0);
  signal res : character;
begin
  dut: entity work.arr09
    port map (val => val, res => res);

  process
  begin
    wait for 1 ns;
    assert res = '3' severity failure;

    wait;
  end process;
end behav;