ECE U322 Digital Logic Design - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

ECE U322 Digital Logic Design

Description:

Monday, 3-4 pm 334 Dana. Wednesday, 10:20-11:20 am 334 Dana ... Most logic functions occur over and over again: Design them once. Put them in a design library ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 35
Provided by: millenn8
Category:
Tags: ece | design | digital | logic | onceover | u322

less

Transcript and Presenter's Notes

Title: ECE U322 Digital Logic Design


1
ECE U322Digital Logic Design
Oct 3th, 2004
  • Lecture 11
  • Minimization
  • Design of Logic Circuits.
  • Modular Combinational Logic
  • Multiplexers and Binary Adders
  • Reading Marcovitz 5-2, 5-5

2
Anouncements
  • My office hours
  • Monday, 3-4 pm 334 Dana
  • Wednesday, 1020-1120 am 334 Dana
  • Dont forget TA office hours
  • Tuesday, 12 -1 pm 232 Forsyth

3
Derivation of the Truth Table
  • List all possible input combinations.
  • Break circuit into small single-output blocks and
    label.
  • Obtain truth table for blocks which depend only
    on input variables.
  • Obtain the truth table for blocks with functions
    that depend on previously defined inputs and
    block outputs, until the circuit outputs are
    determined.

4
Example Verify the operation of the following
circuit as a binary adder.
5
Truth Table
6
(No Transcript)
7
(No Transcript)
8
Design Procedure
  • From the specifications, determine the required
    number of inputs and outputs. Assign a symbol to
    each.
  • Derive the truth table.
  • Obtain the simplified Boolean functions.
  • Draw the logic diagram.
  • Verify the correctness of the design.

9
Example Design a 3-input, 1-output
combinational circuit such that output
logic 1, if binary value of inputs is less
than 011 logic 0, otherwise
10
(No Transcript)
11
Modular Combinational Logic
  • So far
  • Start from Boolean equations, simplify then
    implement with logic gates
  • Most logic functions occur over and over again
  • Design them once
  • Put them in a design library
  • Reuse them

12
Modular Combinational Logic
  • Combinational logic designs we will study
  • Data selectors (multiplexers)
  • Decoders/Encoders
  • Demultiplexers
  • Binary Arithmetic Circuits
  • Adders, Subtractors, Comparators

13
Modular Logic Example
  • Design a circuit with
  • two 4-bit data inputs A and B
  • a 2-bit select input s s1s0
  • Value of s determines output

14
Modular Logic Example
  • Implement all functions of A and B in parallel,
    all the time
  • Choose the one to go to output based on value of
    s
  • A data selector is called a multiplexer

15
Datapath for Example circuit
16
In Lab 3
17
Multiplexers (MUX)
  • Data selector.
  • Selects binary information from one of many input
    lines to a single output line.
  • Selection inputs control which particular input
    line to select.
  • Normally, there are 2n input lines, n selection
    inputs, and one output.

18
Multiplexers
  • A simple multiplexer has a single bit output
  • Common Multiplexers are
  • 2-to-1 2 inputs __ select lines
  • 4-to-1 4 inputs __ select lines
  • 8-to-1 8 inputs __ select lines
  • 2n-to-1 2n inputs ___select lines

19
Example 2-to-1 Multiplexer
20
2-to-1 multiplexer
  • Y s D0 s D1

21
2-to-1 Mux with Enable
E S Y 0 X 0 1 0 D0 1 1
D1
22
4 to 1 Multiplexer
23
(No Transcript)
24
4 2-to-1 muxes
25
2 4-to-1 muxes
26
In Example
  • Choosing one of four different functions of A and
    B
  • Each function output is 4 bits wide
  • What kind of muxes to use?
  • How many?

27
Build a 4-to-1 mux out of 2-to-1 muxes
28
Arithmetic Circuits
  • Combinational circuits that performs arithmetic
    operations such as addition, subtraction,
    multiplication, and division with numbers in a
    binary code.
  • We will consider
  • adders
  • subtracters
  • comparators

29
Binary Adders
  • Addition of two binary digits
  • 0 0
  • 0 1
  • 1 0
  • 1 1

30
  • Half Adder
  • Combinational circuit the performs the addition
    of two bits.
  • Full Adder
  • Combination circuit that performs the addition of
    three bits (two significant bits and a previous
    carry).

31
Half Adder
32
Full Adder
33
(No Transcript)
34

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