您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>基于FPGA的5B6B编译码器的设计与测试

基于FPGA的5B6B编译码器的设计与测试

2906    2015-11-06

免费

全文售价

作者:袁玉英1, 张连俊1, 袁慧祥2, 李鑫磊1, 罗永刚3

作者单位:1. 山东理工大学计算机科学与技术学院, 山东 淄博 255049;
2. 中国移动德州分公司, 山东 德州 253013;
3. 山东理工大学电气与电子工程学院, 山东 淄博 255049


关键词:光纤通信;5B6B编译码器;FPGA;Quartus II;模式交替;仿真测试


摘要:

为避免简单的二电平码对数字光纤通信系统传输的影响,设计适用于数字光纤通信系统的5B6B编译码器,实现对简单二电平码进行码型变换,保证传输的透明性。该设计利用码字数字和(WDS)进行编码码字的选择,采用正、负两种模式交替的方法,在保证平均误码增值系数最小的基础上,以6种码变换规则中的一种为例完成设计。该设计采用FPGA设计流程,运用Verilog HDL语言完成5B6B编译码器各个模块的设计,并在Quartus II软件上进行仿真测试。仿真结果表明:该设计功能正确,可根据需要实现不同码表中相应5B与6B码之间的转换,实现简单,应用灵活,并能减少数字码流中连0或连1的数目,减小基线漂移。


The design and test of 5B6B encoder/decoder based on FPGA

YUAN Yuying1, ZHANG Lianjun1, YUAN Huixiang2, LI Xinlei1, LUO Yonggang3

1. College of Computer Science and Technology, Shandong University of Technology, Zibo 255049, China;
2. China Mobile Dezhou Branch, Dezhou 253013, China;
3. School of Electrical and Electronic Engineering, Shandong University of Technology, Zibo 255049, China

Abstract: Designing the 5B6B encoder/decoder in the digital optical fiber communication system was to avoid the impact of the simple two-level code to the digital optical fiber communication system transmission. So that we can carry out the code type conversion to the simple two-level code to ensure transparent transmission. Based on considering the minimum average error multiplication factor, the design was performed taking one of the six kinds of code transformation rules for example,using WDS to select the encoding words, taking the mathod of the positive mode and the negative mode alternation. The design adopted the FPGA design process, used Verilog HDL language to complete the design of each module in the 5B6B encoder/decoder and employed Quartus II software for simulation test. The simulation results show that the functions of the design are correct and the conversion between the 5B code and the corresponding 6B code in the different code tables can be achieved according to the needs, so the design can be realized simply and applied flexibly. The design can also decrease the consecutive-zero or consecutive-one number in the digital stream and the baseline drift .

Keywords: optical fiber communication;5B6B encoder/decoder;FPGA;Quartus II;mode alternation;simulation test

2015, 41(10): 76-80  收稿日期: 2015-01-30;收到修改稿日期: 2015-03-27

基金项目: 2013年山东省淄博市科学技术发展计划项目(2013GG02104)

作者简介: 袁玉英(1979-),女,山东德州市人,讲师,硕士,主要从事光纤通信设备研究。

参考文献

[1] 刘增基,周洋溢,胡辽林,等. 光纤通信[M]. 2版. 西安:西安电子科技大学出版社,2012:93-94.
[2] 卢志茂,冯进玫,陈丽娟,等. 光纤通信[M]. 北京:北京大学出版社,2010:102-103.
[3] 杨海钢,孙嘉斌,王慰. FPGA器件设计技术发展综述[J].电子与信息学报,2010,32(3):714-727.
[4] 汪胜蕾. 基于线路编码和RSOA上行再调制的WDM-PON系统研究[D]. 杭州:浙江大学,2013.
[5] 赵嘎,王小军,宋鸣,等. 基于FPGA的可配置伪随机序列发生器的设计与实现[J]. 云南大学学报:自然科学版,2012,34(2):147-151.
[6] 徐杰,曹小虎,张新文,等. 5B6B码的编码仿真与实现课程设计报告[EB/OL]. 豆丁网,2014.http://www.docin.com/p-756236169.html.
[7] 付秀兰,孙立宏. 基于65 nm CMOS工艺的高速串并转换电路设计[J]. 中国集成电路,2012(4):57-60.
[8] 严刚峰,方红,杨维,等. 采用FPGA实现同步串行数据的并行采集[J]. 自动化仪表,2014,35(9):84-86.
[9] 孙志雄,谢海霞. 基于FPGA的高速串并/并串转换器设计[J]. 现代电子技术,2014,37(8):151-152.
[10] Vincent S. Quartus_II软件使用教程[EB/OL]. 道客巴巴,2013.http://www.doc88.com/p-803993007005.html.