250 likes | 420 Views
Simulation & Synthesis. of UART HD-6402 using VHDL. Presented by. [02-384] Deepak Patel. Scope of our Project. VLSI and its Emergence. Chip Complexity. 1975: transistor size = 10 m. 1985: transistor size = 2 m. 1995: transistor size = 0.4 m. Introduction to VHDL. Design Process.
E N D
Simulation & Synthesis of UART HD-6402 using VHDL Presented by [02-384] Deepak Patel
Chip Complexity 1975: transistor size = 10m 1985: transistor size = 2m 1995: transistor size = 0.4m
Requiredproduct Designspecifications Initial design Simulation Redesign No Design correct? Yes Prototype implementation Makecorrections Yes Testing Minorerrors? No No Meetsspecifications? Yes Finishedproduct
Concept of Design Review Design Specifications Simulation RTL Simulation Synthesis Description Verify Synthesis Results Timing Analysis Implementation( FPGAs , ASICs )
Receiver Decoder Source Transmitter Encoder Destination Communication system Channel
8 Data Bits Stop Bit Start Bit Mark Space Asynchronous Communication
U niversal A synchronous R eceiver T ransmitter What is UART ?
External Device Basic UART Interface PARALLEL DATA BUS U A R T mP
Computer and mP systems often send/receive data in parallel format External devices are capable of communicating only serially To convert the parallel data from mP systems to serial data to external devices Or vice-versa. It is necessary to have an interfacing device. Need for UART
Advantages of Implementing UART using VHDL
CLS2 CLS1 DATA LENGTH 0 0 5 BITS 0 1 6 BITS 1 0 7 BITS 1 1 8 BITS PARITY FUNCTION CLS2 CLS1 8 BIT DATA PARITY GENERATOR PARITY BIT
TRANSMITTER P1: If CRL is High load CONTROLWORD P2: 0 to 5 Bits 1 to 2 Bits 0 or 1 Bit 5 to 8 Bits 1 Bit
P3: Generation of TRE, TBRE. If CTRLWORD is 000X0 counter = 8If CTRLWORD is 000X1 counter = 9Shifting 12 bit contents to right bit by bit.Transmit serial Data at TRO pin.
RECEIVER P1: If CRL is High load CONTROLWORD.Receive data from transmitter bit by bit. P2: To see that data is not overwritten with the help of DR pin.To store each bit serially in a register. Data In Data Out If CONTROLWORD is 0001X => 1 start 5 data 0 parity 1 stopSo 5th bit is checked and if 0 then DR is set
P3:In it valid data is send into receiver register and extra zeros are padded. If CONTROLWORD is 0001X =>1 start 5 data 0 parity 1 stop Data In Data Out So valid data bits are from 10 to 6. P4: In it PE, FE, OE are generated. If CTRLWORD is XX101- check 9th bit. If CTRLWORD is XX001- check 10th bit. If CTRLWORD is XX0XX- check 11th bit for Stop bit. If CTRLWORD is XX1XX- check 10th and 11th bit for Stop bit. P5: Sends 8 Bit data to RBR and sends error output to output pins.