Combinational Circuits - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Combinational Circuits

Description:

Four Formalisms. Truth Table. Schematic symbols. Boolean (Switching) Algebra ... Determine output by applying binary operators ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 35
Provided by: drr111
Category:

less

Transcript and Presenter's Notes

Title: Combinational Circuits


1
Combinational Circuits
  • ECE-331, Digital Design
  • Dr. Ron Hayne
  • Electrical and Computer Engineering

2
Equivalent Representations of Logic Functions
  • Equivalent, Not Necessarily Equal
  • Four Formalisms
  • Truth Table
  • Schematic symbols
  • Boolean (Switching) Algebra
  • Hardware Description Language

3
First Equivalent Representation
  • Truth Tables
  • Enumerate all possible inputs
  • Determine output by applying binary operators
  • Identical I/O relationships show equivalent
    functions

Inputs Inputs A AND B
A B C
0 0 0
0 1 0
1 0 0
1 1 1
4
Circuit Diagram Symbols
  • AND
  • OR
  • NOT

5
Circuit Diagram Symbols
  • NAND
  • NOR
  • XOR

6
2nd Equivalent Representation
  • Circuit Diagrams
  • Implement logic functions using representations
    of physical circuits comprised of logic gates

S
I1
F1
E
Z
I0
F2
7
Binary Logic Operations
  • AND
  • a AND b c
  • a b c
  • OR
  • a OR b c
  • a b c

8
Unary Logic Operation
  • INVERT
  • NOT ( a ) a pronounced a bar
  • 1s Complement

9
3rd Equivalent Representation
  • Boolean Algebra
  • Math. description of logic circuit behavior
  • Apply PT to put expression in canonical form

10
4th Equivalent Representation
  • (V)HDL
  • VHSIC Hardware Description Language
  • Two Components
  • Entities specify the interface
  • Architecture(s) specify the implementation
  • Hierarchical
  • Simplest architecture is behavioral description
  • Structural architecture is composed of entities

11
Two Processes
  • Analysis
  • Circuit Boolean Function TT
  • Design
  • TT Boolean Function Circuit

12
Analysis of Parity Generator
  • Circuit

13
Analysis of Parity Generator
  • Boolean Algebraic Representation

14
Analysis of Parity Generator
  • Truth Table

15
Algebras
  • Algebras are Comprised of two Components
  • Set of elements
  • Binary Operator(s)
  • a b c multiplication operator
  • a b c addition operator
  • Binary because there are two operands, not
    because the operands take on binary values
  • Groups, Rings, and Fields Are Algebras

16
Boolean Algebra
  • George Boole
  • 19th century English mathematician
  • Book on propositional calculus
  • Claude Shannon
  • 20th century American
  • Applied Boolean algebra to a network of switches
  • Switching algebra

17
Boolean Algebra
  • E. Huntington
  • 20th century
  • Developed 10 postulates of Boolean algebra
    (axioms) which are assumed to be true
  • All theorems of switching algebra can be derived
    from these postulates

18
Huntingtons Postulates
  • Commutative
  • Distributive

19
Huntingtons Postulates
  • Identity
  • Complement

20
Complete Set
  • All Boolean Algebraic Functions Can Be Generated
    From Either of Two Sets of Two Fundamental
    Operators
  • AND and INVERT
  • OR and INVERT
  • Common Implementation Gates
  • NAND
  • NOR

21
DeMorgans Theorem
  • Example Implement the following function using
    only NAND gates

22
Canonical Forms
  • Non-minimal, Standard Forms for Writing Algebraic
    Expressions
  • SOP
  • Sum of Products
  • Minterms
  • POS
  • Product of Sums
  • Maxterms

23
Canonical SOP Form
  • a.k.a., Disjunctive Normal Form
  • SOP
  • Algebraic Expression with ANDed terms ORed
    together
  • Canonical
  • Each product term contains each variable in
    either complemented or uncomplemented form
  • Product terms are known as minterms
  • Represent 1s of the function

24
Minterms
  • The Order of the Variables in Each Term Is As
    Specified in the Function, e.g.,

MSB
LSB
minterm ( 11 )2 ( 3 )10
minterm ( 01 )2 ( 1 )10
25
Minterm Example
26
Equivalent Specifications
  • Algebra
  • Circuit Diagram

27
Canonical POS Form
  • a.k.a., Conjunctive Normal Form
  • POS
  • Algebraic Expression with ORed terms ANDed
    together
  • Canonical
  • Each sum term contains each variable in either
    complemented or uncomplemented form
  • Sum terms are known as Maxterms
  • Represent 0s of the function

28
Maxterm Example
29
Algebraic Manipulation
30
Canonical SOP Form Example
31
TT from SOP Form
32
TT from SOP Form
33
TT from Canonical SOP (fill in)
34
Language of Digital
  • A Complemented Variable is CalledX-BAR
  • An Asserted Signal Is One That Is True
  • Asserted as a 1 Positive logic
  • Asserted as a 0 Negative logic
  • Crossing Wires in a Schematic Are NOT Connected,
    ANSI Drafting Standard

35
Timing Diagrams
Tested Circuit OR3 port map (AgtInput(2),
BgtInput(1), CgtInput(0), ZgtZ)
36
End of Lecture
  • Equivalence
  • Boolean Algebra
  • Minterms Maxterms
  • SOP/POS
  • Canonical Forms
  • Dont Cares
  • Timing Diagrams
Write a Comment
User Comments (0)
About PowerShow.com