1、 I 基于 VHDL 语言的 VGA、PS2 接口协议 II 摘要摘要:我写的论文题目是基于 VHDL 的 VGA、PS2 接口协议,其大体思路是这 样的,在 FPGA 中,使用 VHDL 语言描述 VGA 以及 PS2 键盘的接口协议,并 把 PS2 的按键信息显示到 VGA 显示器上,首先根据 PS2 键盘的数据结构,扫 描方式来来接收数据,然后把接收到的数据做 ASICII 码转换,并且缓存到双口 RAM 中,VGA 模块通过查表读取 RAM 中的内容,然后影射到 ROM 中,找出 ASICII 码对应的显示方式,最后通过并串转换输出数据,从而达到显示字符的 目的。 关键词关键词:现场可
2、编程门阵列、阴极射线管显示器 Based on VHDL VGA, PS2 interface protocolBased on VHDL VGA, PS2 interface protocol Name:Wang Yongshun Major:Electronics Information Science and Technology Tutor:Gong He Abstract:Abstract: I wrote a thesis topic based on the VGA、 PS2 interface protocol of VHDL, the general survey of th
3、e subject is that, in FPGA, to descript the port agreement of PS2 keyboard and the VGA by VHDL language, and to make the PS2 information show on the VGA monitor .At the first, according to the data structure of PS2 keyboard and scanning way to receive the data, and then transfer the received data in
4、to ASICII code which to be cached in the dual-port RAM. VGA module read the contents of RAM through consulting the table, and then Insinuate to the ROM, finding the corresponding way of diplaying for ASICII code. At last,outputing the data by module of parallel-to-serial conversion to achieve the purpose of displaying characters. Keywords:Keywords: FPGA、CRT 1 1 1 前言 1.1 题目开发的目的 我所做的基于 FPGA 的 VGA,PS2 接口协议主要在实验室完成,参考有关 的书籍,资料,数据手册,个人完成电路的设计,焊接,检查,调试,在根据自 己的硬件和数据格式用 VHDL 语言编写 PS2