Assic 24th 25th Lecture
description
Transcript of Assic 24th 25th Lecture
1
Finite State MachinesFinite State MachinesFinite State MachinesFinite State Machines
ASIC DESIGN USING FPGA
BEIT VII
KICSIT
May 10 2012 Lecture 31
May 10 2012 Lecture 31 2
UART as State MachineUART as State Machine
• UART top module consists of two modules, instanciated as uar_top (Receiver module)and uat_top ( Transmitter module).
• The Baud rate of the UART is 1200.• Hence the transmitter clock is generated as 1200 Hz.• And the Receiver clock is generated as 19200 Hz (1200 x 16),
16 times faster than Transmitter clock. • This is due to the fact that the Receiver module uses sampling
of the received bit stream of data from pc.• 8 samples of each bit are compared in order to ensure the bit
and hence reduce the error.
3
UART as State MachineUART as State Machine
May 10 2012 Lecture 31
4
State Machine Hardware State Machine Hardware
May 10 2012 Lecture 31
5May 10 2012 Lecture 31
6May 10 2012 Lecture 31
7May 10 2012 Lecture 31
8May 10 2012 Lecture 31
9May 10 2012 Lecture 31
10May 10 2012 Lecture 31
11May 10 2012 Lecture 31
12May 10 2012 Lecture 31
13May 10 2012 Lecture 31
14May 10 2012 Lecture 31
15May 10 2012 Lecture 31
16May 10 2012 Lecture 31