Registers - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Registers

Description:

Circuit Diagram. Timing Diagrams. Up-Down Counter. For an Up-Counter ... Circuit Diagram. Timing Diagram. Binary Counter with Parallel Load ... – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 23
Provided by: jenni98
Category:
Tags: registers

less

Transcript and Presenter's Notes

Title: Registers


1
ECE U322Digital Logic Design
Nov. 21, 2005
  • Lecture 30
  • Synchronous Counters
  • FSM Design
  • Homework 8 due Thursday, Dec. 1.

2
Sequential Circuit Design
Procedure 1. Specify Obtain state diagram or
state table based on problem specification 2.
Write state table if not given in 1 3. Determine
type and number of flip-flops 4. Determine
binary codes for states. 5. Derive flip-flop
input equations. 6. Derive output equations. 7.
Simplify equations from 5 and 6. 8. Draw logic
diagram.
3
Counters are FSMs
  • Registers that go through a prescribed sequence
    of states upon the application of pulses.
  • Design procedure for a synchronous counter is the
    same as with any other synchronous sequential
    circuit.
  • In a counter, the output is the state.

4
State Diagram for a 4-bit counter
5
Binary Counter
6
K-maps
7
With EN (count enable input), the flip-flop input
equations are JQ0 KQ0 JQ1 KQ1 JQ2 KQ2
JQ3 KQ3 The input equation for flip-flop,
Qi, at any stage for i 1,2, n (n-bit counter)
is JQi KQi
8
(No Transcript)
9
2-bit Down Counter using J-K flip-flops
  • State Diagram

10
  • State Table
  • Present State Input Next State FF-Inputs

11
  • Input/Output Equations
  • Circuit Diagram

12
  • Timing Diagrams

13
Up-Down Counter
  • For an Up-Counter
  • The input equation for flip-flop, Qi, at any
    stage for i 1,2, n (n-bit counter) is
  • JQi KQi
  • For a Down-Counter
  • The input equation for flip-flop, Qi, at any
    stage for i 1,2, n (n-bit counter) is
  • JQi KQi

14
4-bit Up-Down Counter
15
Arbitrary Count Sequence
  • (0,1,3,4,6,7)
  • State Diagram

16
State Table
What do we do with unused states?
17
K-Maps
18
Circuit Diagram
19
Timing Diagram
20
Binary Counter with Parallel Load
  • It is often useful to have a parallel load for
    transferring an initial binary number into the
    counter prior to counting.
  • When the input load control is equal to 1, it
    disables the count operation and causes a
    transfer of data from the four data inputs into
    the four flip-flops.
  • If both control inputs are 0, clock pulses do not
    change the state of the register.

21
4-Bit Binary Counter with Parallel Load
22
Register with count, load, shift functions
  • Design a register that can perform the following
    functions
Write a Comment
User Comments (0)
About PowerShow.com