22use ieee.std_logic_1164.
all;
23use ieee.std_logic_textio.
all;
38 RB_SRES_6 : in rb_sres_type := rb_sres_init
49 constant dzero
: slv16 := (others=>'0');
50 variable oline : line;
51 variable nack : integer := 0;
52 variable nbusy : integer := 0;
53 variable nerr : integer := 0;
54 variable ndout : integer := 0;
62 if RB_SRES_1.ack /= '0' then nack := nack + 1;
end if;
63 if RB_SRES_2.ack /= '0' then nack := nack + 1;
end if;
64 if RB_SRES_3.ack /= '0' then nack := nack + 1;
end if;
65 if RB_SRES_4.ack /= '0' then nack := nack + 1;
end if;
66 if RB_SRES_5.ack /= '0' then nack := nack + 1;
end if;
67 if RB_SRES_6.ack /= '0' then nack := nack + 1;
end if;
69 if RB_SRES_1.busy /= '0' then nbusy := nbusy + 1;
end if;
70 if RB_SRES_2.busy /= '0' then nbusy := nbusy + 1;
end if;
71 if RB_SRES_3.busy /= '0' then nbusy := nbusy + 1;
end if;
72 if RB_SRES_4.busy /= '0' then nbusy := nbusy + 1;
end if;
73 if RB_SRES_5.busy /= '0' then nbusy := nbusy + 1;
end if;
74 if RB_SRES_6.busy /= '0' then nbusy := nbusy + 1;
end if;
76 if RB_SRES_1.err /= '0' then nerr := nerr + 1;
end if;
77 if RB_SRES_2.err /= '0' then nerr := nerr + 1;
end if;
78 if RB_SRES_3.err /= '0' then nerr := nerr + 1;
end if;
79 if RB_SRES_4.err /= '0' then nerr := nerr + 1;
end if;
80 if RB_SRES_5.err /= '0' then nerr := nerr + 1;
end if;
81 if RB_SRES_6.err /= '0' then nerr := nerr + 1;
end if;
83 if RB_SRES_1.dout /= dzero then ndout := ndout + 1;
end if;
84 if RB_SRES_2.dout /= dzero then ndout := ndout + 1;
end if;
85 if RB_SRES_3.dout /= dzero then ndout := ndout + 1;
end if;
86 if RB_SRES_4.dout /= dzero then ndout := ndout + 1;
end if;
87 if RB_SRES_5.dout /= dzero then ndout := ndout + 1;
end if;
88 if RB_SRES_6.dout /= dzero then ndout := ndout + 1;
end if;
91 if now > 0 ns and (nack>1 or nbusy>1 or nerr>1 or ndout>1) then
93 write(oline, now, right, 12);
95 write(oline, string'(" #ack="));
99 write(oline, string'(" #busy="));
103 write(oline, string'(" #err="));
107 write(oline, string'(" #dout="));
110 write(oline, string'(" FAIL in "));
111 write(oline, rb_sres_or_mon'path_name);
112 writeline(output, oline);
115 end process proc_comb;
slbit := '0' RB_SRES_OR_MON_FAIL
in RB_SRES_2 rb_sres_type
in RB_SRES_3 rb_sres_type := rb_sres_init
in RB_SRES_1 rb_sres_type
in RB_SRES_4 rb_sres_type := rb_sres_init
in RB_SRES_5 rb_sres_type := rb_sres_init
in RB_SRES_6 rb_sres_type := rb_sres_init
std_logic_vector( 15 downto 0) slv16