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

Assic 24th 25th Lecture

  • Upload
    babak

  • View
    114

  • Download
    0

Embed Size (px)

DESCRIPTION

Digital design lect 24 25

Citation preview

Page 1: 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

Page 2: Assic 24th 25th Lecture

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 24th 25th Lecture

3

UART as State MachineUART as State Machine

May 10 2012 Lecture 31

Page 4: Assic 24th 25th Lecture

4

State Machine Hardware State Machine Hardware

May 10 2012 Lecture 31

Page 5: Assic 24th 25th Lecture

5May 10 2012 Lecture 31

Page 6: Assic 24th 25th Lecture

6May 10 2012 Lecture 31

Page 7: Assic 24th 25th Lecture

7May 10 2012 Lecture 31

Page 8: Assic 24th 25th Lecture

8May 10 2012 Lecture 31

Page 9: Assic 24th 25th Lecture

9May 10 2012 Lecture 31

Page 10: Assic 24th 25th Lecture

10May 10 2012 Lecture 31

Page 11: Assic 24th 25th Lecture

11May 10 2012 Lecture 31

Page 12: Assic 24th 25th Lecture

12May 10 2012 Lecture 31

Page 13: Assic 24th 25th Lecture

13May 10 2012 Lecture 31

Page 14: Assic 24th 25th Lecture

14May 10 2012 Lecture 31

Page 15: Assic 24th 25th Lecture

15May 10 2012 Lecture 31

Page 16: Assic 24th 25th Lecture

16May 10 2012 Lecture 31