1、目录 摘要 Abstract. 引言 1 1 绪论 2 1.1 现代数字系统设计的发展概述 2 1.2 EDA 技术简介 2 1.2.1 概述 2 1.2.2 EDA 技术基本特征 3 1.2.3 EDA 技术的开发工具 3 1.3 可编程逻辑器件简介 4 1.3.1 可编程逻辑器件的分类 4 1.3.2 可编程逻辑器件的特点 5 2 开发工具简介 6 2.1 VHDL 语言 6 2.1.1 VHDL 语言简介 . 6 2.1.2 VHDL 语言特点 . 6 2.2 Max+Plus简介 . 7 2.2.1 Max+plus基本特点 . 7 2.2.2 Max+plus使用简介 . 8 3 H
2、DB3 码简介 9 3.1 基带传输的常用码型 9 3.1.1 传输码性的选择原则 9 3.1.2 AMI 码 . 10 3.1.3 HDB3 码 10 3.2 HDB3 码的编/译码规则 . 10 3.2.1 HDB3 码的编码规则 10 3.2.2 HDB3 码的译码规则 12 4 HDB3 编/译码器的 VHDL 建模 12 4.1 HDB3 编码器的 VHDL 建模 . 12 4.1.1 插“V”模块的建模 . 13 4.1.2 插“B”模块的建模 . 13 4.1.3 单/双极性转换模块的建模 14 4.2 HDB3 译码器的 VHDL 建模 . 15 5 仿真与实现 16 5.1
3、HDB3 编码器的仿真与实现 16 5.1.1 插“V”模块的流程与仿真 . 16 5.1.2 插“B”模块的流程与仿真 . 18 5.1.3 单/双极性转换模块的流程与仿真 20 5.1.4 HDB3 编码器整体仿真 22 5.2 HDB3 译码器的仿真与实现 23 结论 25 致谢 26 参考文献 27 附录 28 程序清单. 28 摘要 数字基带信号的传输是数字通信系统的重要组成部分。在数字通信中,有些 场合可不经过载波调制和解调过程,而对基带信号进行直接传输。为使基带信号 能在基带信道中传输,必须选择合适的码型,HDB3 码因具有无直流成分,低频 成分少,连 0 的个数最多不超过三个,
4、功能强大,有纠错能力,具有时钟恢复等 性能优势而成为 CCITT 协会推荐使用的基带传输码型之一。本文是在 Max+Plus开发环境中,采用 VHDL 语言对数据传输系统中的 HDB3 编码器和 译码器进行了设计及仿真。根据编码规则可将编码器分为三个部分,其中包括: 插“V”模块、插“B”模块和单/双极性变换模块。根据译码规则,译码器只含有一 个模块。最后,对每个模块进行仿真,实现相应功能后再进行整体编译码器的仿 真。经验证仿真结果正确。 关键字:HDB3 码;VHDL;编/译码器;Max+Plus Abstract Digital baseband signal transmission i
5、s an important digital communication system components. In digital communications, some occasions may, after modulation and demodulation process, and on the base-band signals transmitted directly. Must choose the right pattern for the baseband signal in the baseband channel transmission, HDB3 code a
6、nd its non-DC components, and even less low-frequency components of 0 up to more than three the number, and it is strong to examine the ability by mistake, have advantages such as performance of clock recovery, etc, and the Association has become the CCITT recommended base-band transmission-type, one code. In this paper, the use of VHDL in the data transmission system HDB3 encoder and decoder has been designed and simulated in Max+Plus II development environment. According to the en