









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
How parity and error correcting codes (ecc) are used to detect and correct errors in data transmission. It covers the concept of parity, its ability to detect one-bit errors, and the use of ecc to detect and correct multiple-bit errors. The document also includes examples and calculations of ecc for 4-bit data.
Typology: Slides
1 / 17
This page cannot be seen from the preview
Don't miss anything!










We used parity to determine when a memory bit failed. We can protect buses from transmission failures using parity/ECC.
Detected with parity: 1 bit errors
Corrected with ECC (Error correcting codes)
If any two different valid datum, in memory
or on a bus, differ by at least 2 bits:
It is easy to detect if one bit fails since a one bit failure will result in an invalid data value.
How can we make sure any good data differs
by at least two bits?
If any two different valid datum, in memory or on a bus, differ by at least 3 bits: It is easy to detect and correct if one bit fails since a one bit failure will result in an invalid data value and we know which valid data value is only one bit away.
How can we make sure any good data differs by at least three bits?