摘要 |
PURPOSE:To detect the error of an output code where all constituent bits are changed to ''1'' or ''0'', by constituting a code obtained by adding an inversion discrimination bit to binary data with a parity bit added furthermore. CONSTITUTION:Binary data consisting of four data bits D0-D3 inputted to a storage device 11 is supplied from a register 2. This binary data is inputted to not only a parity generating circuit 13 but also a gate 5. The parity generating circuit 13 generaes a parity bit P2 on a basis of odd parity check. Meanwhile, the gate 5 sets an inversion discrimination bit CH to logical 1 when detecting that all data bits D0-D3 are logical ''1'' and sets the inversion discrimination bit CH to logical 0 when detecting that all data bits D0-D3 are logical ''0''. |