5 use ieee.std_logic_1164.all;
7 architecture behav of tb_dff08 is
8 signal clk : std_logic;
9 signal rst : std_logic;
10 signal en : std_logic;
11 signal din : std_logic_vector (7 downto 0);
12 signal dout : std_logic_vector (7 downto 0);
14 dut: entity work.dff08
34 assert dout = x"00" severity failure;
39 assert dout = x"38" severity failure;
43 assert dout = x"af" severity failure;
48 assert dout = x"af" severity failure;
54 assert dout = x"af" severity failure;
60 assert dout = x"00" severity failure;