文档介绍:Hefei University
毕业论文(设计)
BACHELOR DISSERTATION
论文题目: 5B6B 码译码的设计与仿真
学位类别: 工学学士
学科专业: 通信工程
作者姓名:
导师姓名:
完成时间:
5B6B码译码的设计与仿真
中文摘要
在光纤通信系统中,选取适当的码型,对提高系统的可靠性,实现线路的高速、低误码率、最大容量传输,具有重要意义。
5B6B码是mBnB线路码型中的一种。5B6B编码和译码有许多种设计方法,其中主要有基于码表设计和基于集成电路工艺ASIC(专用集成电路)[1]。5B6B码是常用的线路码型,具有最大相同码元连码数少、定时信息丰富、匀衡性好、误码监视、同步性好等优点。从电端机输入的信号,输出时必须要进行码型变换,才可适合线路传输。5B6B译码是将传输到接收端机的6B数据码流,译成5B数据码流输出;而编码则是将自编数据按照一定的规律,编成6B码组后输出,二者互为逆过程。
本文介绍了对5B6B码进行译码的电路和VerilogHDL软件功能实现的设计。其中译码对应的编码由编码模块、缓冲模块和并/串转换模块构成。译码部分由译码模块、分频模块和串/并转换模块构成。本文着重介绍了译码的工作原理和译码的进程以及各模块的功能,并对程序和电路译码仿真,最终得出正确的结果。以实现5B6B码译码在理论上的功能实现。
关键词:5B6B译码; VHDL语言; FPGA ; Quartus2 ;仿真;
The design of 5B6B Decoding and Simulation
ABSTRACT
In optical munication system, select the appropriate pattern, improving the reliability of the system to achieve line of high-speed, low error ate, the maximum transmission capacity is significant.
5B6B line code is a code type in are many kinds of design methods,to solving 5B6B encoding and decoding, which are mainly based on the code table design and integrated circuit technology based on ASIC design (application specific integrated circuit). 5B6B line code is mon pattern, with the largest number of the same code symbol with a small,regular information-rich, evenly balanced, error monitoring, and good synchronization. The signal, input from he electrical Client machine ,which output must be M-type transformation, can be suitable for line transmission. 5B6B decoding is transmitted to the receiver unit 6B data stream, the data stream output to 5B; and coding of valid data according to certain laws of self, compiled after the 6B code group output, both of them are against each other process.
This article describes the code on the 5B6B decoding function of the circuit and achieve VerilogHDL software design,Decoding the corresponding encoded by one code module, the buffer module and and serial conversion modules,This paper describes the working principle of decoding and decodin