aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1563/tb_bug4.vhdl
blob: 9df012ee37284544dc8af8815a906bbe05ad196a (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
entity tb_bug4 is
end tb_bug4;

library ieee;
use ieee.std_logic_1164.all;

architecture behav of tb_bug4 is
  signal clk : std_logic;
  signal o : std_logic;
begin
  dut: entity work.bug4
    port map (clk, o);

  process
  begin
    clk <= '0';
    wait for 1 ns;
    assert o = '1' severity failure;
    clk <= '1';
    wait for 1 ns;
    assert o = '0' severity failure;
    wait;
  end process;
end behav;