20use ieee.std_logic_1164.
all;
21use ieee.std_logic_textio.
all;
34 IB_SRES_4 : in ib_sres_type := ib_sres_init
43 constant dzero
: slv16 := (others=>'0');
44 variable oline : line;
45 variable nack : integer := 0;
46 variable nbusy : integer := 0;
47 variable ndout : integer := 0;
54 if IB_SRES_1.ack /= '0' then nack := nack + 1;
end if;
55 if IB_SRES_2.ack /= '0' then nack := nack + 1;
end if;
56 if IB_SRES_3.ack /= '0' then nack := nack + 1;
end if;
57 if IB_SRES_4.ack /= '0' then nack := nack + 1;
end if;
59 if IB_SRES_1.busy /= '0' then nbusy := nbusy + 1;
end if;
60 if IB_SRES_2.busy /= '0' then nbusy := nbusy + 1;
end if;
61 if IB_SRES_3.busy /= '0' then nbusy := nbusy + 1;
end if;
62 if IB_SRES_4.busy /= '0' then nbusy := nbusy + 1;
end if;
64 if IB_SRES_1.dout /= dzero then ndout := ndout + 1;
end if;
65 if IB_SRES_2.dout /= dzero then ndout := ndout + 1;
end if;
66 if IB_SRES_3.dout /= dzero then ndout := ndout + 1;
end if;
67 if IB_SRES_4.dout /= dzero then ndout := ndout + 1;
end if;
69 if now > 0 ns and (nack>1 or nbusy>1 or ndout>1) then
70 write(oline, now, right, 12);
72 write(oline, string'(" #ack="));
76 write(oline, string'(" #busy="));
80 write(oline, string'(" #dout="));
83 write(oline, string'(" FAIL in "));
84 write(oline, ib_sres_or_mon'path_name);
85 writeline(output, oline);
88 end process proc_comb;
in IB_SRES_2 ib_sres_type
in IB_SRES_3 ib_sres_type := ib_sres_init
in IB_SRES_4 ib_sres_type := ib_sres_init
in IB_SRES_1 ib_sres_type
std_logic_vector( 15 downto 0) slv16