ECE U322 Digital Logic Design - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

ECE U322 Digital Logic Design

Description:

Homework 5 due Today. Oct. 27, 2005. 2. Characteristic Equation. Like Boolean logic equation SR Latch. output is function of inputs ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 24
Provided by: millenn8
Category:

less

Transcript and Presenter's Notes

Title: ECE U322 Digital Logic Design


1
ECE U322Digital Logic Design
Oct. 27, 2005
  • Lectures 21
  • Latches
  • Flipflops
  • Reading Marcovitz 6.2
  • Homework 5 due Today

2
Characteristic Equation
  • Like Boolean logic equation SR Latch
  • output is function of inputs
  • now inputs are S, R and Q, output is Q
  • Captures behavior of SR latch

3
State Diagram
  • Bubble represents a state
  • Arc between bubbles represents a state transition
  • Arc is labeled with inputs that cause state
    transition

4
D Latch
5
Latches Summary
  • SR latch Q S RQ
  • SR latch with control input
  • Q SC R Q CQ
  • D latch Q DC CQ

6
D Flip-Flop
7
J-K Flip-Flop
State Diagram
8
Negative Edge Triggered
clock J K Q
toggle JK1
hold JK0
reset J 0 K1
set J 1 K0
9
T Flip-Flop
State Diagram
10
Summary
11
Flip-Flop Excitation Tables
Recall
12
Flip-Flop Excitation Tables
Recall
13
Flip-Flop Excitation Tables
Recall
14
Flip-Flop Excitation Tables
Recall
15
We can build one flip-flop from another.
  • J-K flip-flop from D flip-flop

16
We can build one flip-flop from another.
  • T flip-flop from J-K flip-flop

17
Datapath for Lab 4 Calculator
18
Calculator Components
  • ALU (Lab 3)
  • 2-to-1 Mux
  • Temp register
  • Stack
  • Which are combinational?
  • Which are sequential?
  • Which have a reset?
  • Synchronous or Asynchronous ?

19
Implement the Stack
  • In lab, used shift registers to implement the
    stack
  • Translate hold, push, and pop to
  • control inputs for shift register
  • shift left, shift right ...

20
To push new data on the stack
  • To push data from the input switches on the
    stack
  • need ______ clock cycles
  • Mux inputs are set to ____
  • ALU inputs are set to ____
  • stack inputs are set to ____

21
To pop data from the stack
  • need ______ clock cycles
  • Mux inputs are set to ____
  • ALU inputs are set to ____
  • stack inputs are set to ____

22
To add tos with new data
  • To add tos with new data from the input
    switches
  • need ______ clock cycles
  • Mux inputs are set to ____
  • ALU inputs are set to ____
  • stack inputs are set to ____

23
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com