Sequential Circuit Counter Introduction w Counter is a

  • Slides: 11
Download presentation
Sequential Circuit: Counter Introduction w Counter is a circuit which cycle through state sequence

Sequential Circuit: Counter Introduction w Counter is a circuit which cycle through state sequence w Two types of counter n n Synchronous counter (e. g. parallel) Asynchronous counter (e. g. ripple) w Ripple counter let some flip-flop output to be used as clock signal source for other flip-flop w Synchronous counter use the same clock signal for all flip-flop 1

Sequential Circuit: Counter Asynchronous Counter (Ripple) w Example: 2 -bit ripple counter w Output

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

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

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

Sequential Circuit: Counter Asynchronous Down Counter w The previous example is up asynchronous counter

Sequential Circuit: Counter Asynchronous Down Counter w The previous example is up asynchronous counter w Down asynchronous counter count from large to zero and repeat w Example: 3 -bit binary down counter 4

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

Sequential Circuit: Counter Synchronous Counter (Parallel) w Synchronous counter: flip-flop with the same synchronous clock signal w We can build synchronous counter using process to design sequential circuit w Example: 2 -bit synchronous binary counter (using T flipflop or JK) 5

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 2 -bit synchronous binary counter (using

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 2 -bit synchronous binary counter (using T flipflop or JK) cont…. 6

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 3 -bit synchronous binary counter (using

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 3 -bit synchronous binary counter (using T flipflop or JK) cont…. YAMANI /ZAILY 7

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 2 -bit synchronous binary counter (using

Sequential Circuit: Counter Synchronous Counter (Parallel) w Example: 2 -bit synchronous binary counter (using T flipflop or JK) cont…. 8

Sequential Circuit: Counter Designing Synchronous Counter w See sequential logic lecture notes w Example:

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

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

Sequential Circuit: Counter Designing Synchronous Counter w 3 -bit Gray Code Counter: flip-flop input 10

Sequential Circuit: Counter Designing Synchronous Counter w 3 -bit Gray Code Counter: logic diagram

Sequential Circuit: Counter Designing Synchronous Counter w 3 -bit Gray Code Counter: logic diagram 11