DESIGN AND IMPLEMENTATION OF UART USING VHDL
PRESENTED BY: [Link] Swetha 09/455. [Link] Naidu 09/479. [Link] 09/472. [Link] 09/474. [Link] 09/468
Under The Guidance Of
[Link] Lakshmi
CONTENTS:
Introduction What is UART When do we need a UART How do we use the UART UART Block diagram Features Applications Conclusion
INTRODUCTION:
The objective of this project is to simulate
UART using VHDL, a high level language for modeling digital circuits and by using Xilinx foundation.
What is UART?
The UART (universal asynchronous receiver and transmitter) The UART we have designed consists 2 modules. They are transmitter, receiver. Transmitter converts the parallel data words into serial data bits and transmits them over the txd line. The receiver receives serial bits from rxd line and converts them into parallel data word. Transmits data in frames.
When do we need a UART?
Control the receiving and transmitting time of the data.
Increase the accuracy and decrease the effect of the noise
UART: What it is and how it works:
UART provides the computer with the RS-232C Data Terminal Equipment (DTE) interface so that it can "talk" to and exchange data with modems and other serial devices. As part of this interface, the UART also:
Converts the bytes it receives from the computer along parallel circuits
into a single serial bit stream for outbound transmission
On inbound transmission, converts the serial bit stream into the bytes that
the computer handles
Adds a parity bit (if it's been selected) on outbound transmissions and checks the parity of incoming bytes (if selected) and discards the parity bit Adds start and stop delineators on outbound and strips them from inbound transmissions Handles interrupts from the keyboard and mouse (which are serial devices with special ports)
How do we use the UART?
The use of the UART can be confusing at first but is rather straightforward once an understanding of the UART is acquired.
Let us take the UART data format. This implementation of the UART transmits in blocks of 11 bits; 1 leading low start bit, 1 trailing high stop bit, 1 parity bit and 8 data bits.
The UART data format
UART FRAME:
Start Bit Parity bit Stop Bit Data Bits
Always 0 As per parity selected Always 1 5-9
FOR EXAMPLE:
UART Port
UART Block Diagram:
PINS DESCRIPTION: UART Registers TDR Transmit Data Register
TSR Transmit Shift Register
SCCR Serial Communications Control Register SCSR Serial Communications Status Register RSR Receiver Shift Register RDR Receiver Data Register
UART Flags
TDRE Transmit Data Register Empty RDRF Receive Data Register Full
BASIC UART MODULE:
Features of UART:
Supports all data rates from 9600 to 921600 baud Receive and Transmits interrupt flags Faster performance than industry 8-bit data word with 1 start bit
DESIGN SYNTHESIS:
The Xilinx foundation system is a development tool that consists of an integrated set of programs to create, synthesis and simulate .
The Language used for programming design for UART is VHDL.
Transmitter simulation snap shot
Reciver simulation snap shot:
APPLICATIONS: Inter board communications . Simple PC to Board interfacing. UART communications. For all serial communications.
Interfacing Mouse
Conclusion :
Project mainly deals with the chip level modelling, taking designing of UART as an example. During the course of the project it is realized and experienced the
definite advantages that a hardware description
language offers over the conventional method of designing
Submitted by:
[Link] Swetha 09/455. [Link] Naidu 09/479. [Link] 09/472. [Link] 09/474. [Link] 09/468