Assic Lecture 31st

16
Finite State Finite State Machines Machines ASIC DESIGN USING FPGA BEIT VII KICSIT May 10 2012 Lecture 31

description

Digital design lect 31 may 10 2012

Transcript of Assic Lecture 31st

Page 1: Assic Lecture 31st

1

Finite State MachinesFinite State MachinesFinite State MachinesFinite State Machines

ASIC DESIGN USING FPGA

BEIT VII

KICSIT

May 10 2012 Lecture 31

Page 2: Assic Lecture 31st

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.

Page 3: Assic Lecture 31st

3

UART as State MachineUART as State Machine

May 10 2012 Lecture 31

Page 4: Assic Lecture 31st

4

State Machine Hardware State Machine Hardware

May 10 2012 Lecture 31

Page 5: Assic Lecture 31st

5May 10 2012 Lecture 31

Page 6: Assic Lecture 31st

6May 10 2012 Lecture 31

Page 7: Assic Lecture 31st

7May 10 2012 Lecture 31

Page 8: Assic Lecture 31st

8May 10 2012 Lecture 31

Page 9: Assic Lecture 31st

9May 10 2012 Lecture 31

Page 10: Assic Lecture 31st

10May 10 2012 Lecture 31

Page 11: Assic Lecture 31st

11May 10 2012 Lecture 31

Page 12: Assic Lecture 31st

12May 10 2012 Lecture 31

Page 13: Assic Lecture 31st

13May 10 2012 Lecture 31

Page 14: Assic Lecture 31st

14May 10 2012 Lecture 31

Page 15: Assic Lecture 31st

15May 10 2012 Lecture 31

Page 16: Assic Lecture 31st

16May 10 2012 Lecture 31