基于CPLD的串行通信模块设计.pdf
文本预览下载声明
电 子 测 量 技 术 第 30 卷 第 1 期
测试系统与组件 EL EC TRON IC M EA SU R EM EN T T EC HN OL O GY 2007 年 1 月
基于 CPLD 的串行通信模块设计
黄丽薇
(南京工业大学 南京 2 10009)
摘 要 : 串行通信广泛应用于数字通信和控制系统中 ,专用串口通信芯片引脚多接 口复杂 ,可编程逻辑器件 CPLD 体
积小功能强大 。将串口功能集成在一片 CPLD 芯片里 ,整个系统将变得简洁 。本设计使用逻辑关系清晰设计语言简
练的硬件描述语言 Verilog HDL ,将串行通信核心功能集成到 CPLD 内部 ,使 CPLD 成为串行通信模块 ,完成串并收
发的功能 。该方法简单快捷 ,易于实现 ,设计的模块紧凑小巧 ,可以作为串行通信接 口的标准模块接入到用户的各种
设计中。
关键词 : Verilo g ; CPL D ; 串行通信
中图分类号 : TP3 11 H 文献标识码 : A
Design of serial communication module based on CPLD
Huang L iwei
(Nanj ing U niver sit y of Technology , Nanj ing 2 10009)
Abstract :Serial communication i s widely u sed in digit al communication and cont rol syst em . Sp ecial serial communication
chip s have many pin s and comp licat ed int erfaces , while CPL D ha s small volumes and powerful function s. Int egrating
t he serial function into CPLD to simplify t he syst em wit h clear and simp le Verilo g HDL i s a simp le and ea sy way to
int egrat e t he main serial communication function to CPLD , make t he CPLD a serial communication module . The
mo dule i s comp act and smart , which can be u sed a s a st andard mo dule in many kinds of design .
Keywords :Verilog ; CPLD ; serial communication
始位 ,在数据位末增加一位高电平结束位 。发送接收 2 模
0 引 言
块的基本原理图如图 1 所示 。
串行通信广泛应用于数字通信和控制系统中,通常采
( )
用专用的 UA R T 通用异步接收发送器 接口芯片 ,能够实
现全面的通信功能 ,但其引脚较多 ,体积较大 ,与其他器件
接口复杂 ,而很多时候不需要使用完整的串口功能。对于多
串口的设备或需要加密通讯的场合 ,使用通用的集成电路也
不是最合适的。如果使用 C
显示全部