Methods and apparatus are provided to insert errors into digital data. The
errors can be inserted into the data itself, or into the corresponding
error correcting code bits. The invention comprises a register, whose
contents are combined with data using exclusive-OR circuitry. By varying
the contents of that register, an error can be inserted into a specific
bit in a particular data word, or into multiple bits in the same word.