sequential circuit

26
YAMANI /ZAILY 1 Sequential Circuit Introduction to Counter Asynchronous Counter - Ripple Asynchronous Down Counter Synchronous Counter – Parallel Synchronous Counter Up/Down Designing Synchronous Counter Counter with Parallel Load

Upload: dale-scott

Post on 31-Dec-2015

69 views

Category:

Documents


5 download

DESCRIPTION

Sequential Circuit. Introduction to Counter Asynchronous Counter - Ripple Asynchronous Down Counter Synchronous Counter – Parallel Synchronous Counter Up/Down Designing Synchronous Counter Counter with Parallel Load. Sequential Circuit. Contents Register Introduction Simple register - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Sequential Circuit

YAMANI /ZAILY 1

Sequential Circuit

Introduction to Counter Asynchronous Counter - Ripple Asynchronous Down Counter Synchronous Counter – Parallel Synchronous Counter Up/Down Designing Synchronous Counter Counter with Parallel Load

Page 2: Sequential Circuit

YAMANI /ZAILY 2

Sequential Circuit

Contents Register Introduction

Simple register Register with parallel load

Shift Register Shift Register Serial In/Serial Out Shift Register Serial In/Parallel Out Shift Register Parallel In/Serial Out Shift Register Parallel In/ Parallel Out

Two way shift register Random Access Memory

Page 3: Sequential Circuit

YAMANI /ZAILY 3

Sequential Circuit: Counter

Introduction Counter is a circuit which cycle through state sequence Two types of counter

Synchronous counter (e.g. parallel) Asynchronous counter (e.g. ripple)

Ripple counter let some flip-flop output to be used as clock signal source for other flip-flop

Synchronous counter use the same clock signal for all flip-flop

Page 4: Sequential Circuit

YAMANI /ZAILY 4

Sequential Circuit: Counter

Asynchronous Counter (Ripple) Asynchronous Counter : flip-flop doesn’t

change condition simultaneously because it doesn’t use single clock signal

Also known as ripple counter because clock signal input as ripple through counter

Page 5: Sequential Circuit

YAMANI /ZAILY 5

Sequential Circuit: Counter

Asynchronous Counter (Ripple) Example: 2-bit ripple counter Output from one flip-flop is connected to clock input for the

next flip-flop MSB

Page 6: Sequential Circuit

YAMANI /ZAILY 6

Sequential Circuit: Counter

Asynchronous Counter (Ripple) Example: 3-bit ripple counter

Page 7: Sequential Circuit

YAMANI /ZAILY 7

Sequential Circuit: Counter

Asynchronous Counter (Ripple) Example: 4-bit ripple counter (negative edge triggered)

Page 8: Sequential Circuit

YAMANI /ZAILY 8

Sequential Circuit: Counter

Asynchronous Down Counter The previous example is up asynchronous counter Down asynchronous counter count from large to zero and

repeat Example: 3-bit binary down counter

Page 9: Sequential Circuit

YAMANI /ZAILY 9

Sequential Circuit: Counter

Asynchronous Down Counter Example: 3-bit binary down counter (MOD 8)

Page 10: Sequential Circuit

YAMANI /ZAILY 10

Sequential Circuit: Counter

Synchronous Counter (Parallel) Synchronous counter: flip-flop with the same synchronous

clock signal We can build synchronous counter using process to design

sequential circuit Example: 2-bit synchronous binary counter (using T flip-

flop or JK)

Page 11: Sequential Circuit

YAMANI /ZAILY 11

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-

flop or JK) cont….

Page 12: Sequential Circuit

YAMANI /ZAILY 12

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-

flop or JK) cont….

Page 13: Sequential Circuit

YAMANI /ZAILY 13

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-

flop or JK) cont….

Page 14: Sequential Circuit

YAMANI /ZAILY 14

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-

flop or JK) cont….

Page 15: Sequential Circuit

YAMANI /ZAILY 15

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: BCD Synchronous Counter

Page 16: Sequential Circuit

YAMANI /ZAILY 16

Sequential Circuit: Counter

Synchronous Counter (Parallel) Example: BCD Synchronous Counter

Page 17: Sequential Circuit

YAMANI /ZAILY 17

Sequential Circuit: Counter

Up/Down Synchronous Counter Up/Down Synchronous Counter: two way counter which

able to count up or down Up/Down control input line which determine the counter

Up/Down = 1 (count up) Up/Down = 0 (count down)

Page 18: Sequential Circuit

YAMANI /ZAILY 18

Sequential Circuit: Counter

Up/Down Synchronous Counter Example: 3-bit Up/Down Synchronous Counter

Page 19: Sequential Circuit

YAMANI /ZAILY 19

Sequential Circuit: Counter

Up/Down Synchronous Counter Example: 3-bit Up/Down Synchronous Counter (cont)

Page 20: Sequential Circuit

YAMANI /ZAILY 20

Sequential Circuit: Counter

Designing Synchronous Counter See sequential logic lecture notes Example: 3-bit Gray Code Counter (using JK flip-flop)

Page 21: Sequential Circuit

YAMANI /ZAILY 21

Sequential Circuit: Counter

Designing Synchronous Counter 3-bit Gray Code Counter: flip-flop input

Page 22: Sequential Circuit

YAMANI /ZAILY 22

Sequential Circuit: Counter

Designing Synchronous Counter 3-bit Gray Code Counter: logic diagram

Page 23: Sequential Circuit

YAMANI /ZAILY 23

Sequential Circuit: Counter

Counter with Parallel Load Counter with Parallel Load able to

Count at different condition Count in different sequence For increment/decrement function

Page 24: Sequential Circuit

YAMANI /ZAILY 24

Sequential Circuit: Counter

Counter with Parallel Load Different method to get MOD-6 counter

Page 25: Sequential Circuit

YAMANI /ZAILY 25

Sequential Circuit: Counter

Counter with Parallel Load Counter with 4-bit parallel

load

Page 26: Sequential Circuit

YAMANI /ZAILY 26

Sequential Logic

Contents Register Introduction

Simple register Register with parallel load

Shift Register Shift Register Serial In/Serial Out Shift Register Serial In/Parallel Out Shift Register Parallel In/Serial Out Shift Register Parallel In/ Parallel Out

Two way shift register Random Access Memory