Error detection or correction of the data by redundancy in hardware using passive fault-masking of the redundant circuits