基于VHDL语言的RS232串口通信控制器

上传者: peakjuly | 上传时间: 2021-07-21 17:09:51 | 文件大小: 107KB | 文件类型: RAR
本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在PC机上安装一个串口调试工具来验证程序的功能。程序实现了一个收发一帧10个bit(即无奇偶校验位)的串口控制器,10个bit是1位起始位,8个数据位,1个结束位。串口的波特律由程序中定义的div_par参数决定,更改该参数可以实现相应的波特率。程序当前设定的div_par 的值是0x104,对应的波特率是9600。用一个8倍波特率的时钟将发送或接受每一位bit的周期时间划分为8个时隙以使通信同步.程序的工作过程是:串口处于全双工工作状态,按动SW0,CPLD向PC发送“welcome"字符串(串口调试工具设成按ASCII码接受方式);PC可随时向CPLD发送0-F的十六进制数据,CPLD接受后显示在7段数码管上。

文件下载

资源详情

[{"title":"( 39 个子文件 107KB ) 基于VHDL语言的RS232串口通信控制器","children":[{"title":"UART","children":[{"title":"UART Word 文档.docx <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"serial","children":[{"title":"serial.bsf <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"serial.asm.rpt <span style='color:#111;'> 7.15KB </span>","children":null,"spread":false},{"title":"serial.pof <span style='color:#111;'> 512.18KB </span>","children":null,"spread":false},{"title":"serial_test.bsf <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"serial.qws <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"serial.tcl <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"serial.fit.summary <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"prev_cmp_serial.asm.qmsg <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"prev_cmp_serial.fit.qmsg <span style='color:#111;'> 41.12KB </span>","children":null,"spread":false},{"title":"serial_global_asgn_op.abo <span style='color:#111;'> 113.52KB </span>","children":null,"spread":false},{"title":"prev_cmp_serial.tan.qmsg <span style='color:#111;'> 37.13KB </span>","children":null,"spread":false},{"title":"prev_cmp_serial.qmsg <span style='color:#111;'> 85.41KB </span>","children":null,"spread":false},{"title":"serial.db_info <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"prev_cmp_serial.map.qmsg <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"serial.fit.smsg <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"serial.tan.rpt <span style='color:#111;'> 66.52KB </span>","children":null,"spread":false},{"title":"serial.tan.summary <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"serial.flow.rpt <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"setup.tcl <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"serial_test.vhd <span style='color:#111;'> 12.02KB </span>","children":null,"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"serial.root_partition.map.kpt <span style='color:#111;'> 28.65KB </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":false},{"title":"serial.cdf <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"serial.qpf <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"serial.dpf <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"serial.qsf <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"serial.map.summary <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"serial.map.eqn <span style='color:#111;'> 24.60KB </span>","children":null,"spread":false},{"title":"serial.fit.eqn <span style='color:#111;'> 31.74KB </span>","children":null,"spread":false},{"title":"serial.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"serial.bdf <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"serial.pin <span style='color:#111;'> 26.78KB </span>","children":null,"spread":false},{"title":"serial.map.rpt <span style='color:#111;'> 19.36KB </span>","children":null,"spread":false},{"title":"serial_assignment_defaults.qdf <span style='color:#111;'> 32.22KB </span>","children":null,"spread":false},{"title":"serial.fit.rpt <span style='color:#111;'> 98.19KB </span>","children":null,"spread":false},{"title":"serial.tcl.bak <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"serial.sof <span style='color:#111;'> 235.13KB </span>","children":null,"spread":false},{"title":"Block1.bdf <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • lwl890116 :
    不错!可以正常收发串行数据。
    2016-04-04
  • jackirvine :
    谢谢,我感觉写的很好。。。
    2015-07-01
  • wsy4113 :
    挺不错的 有机会多提供一些吧
    2014-12-08
  • hrtem :
    功能比较全不错
    2014-09-21
  • andretianjun :
    很好,逻辑清晰。
    2014-08-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明