EE207: Digital Systems I, Semester I 2003/2004 - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

EE207: Digital Systems I, Semester I 2003/2004

Description:

EE207: Digital Systems I, Semester I 2003/2004 CHAPTER 3-iv: Combinational Logic Design (Section 3.8) Overview Binary Addition Half Adder Full Adder Ripple Carry ... – PowerPoint PPT presentation

Number of Views:93
Avg rating:3.0/5.0
Slides: 16
Provided by: maria394
Category:

less

Transcript and Presenter's Notes

Title: EE207: Digital Systems I, Semester I 2003/2004


1
EE207 Digital Systems I, Semester I 2003/2004
  • CHAPTER 3-iv
  • Combinational Logic Design
  • (Section 3.8)

2
Overview
  • Binary Addition
  • Half Adder
  • Full Adder
  • Ripple Carry Adder
  • Carry Lookahead Adder
  • Decimal Addition (Section 3.12)
  • BCD Adder

3
1-bit Adder
  • Performs the addition of two binary bits.
  • Four possible operations
  • 000
  • 011
  • 101
  • 1110
  • Circuit implementation requires 2 outputs one to
    indicate the sum and another to indicate the
    carry.

4
Half Adder
  • Performs 1-bit addition.
  • Inputs A0, B0
  • Outputs S0, C1
  • Index indicates significance, 0 is for LSB and 1
    is for the next higher significant bit.
  • Boolean equations
  • S0 A0B0A0B0 A0 ? B0
  • C1 A0B0

Truth Table
A0 B0 S0 C1
0 0 0 0
0 1 1 0
1 0 1 0
1 1 1 1
5
Half Adder (cont.)
  • S0 A0B0A0B0 A0? B0
  • C1 A0B0

Logic Diagram
Block Diagram
B0
A0
A0
S0
1 bit half adder
B0
C1
C1
S0
6
n-bit Addition
  • Design an n-bit binary adder which performs the
    addition of two n-bit binary numbers and
    generates a n-bit sum and a carry out.
  • Example Let n4Cout C3 C2 C1 C0 1 1
    0 1 0 A3 A2 A1 A0 1
    1 0 1 B3 B2 B1 B0 1 1 0 1
    -------------- ---------- S3 S2
    S1 S0 1 0 1 0
  • This requires 3-bit addition!

7
Full Adder
  • Full adder (for higher-order bit addition)
  • Combinational circuit that performs the additions
    of 3 bits (two bits and a carry-in bit)

Ai
Bi
1 bit full adder
Ci1
Ci
Si
8
Full Adder (cont.)
The K-maps for Ci1 Si
Ai Bi Ci Si Ci1
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
BiCi
Ai
0
1
0
0
1
1
1
0
BiCi
Ai
1
0
1
0
0
1
0
1
9
Full Adder (cont.)
  • Boolean equations
  • Ci1 AiBi AiCi BiCi
  • Si AiBi Ci AiBiCi AiBiCi AiBiCi
    Ai ? Bi ? Ci
  • You can design full adder circuit directly from
    the above equations (requires 3 ANDs and 1 OR for
    Ci1 and 2 XORs for Si)
  • Can we do better?

10
Full Adder using 2 Half Adders
A full adder can also be realized with two half
adders and an OR gate, since Ci1 can also be
expressed as Ci1 AiBi AiBiCi
AiBiCi AiBi (AiBi AiBi)Ci AiBi
(Ai ? Bi)Ci and Si Ai ? Bi ? Ci
Ai
Si
Bi
Ci1
Ci
11
n-bit Combinational Adders
  • Perform parallel multi-bit addition
  • Ripple Carry Adder
  • Simple design
  • Time consuming. Why? (youll see in a bit!)
  • Carry Lookahead Adder
  • More complex than ripple-carry adder
  • Reduces circuit delay

12
n-bit Ripple Carry Adder
  • Constructed using n 1-bit full adder blocks in
    parallel.
  • Cascade the full adders so that the carry out
    from one becomes the carry in to the next higher
    bit position.

13
Example 4-bit Ripple Carry Adder
C4 C3 C2 C1 C0 A3 A2 A1 A0
B3 B2 B1 B0
-------------- S3 S2 S1 S0

14
Ripple Carry Adder Delay
  • Circuit delay in an n-bit ripple carry adder is
    determined by the delay on the carry path from
    the LSB (C0) to the MSB (Cn).
  • Let the delay in a 1-bit FA be ?. Then, the delay
    of an n-bit ripple carry adder is n?.

15
Carry Lookahead Adder
  • Alternative design for a combinational n-bit
    adder.
  • Practical design with reduced delay at the
    expense of more complex hardware.
  • See Wakerly 5.10.4
Write a Comment
User Comments (0)
About PowerShow.com