Digital Logic I PowerPoint PPT Presentation

presentation player overlay
1 / 49
About This Presentation
Transcript and Presenter's Notes

Title: Digital Logic I


1
Digital Logic I
2
Announcements
  • Purchase and register your PRS unit
  • Will use this Thursday

3
Outline
  • Transistors
  • Logic Gates
  • NOT, OR, NOR, AND, NAND
  • DeMorgan's Law
  • Larger Gates
  • Combinational Logic Circuits
  • Decoder, MUX, Full Adder, PLA,
  • Logical Completeness
  • Basic Storage Elements
  • R-S Latch, Gated D latch, Register

4
It's all about switching...
  • Action at a distance
  • Come here, Watson! I need you!
  • Tubes
  • Transistors
  • CMOS FET

5
Action at a Distance
Distance
6
Relay Logic
  •   x0001   x0002       Y0001
  • --- -----/---------( )-----
  •                               
  •                               
  •   x0001                   Y002
  • --- --01000 TON T012--( )--
  •                               
  •                               
  •                           R001
  • --D0140    0001--------( )--
  •                               
  •   R001                   Y004 
  • -- ---------------------( )--
  •                               
  • -END-------------------------

7
Reach Out and Touch Someone
  • Problem How do you talk to someone who is very
    far away?

8
So to save money...
N

P
N
9
So to save money...
N

P
N
10
MOS FET
Source
Drain
Gate
-
-
-
P-type substrate
N-type
Channel
11
(No Transcript)
12
N-Type MOS
Source
Gate
Drain
13
P-Type MOS
Source
Gate
Drain
14

15
(No Transcript)
16
V
17
V
V
18
Inverter (Not)
19
NOR
20
OR
21
NAND
22
AND
23
DeMorgan's Law
  • In C syntax
  • (AB) AB
  • (AB) AB

24
Larger gates
25
Combinational Logic
  • Combination of AND, OR, NOT (plus NAND NOR)
  • Same inputs always produce same output
  • Analogous to cheap bicycle lock

26
Problem
  • You have an n bit binary number which signifies
    which mole is selected. How do we physically
    connect to the desired mole?

27
Decoder
28
Problem
  • You have s signals and you want to use the
    logical value on one of them determined by a set
    of n control wires

m
n
out
29
Multiplexor
30
Problem
  • No one will buy your new computer design unless
    it can do at least some math, say, like adding!

31
Full Adder
A
B
OUT
32
Full Adder
A
B
Carry OUT
OUT
33
Full Adder
A
B
Carry IN
Carry OUT
OUT
34
Truth
35
Truth
36
Full Adder
37
PLA
  • Given a truth table we can implement it using
    output using a series of AND gates followed by a
    series of OR gates
  • We need 2n AND gates where n is the number of
    inputs
  • How many rows does the table have?
  • We need one OR gate for each output
  • General purpose Programmable Logic Array devices
    exist for this purpose

38
Interconnections
39
Combinational vs. Sequential Logic
  • Combinational
  • Combination of AND, OR, NOT (plus NAND NOR)
  • Same inputs always produce same output
  • Analogous to cheap bicycle lock
  • Sequential
  • Requires storage elements
  • Output depends on inputs plus state
  • Analogous to a RLR combination lock
  • Used to build memory state machines

40
Basic Storage
Consider
41
RS Latch
42
What happens if both inputs to RS latch are 0?
43
Gated D Latch
  • The RS Latch can be set or cleared but what if we
    want to record the value on the input?

Value of Interest
Stored Value
Control
44
Gated D Latch
45
Register
  • Basically an array of Gated D latches!

46
Questions
47
(No Transcript)
48
NOR
49
NAND
50
RS Latch
51
Gated D Latch
Write a Comment
User Comments (0)
About PowerShow.com