Title: Combinational Circuits
1Combinational Circuits
- ECE-331, Digital Design
- Dr. Ron Hayne
- Electrical and Computer Engineering
2Equivalent Representations of Logic Functions
- Equivalent, Not Necessarily Equal
- Four Formalisms
- Truth Table
- Schematic symbols
- Boolean (Switching) Algebra
- Hardware Description Language
3First 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
4Circuit Diagram Symbols
5Circuit Diagram Symbols
62nd Equivalent Representation
- Circuit Diagrams
- Implement logic functions using representations
of physical circuits comprised of logic gates
S
I1
F1
E
Z
I0
F2
7Binary Logic Operations
- AND
- a AND b c
- a b c
- OR
- a OR b c
- a b c
8Unary Logic Operation
- INVERT
- NOT ( a ) a pronounced a bar
- 1s Complement
93rd Equivalent Representation
- Boolean Algebra
- Math. description of logic circuit behavior
- Apply PT to put expression in canonical form
104th 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
11Two Processes
- Analysis
- Circuit Boolean Function TT
- Design
- TT Boolean Function Circuit
12Analysis of Parity Generator
13Analysis of Parity Generator
- Boolean Algebraic Representation
14Analysis of Parity Generator
15Algebras
- 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
16Boolean 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
17Boolean 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
18Huntingtons Postulates
19Huntingtons Postulates
20Complete 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
21DeMorgans Theorem
- Example Implement the following function using
only NAND gates
22Canonical Forms
- Non-minimal, Standard Forms for Writing Algebraic
Expressions - SOP
- Sum of Products
- Minterms
- POS
- Product of Sums
- Maxterms
23Canonical 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
24Minterms
- 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
25Minterm Example
26Equivalent Specifications
27Canonical 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
28Maxterm Example
29Algebraic Manipulation
30Canonical SOP Form Example
31TT from SOP Form
32TT from SOP Form
33TT from Canonical SOP (fill in)
34Language 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
35Timing Diagrams
Tested Circuit OR3 port map (AgtInput(2),
BgtInput(1), CgtInput(0), ZgtZ)
36End of Lecture
- Equivalence
- Boolean Algebra
- Minterms Maxterms
- SOP/POS
- Canonical Forms
- Dont Cares
- Timing Diagrams