论文部分内容阅读
UART作为RS 232协议的控制接口得到了广泛的应用,基于FPGA实现的UART设计可以使系统更加紧凑、稳定。为了实现FPGA和PC的串行通信,用硬件描述语言VHDL编写程序,实现了在Xilinx公司的FPGA器件XC3S200内部嵌入UART控制器,并进行了Modelsim而下的仿真和FPGA与PC机的通信测试,效果良好。该UART控制器用软件实现了UART内核、信号监测器、移位寄存器、波特率发生器、计数器、总线选择器等以前硬件芯片所实现的功能,节省了电路板面积,且工作稳定、可靠,可以灵活地嵌入到一些通信系统当中。
UART as a control interface RS 232 protocol has been widely used, FPGA design based on UART can make the system more compact and stable. In order to realize the serial communication between FPGA and PC, the program is written in hardware description language VHDL to realize the UART controller embedded in FPGA XC3S200 of Xilinx company, and carry on the simulation under Modelsim and the communication test between FPGA and PC, Good effect. The UART controller realizes the functions realized by the former hardware chips such as UART core, signal monitor, shift register, baud rate generator, counter and bus selector in software, saves the circuit board area, and works stably and reliably. Flexibility to embed some communication systems.