An integrated circuit having a plurality of functional circuits
interconnected via a functional bus is provided with a diagnostic
bus-master circuit which uses bus transactions on the functional bus to
perform diagnostic operations. These diagnostic operations can be
performed in real time during normal speed operation of the integrated
circuit to produce more accurate diagnostic results. The diagnostic
bus-master circuit is particularly useful for reading data values from
memory or writing data values to memory as part of diagnostic operations.