home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / hardware / 19644 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  3.0 KB

  1. Path: sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!mits.com.au!ratty.mits.com.au!lewis
  2. Newsgroups: comp.sys.amiga.hardware
  3. Subject: Re: Parity
  4. Message-ID: <1992Nov16.111001.1@ratty.mits.com.au>
  5. From: lewis@ratty.mits.com.au
  6. Date: 16 Nov 92 11:10:01 +1000
  7. References: <erd.04mw@kumiss.cmhnet.org> <1992Nov13.155530.7183@elroy.jpl.nasa.gov>
  8. Organization: MITS
  9. Nntp-Posting-Host: ratty
  10. Nntp-Posting-User: lewis
  11. Lines: 51
  12.  
  13. In article <1992Nov13.155530.7183@elroy.jpl.nasa.gov>, ceg@bret.jpl.nasa.gov (Chuck Goodhart) writes:
  14. > In article <erd.04mw@kumiss.cmhnet.org> erd@kumiss.cmhnet.org
  15. > (Ethan Dicks) writes:
  16. >>EDC (Error Detection and Correction) is also known as ECC (why, I don't
  17. >>know).  On Unibus VAXen, ECC memory is 10 bits/byte; it can *correct*
  18. >>single bit errors and detect double bit errors.
  19. > Could you either post the details about how VAXen achieve this,
  20. > or point out the flaw in the following argument:
  21. > With 10 bits you have 2^10 (=1024) different bit patterns.  In order to
  22. > encode 8 data bits you need 2^8 (=256) of these to be valid.
  23. > Each valid pattern generates a set of 11 patterns, one valid and 10
  24. > which are a single bit flip away from the valid pattern.  None of
  25. > these 10 can be valid patterns, or a single bit error could go
  26. > undetected, let alone uncorrected.  Further, none of them can be
  27. > a single bit flip away from some other valid pattern, or you would
  28. > have single bit errors which would have two (or more) equally likely
  29. > correction paths, thus being uncorrectable.
  30. > At this point, however, we need 256*11 (=2816) different patterns,
  31. > since there can be no overlap among the 256 sets of 11 patterns.
  32. > -- 
  33. > Chuck Goodhart, ceg@bret.jpl.nasa.gov
  34.  
  35. Well, from the VAX Hardware Handbook, the VAX 11/730 handles it this way:
  36.  
  37. "The ECC scheme used in the memory subsystem is capable of detecting a single
  38. or double bit error.  It is also capable of correcting all single bit errors.
  39. This is accomplished by storing eight check bits, along with the 64 data bits
  40. in each memory location (i.e. quadword access to memory).  Each check bit is
  41. generated by parity-checking selected groups of data bits in the given data
  42. quadword.  When parity is again checked during a read, an incorrect bit will be
  43. detected by the parity-checking logic and will develop a unique 8-bit syndrome
  44. which will identify the bit in error.  Error correction logic may thus correct
  45. the bit in error.  There are 72 unique syndromes pointing to individual bits in
  46. the coded quadword."
  47.  
  48. This may not explain how the any memory connected to a Unibus adapter may error
  49. correct, but it does indicate how by using a single parity bit per byte, when
  50. combined into a quadword, can be very useful.
  51.  
  52. Somewhere I have a document on the actual method used to achieve this.  I shall
  53. have to look for it.
  54.  
  55. -- 
  56. David Lewis,
  57.  
  58. Internet:    lewis@mits.com.au
  59. Phone:        +61 3 613 9415        Fax:        +61 3 613 9550
  60.