From: Deryk Barker <dbarker@camosun.bc.ca>
To: axp-list@redhat.com
Subject: Re: More problems with my new RAM (& unaligned!!)
Date: Tue, 21 Jul 1998 12:31:53 -0700 [thread overview]
Message-ID: <19980721123153.A5478@camosun.bc.ca> (raw)
In-Reply-To: <35B4E394.1B034648@paralleldata.com>; from Wes Bauske on Tue, Jul 21, 1998 at 06:53:08PM +0000
Thus spake Wes Bauske (wsb@paralleldata.com):
> Ralph Green, Jr. wrote:
> >
> > Howdy,
> > I believe they use Hamming code to do the error correction. If not, they use a code with similar properties in terms of protection bits required. For Hamming code, use the following table:
> >
> > bits to protect from single bit errors protection bits required
> > -------------------------------------- ------------------------
> > 1 1
> > 2 2
> > 3-4 3
> > 5-8 4
> > 9-16 5
> > 17-32 6
> > 33-64 7
> > 65-128 8
And the reason for these numbers is not actually that difficult to
see:
If there are N data bits and K check bits then we need to be able to
correct a single bit error in (N+K) bits (it's quite possible the
error may affect a check rather than data bit)
The K bits give us 2**K possible bit patterns for the check bits and
the usual SEC-DED (single error correcting, double error detecting)
scheme works as follows:
The original N data bits are passed through a check-bit-generating
function (call it f) which produces K check bits, which are stored
with the data.
On retrieval, the N data bits are passed through function f again. The
regenerated K check bits are then XORed with the retrieved K check
bits to produce what is called the syndrome.
A 0 syndrome means no error, which leaves exactly 2**K - 1 bit patterns
in the syndrome to identify single bit errors.
Therefore 2**K - 1 >= N + K
--
|Deryk Barker, Computer Science Dept. | Music does not have to be understood|
|Camosun College, Victoria, BC, Canada| It has to be listened to. |
|email: dbarker@camosun.bc.ca | |
|phone: +1 250 370 4452 | Hermann Scherchen. |
prev parent reply other threads:[~1998-07-21 19:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-19 12:58 More problems with my new RAM (& unaligned!!) Dave Gilbert
1998-07-19 18:51 ` Wes Bauske
1998-07-19 20:23 ` Dave Gilbert
1998-07-20 1:19 ` Wes Bauske
1998-07-20 2:32 ` Chris Price
1998-07-20 6:58 ` Wes Bauske
1998-07-20 7:45 ` Quant-X Alpha Linux Support
1998-07-20 20:15 ` Wes Bauske
1998-07-21 16:02 ` Ralph Green, Jr.
1998-07-21 18:53 ` Wes Bauske
1998-07-21 19:31 ` Deryk Barker [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox