8-Mem_error - 7-1Chapter 7 - MemoryPrinciples of Computer...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 7-1Chapter 7 - MemoryPrinciples of Computer Architecture 2005MemoryERROR-CORRECTING CODESComputer memories can make errors occasionally due to voltage spikes on the power line or other causes. To prevent such errors, some memories use error-detecting or error-correcting codes. When these codes are used, extra bits are added to each memory word in a special way. When a word is read out of memory , the extra bits are checked to see if an error occured7-2Chapter 7 - MemoryPrinciples of Computer Architecture 2005Hamming Codesn-bit code word (n= m+ r)mdata bitsrcheck bits (to check parity)there are 2npossible code wordsonly 2mcode words are validparityis the sum of one check bit and selected data bitsmay be even or oddused for detecting errors in memory7-3Chapter 7 - MemoryPrinciples of Computer Architecture 2005Hamming DistanceThe number of bit positions in which two codewords differ is called the Hamming distance....
View Full Document

Page1 / 11

8-Mem_error - 7-1Chapter 7 - MemoryPrinciples of Computer...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online