home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.hardware
- Path: sparky!uunet!usc!rpi!psinntp!psinntp!ncrlnk!torynews!jgrimm
- From: jgrimm@TorreyPinesCA.ncr.com (Jeffrey Grimmett 9999)
- Subject: Re: Parity
- Message-ID: <1992Nov16.233831.7461@TorreyPinesCA.ncr.com>
- Keywords: parity RAM errors, EDAC
- Organization: NCR (Torrey Pines Development Center)
- Disclaimer: This posting does not necessarily reflect the opinions of NCR.
- References: <erd.04mw@kumiss.cmhnet.org> <1992Nov13.155530.7183@elroy.jpl.nasa.gov>
- Date: Mon, 16 Nov 92 23:38:31 GMT
- Lines: 51
-
- Quoth ceg@bret.jpl.nasa.gov (Chuck Goodhart):
- ]> In article <erd.04mw@kumiss.cmhnet.org> erd@kumiss.cmhnet.org
- ]> (Ethan Dicks) writes:
-
- ]> >EDC (Error Detection and Correction) is also known as ECC (why, I don't
- ]> >know). On Unibus VAXen, ECC memory is 10 bits/byte; it can *correct*
- ]> >single bit errors and detect double bit errors.
- ]>
- ]> Could you either post the details about how VAXen achieve this,
- ]> or point out the flaw in the following argument:
-
- Heh, I can't give you a magic formula or anything, but I have seen EDAC
- in action, and it works. A bit of military equipment I worked (and later
- taught) on utilized an EDAC scheme to ensure data security. We had a BLAST
- trying to explain it in class, as the few documents we had only explained
- the concept, not the mechanism.
-
- Basically, out of a 30-bit word (don't ask me why 30?), 6 bits were EDAC
- or "hamming" bits while the other 24 were useful data. The EDAC bits were
- really glorified parity bits, set or cleared based on ODD parity. Each
- EDAC bit was assigned a group of data bits that it covered. The first 3
- were simple:
-
- The high EDAC bit, or overall parity bit, indicated the parity status of
- all data AND the other five EDAC bits.
-
- The next covered odd-numbered bits, the next even numbered. The other 3
- covered groupings that were not so clearly defined.
-
- On decoding, the mechanism on the other end understood the "rules" in which
- the original was encoded and could determine, based on how each EDAC bit was
- set, the state of the received data:
-
- 0 No error
- 1 Single bit error detected and corrected (or just labeled depending on
- how the equipment was configured).
- 2 Higher number of parity errors detected, no attempt to correct.
- 3 Overall parity error (high EDAC bit).
-
- We had to make do with a chart showing the groupings of the EDAC coverage...
- and in one class at least we spent an afternoon "simulating" errors and
- attempting to "break" the decoding scheme. It works, but don't ask me how...
- I don't think that part was declassified, anyway :-/
-
- --
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*************************************************
- Jeff Grimmett [SuperBitMap BBS] * fido!1:202/1401.0 [619-460-7290]
- jeff_grimmett@f1401.n202.z1.fidonet.org * jgrimm@TorreyPinesCA.ncr.com
- The opinions expressed in this message are thoughtful, reasoned, and logical.
- It goes without saying that they are not those of my employer.
- *******************************************************************************
-