ECE 616 Advanced FPGA Designs - PowerPoint PPT Presentation

About This Presentation
Title:

ECE 616 Advanced FPGA Designs

Description:

Boolean Algebra and Algebraic Simplifications. Karnaugh Maps. 11 ... Boolean Algebra. Basic mathematics used for logic design. Laws and theorems can be used to ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 27
Provided by: Aleksandar72
Category:

less

Transcript and Presenter's Notes

Title: ECE 616 Advanced FPGA Designs


1
ECE 616Advanced FPGA Designs
  • Electrical and Computer EngineeringUniversity of
    Western Ontario

2
General
  • 1. Welcome remark
  • Digital and analog
  • VLSI ASIC and FPGA
  • Overview

3
Course Requirement
  1. Rules
  2. Attendance
  3. Projects
  4. Final

4
Information
  • Text book in library
  • M. J. S. Smith, Application-Specific Integrated
    Circuits, Addison-Wesley, 1997. ISBN 0201500221.
  • Digital Systems Design Using VHDL, Charles H.
    Roth, Jr., PWS Publishing, 1998 (ISBN
    0-534-95099-X).
  • Class notes and lab manual
  • www.engga.uwo.ca/people/wwang

5
Wei Wang
  • Office EC 1006
  • Office hours Thursday
  • 300 to 500 pm
  • Email wwang_at_eng.uwo.ca

6
Digital and Analog
7
(No Transcript)
8
(No Transcript)
9
Overview
  • Digital system 489 materials
  • VHDL
  • FPGA and CPLD

10
Outline
  • Review of Logic Design Fundamentals
  • Combinational Logic
  • Boolean Algebra and Algebraic Simplifications
  • Karnaugh Maps

11
Combinational Logic
  • Has no memory gtpresent state depends only on
    the present input

X x1 x2... xn
Z z1 z2... zm
x1
z1
x2
z2
xn
zm
Note Positive Logic low voltage corresponds
to a logic 0, high voltage to a logic 1Negative
Logic low voltage corresponds to a logic 1,
high voltage to a logic 0
12
Basic Logic Gates
13
Full Adder
Module
Truth table
Algebraic expressionsF(inputs for which the
function is 1)
Minterms
m-notation
14
Full Adder (contd)
Module
Truth table
Algebraic expressionsF(inputs for which the
function is 0)
Maxterms
M-notation
15
Boolean Algebra
  • Basic mathematics used for logic design
  • Laws and theorems can be used to simplify logic
    functions
  • Why do we want to simplify logic functions?

16
Laws and Theorems of Boolean Algebra
17
Laws and Theorems of Boolean Algebra
18
Simplifying Logic Expressions
  • Combining terms
  • Use XYXYX, XXX
  • Eliminating terms
  • Use XXYX
  • Eliminating literals
  • Use XXYXY
  • Adding redundant terms
  • Add 0 XX
  • Multiply with 1 (XX)

19
Theorems to Apply to Exclusive-OR
(Commutative law)
(Associative law)
(Distributive law)
20
Karnaugh Maps
  • Convenient way to simplify logic functions of 3,
    4, 5, (6) variables
  • Four-variable K-map
  • each square corresponds to one of the 16
    possible minterms
  • 1 - minterm is present 0 (or blank) minterm
    is absent
  • X dont care
  • the input can never occur, or
  • the input occurs but the output is not specified
  • adjacent cells differ in only one value gtcan be
    combined

Location of minterms
21
Karnaugh Maps (contd)
  • Example

22
Sum-of-products Representation
  • Function consists of a sum of prime implicants
  • Prime implicant
  • a group of one, two, four, eight 1s on a
    maprepresents a prime implicant if it cannot be
    combined with another group of 1s to eliminate a
    variable
  • Prime implicant is essential if it contains a 1
    that is not contained in any other prime
    implicant

23
Selection of Prime Implicants
Two minimum forms
24
Procedure for min Sum of products
  • 1. Choose a minterm (a 1) that has not been
    covered yet
  • 2. Find all 1s and Xs adjacent to that minterm
  • 3. If a single term covers the minterm and all
    adjacent 1s and Xs, then that term is an
    essential prime implicant, so select that term
  • 4. Repeat steps 1, 2, 3 until all essential prime
    implicants have been chosen
  • 5. Find a minimum set of prime implicants that
    cover the remaining 1s on the map. If there is
    more than one such set, choose a set with a
    minimum number of literals

25
Products of Sums
  • F(1) 0, 2, 3, 5, 6, 7, 8, 10, 11F(X) 14,
    15

26
To Do
  • Textbook
  • Chapter 1.1, 1.2
  • Read
  • Alteras MAXplus II and the UP1 Educational
    boardA Users Guide, B. E. Wells, S. M. Loo
  • Altera University Program Design Laboratory
    Package
Write a Comment
User Comments (0)
About PowerShow.com