Signature and Residue Testing of Microprogrammable Control Units
Arithmetic and algebraic codes are used in testing to verify arithmetic and logical operations performed by digital circuits. An important unit of the hardware that implements arithmetic codes is a residue generator. This is a circuit that generates the residue of a number with respect to a check base. The existing design methods for residue generators are oriented to the special values of the check base. We propose an approach to designing the residue generators with an arbitrary check base. We show how to reduce the probability of error escape, when this type of generator is used for detecting arithmetic errors. We then demonstrate how to embed the designed circuit into a microprogrammable finite state machine to test its operation without adding test hardware overhead. The proposed scheme can be used in arithmetic/algebraic error-control coding and fault-tolerant digital designs.