Digital Logic Circuits Review I - PowerPoint PPT Presentation

1 / 37
About This Presentation
Title:

Digital Logic Circuits Review I

Description:

Each line in the truth table corresponds to a square in the Karnaugh map. ... f can be 1 other times, as well: may be implied by other implicants, than the 1 at hand ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 38
Provided by: voicu1
Category:
Tags: circuits | digital | logic | map | of | review | square | times

less

Transcript and Presenter's Notes

Title: Digital Logic Circuits Review I


1
Digital Logic Circuits Review I
  • Dr. Voicu Groza
  • SITE Hall, Room 5017
  • 562 5800 ext. 2159
  • Groza_at_SITE.uOttawa.ca

2
Outline
  • Logic Function
  • Boolean Algebra
  • Logic Functions Minimization
  • Logic Gates and Combinational Circuits

3
Logic function
  • z F(x0, x1, x2, ) z ?0, 1, xk ?0, 1, k
    0,1,2,
  • F can be represented by
  • logic expression
  • truth table
  • K-map

x0 x1 x2 x3
Logic Circuit
z
Logic Inverter
x z
z x
4
  • BOOLEAN ALGEBRA
  • B, , , ?, 0, 1, where
  • B set with at least 2 distinct elements
  • 0, 1 2 constants ? B
  • OR
  • ? AND
  • equivalence relationship, with usual
    properties
  • reflexivity (? x ? B) ? (x x)
  • symmetry (? x, y ? B) ? (x y ? y x)
  • transitivity (? x, y, z ? B) ? (x y and y z
    ? x z)
  • Parentheses are allowed

5
(No Transcript)
6
Proof
7
Proof
8
DeMorgans Theorems
9
Minterms
10
Canonical form of logic function
Sum of Products F ABC ABC ABC ABC Sum
of minterms F S (m2, m3, m5,
m7)
F S (2, 3, 5, 7)
11
Simplifying logic functions using Boolean algebra
rules
A
B
C
12
Karnaugh map gt graphical representation of a
truth table of a logic function.
Each line in the truth table corresponds to a
square in the Karnaugh map.
The Karnaugh map squares are labeled so that
horizontally or vertically adjacent squares
differ only in one variable. (Each square in the
top row is considered to be adjacent to a
corresponding square in the bottom row. Each
square in the left most column is considered to
be adjacent to a corresponding square in
the right most column.)
Recommending for functions represented by
sum of minterms logic expressions
13
Recommend for functions represented by sum of
minterms logic expressions
14
Implicants
  • Given a logic function z F(x0, x1, x2, )
  • Implicant product term that,
  • if equal to 1, implies f 1
  • whenever the implicant is 1gt f 1
  • f can be 1 other times, as well may be implied
    by other implicants, than the 1 at hand
  • from the K-map point of view, an implicant is a
    rectangle of 1, 2, 4, 8, (any power of 2) 1s
  • Prime Implicant cannot be totally covered by
    another implicant
  • (e.g., AC, BC, AB)
  • Each 1 which is covered by a single implicant
    is marked with a star ()
  • Essential Prime Implicant a prime implicant
    that contains at least one 1
  • A minimum cover of a logic function has to
    contain all its prime implicants

F
B
0 1 3 2
B C
0 0 1 1
4 5 7 6
0 1 1 0
A
A B C
C
A C
B
0 1 3 2
A C
0 0 1 1
4 5 7 6
0 1 1 0
A
B C
C
15
The logic function can be simplified by replacing
canonical terms with a minimum cover of prime
implicants, obtained by properly combining
squares (looping) of the Karnaugh maps which
contain 1s.
A B C F (0) 0 0 0 0 (1)
0 0 1 0 (2) 0 1 0 1 (3) 0
1 1 1 (4) 1 0 0 0 (5) 1 0
1 1 (6) 1 1 0 0 (7) 1 1
1 1
B
A B
0 1 3 2
0 0 1 1
4 5 7 6
0 1 1 0
A
B C
C
A C
16
(No Transcript)
17
Equivalent Gate Symbols
A . B
18
TWO-LEVEL NAND gate implementation of the
sum-of-product logic functions
19
Incompletely Specified Logic Functions
dc -gt x dont care terms
20
(No Transcript)
21
(No Transcript)
22
(Set-Reset)
SET
RESET
Weird state
Set state
HOLD
Reset state
Hold state
23
Characteristic (functional) table
Q(t?t) D(t)
0 0 1 1
0 1 1 1
1 0 1 0
0 1
1 0
1 1 0 1
24
(No Transcript)
25
(No Transcript)
26
Connection diagram of the 7474 Dual
Positive-Edge-Triggered D Flip-Flops with
Preset and Clear.
27
(No Transcript)
28
CHARACTERISTIC (FUNCTIONAL) TABLE
EXCITATION TABLE
29
CHARACTERISTIC (FUNCTIONAL) TABLE
EXCITATION TABLE
30
Synchronous 4-bit Counter
31
(No Transcript)
32
Excitation Equations






33
Implementation of 4-bit synchronous counter
34
Another Synchronous 4-bit Counter
Using D flip-flops has the distinct advantage of
a straightforward definition of the flip-flop
inputs the current state of these inputs is
the next state of the counter .
The logic equations for all four flip-flop
inputs D3, D2,
D1, and D0 are
derived from this
truth
table as
functions of the
current states of the
counters
flip-flops
Q3, Q2, Q1, and Q0.
Karnaugh maps can
be used
to simplify
these equations.
35
(No Transcript)
36
(No Transcript)
37
Memory Unit
  • Capacity
  • 2k words
  • 1 word n bits
  • Read operation (RD)
  • Apply address to address bus (Ak-1A0)
  • Apply control signal (RD) to have data appear on
    data bus (Dout)
  • Read data from data bus to destination register
Write a Comment
User Comments (0)
About PowerShow.com