免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 797 | 回复: 0
打印 上一主题 下一主题

BCH的基本知识 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-18 21:59 |只看该作者 |倒序浏览

BCH算法中用到的各个变量的含义:

m = order of the Galois field GF(2**m)

n = 2**m - 1 = size of the multiplicative group of GF(2**m)

length = length of the BCH code

t = error correcting capability (max. no. of errors the code corrects)

d = 2*t + 1 = designed min. distance = no. of consecutive roots of g(x) + 1

k = n - deg(g(x)) = dimension (no. of information bits/codeword) of the code

 

说的更简单一点:

length – 数据的长度

t – 纠错能力

length - k – 校验码的长度

 

BCH编码的过程是将长度为length的数据编码得到长度为length – k的校验码

BCH解码的过程是将长度为length的数据和长度为length – k的校验码进行计算,检测数据是否有错误,如果数据发生错误,对错误的数据进行纠正。最多可以纠正t个错误。

附件为BCH encoder/decoder程序

文件:bch3.zip
大小:7KB
下载:下载

 

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP