- 1、本文档共41页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Hamming code (6) Makes the syndrome word 故障字 Old correct bit c8 c4 c2 c1 New correct bit ⊕c8’ c4’ c2’ c1’ Syndrome word X X X X The syndrome word is error position code “异或” old new Error Correcting Code Function page 149 Hamming code (7) If syndrome contains all 0s , no error , the data is REAL ① If syndrome contains one only one 1 , the old correct bit is error , but the data is REAL ② If syndrome contains more than one 1s, the syndrome value indicates the position of error bit , correct the bit ③ But syndrome value larger than 12, more than one error occurs ④ Error Correcting Code Function page 149 ①② ③ ④ Hamming code (8) E.g. data is 0011 1001 Calculates old check bit: C1(1,2,4,5,7)=1⊕0⊕1⊕1⊕0=1 C2(1,3,4,6,7)=1⊕0⊕1⊕1⊕0=1 C4(2,3,4,8) =0⊕0⊕1⊕0 =1 C8(5,6,7,8) =1⊕1⊕0⊕0 = 0 Stores (m+k) data correct bit: Hamming Code:0011 0 100 1 1 1 1 C8 C4 C2 C1 Hamming code (9) Suppose data bit D3 is changed from 0 to 1 in storage. 0011 0 110 1 1 1 1 ….. When fetches the data , Re-calculates new check bit : C1’(1,2,4,5,7)=1⊕0⊕1⊕1⊕0=1 C2’(1,3,4,6,7)=1⊕1⊕1⊕1⊕0=0 C4’(2,3,4,8) =0⊕1⊕1⊕0 =0 C8’(5,6,7,8) =1⊕1⊕0⊕0 = 0 Hamming code (10) Makes syndrome: c8 c4 c2 c1 0 1 1 1 old ⊕ 0 0 0 1 new 0 1 1 0 syndrome It means position 6 is error, 0011 0 110 1 1 1 1 , corrects the bit 0011 0 100 1 1 1 1 , gets the data bit 0011 1001 出错位取反后就是正确的 Error Correcting Code in semiconductor a Single-Error-Correcting (SEC) code 单纠错码 A double-error-detecting (DED) code 双校验 SEC-DED 单纠错-双校验 For example Hamming code 0011 0110 1111 is just read from main memory, what is real data bits? P152 Answer(1) (1) 2k-1≥m+k —8-bit Data —4-bit check (2) Set up a table 0011 0110 1111 — Data: 0011 1101 — Old check: 0111 Bit Position Position number Check bit
您可能关注的文档
最近下载
- 新人教版数学五年级上册全册各单元教材解读课件.pptx VIP
- 译林-英语-四年级上册-期中测试卷-10套.docx VIP
- 黑布林阅读初三16《雾都孤儿》中文版.docx
- 网络传播概论(第5版)课件 第3、4章 网络传播形式的流变、网络传播的多重策略.pptx
- 常见口腔疾病的用药指导及诊疗指南解读答案-2024年执业药师继续教育.docx VIP
- (2024秋)部编版一年级语文上册《 两件宝》教学设计.docx VIP
- 初中九年级(初三)化学课件 氢气的实验室制法.ppt VIP
- 圆锥曲线二级结论.docx VIP
- 译林版四年级上册英语单元测试卷、月考试卷、期中、期末试卷(含答案)sc.doc VIP
- 2024年中级经济师《运输经济》试题及答案.docx VIP
文档评论(0)