Overview
Overview
12
11
10
9
8
7
Voltage
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Time
Introduction to Digital Design…
• Computers cannot handle these continuous values!
• They see the world as 1s or 0s.
• Therefore, We convert our analog world into discrete
steps.
• Simplest of these:
12
11
10
9
8
7
Voltage
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Time
Introduction to Digital Design…
• Computers cannot handle these continuous values!
• They see the world as 1s or 0s.
• Therefore, We convert our analog world into discrete
steps.
Sound Alarm!
• Simplest of these:
12
11
10
9
8
7
Voltage
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Time
Introduction to Digital Design…
• Computers cannot handle these continuous values!
• They see the world as 1s or 0s.
• Therefore, We convert our analog world into discrete
steps.
• Simplest of these:
12
11
10
9
8
7
Voltage
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Time
Introduction to Digital Design…
• Computers cannot handle these continuous values!
• They see the world as 1s or 0s.
• Therefore, We convert our analog world into discrete
steps.
• Simplest of these:
12
11
10
9
8
7
Voltage
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Time
Introduction to Digital Design…
• In actuality, continuous signals are discretized for use by
computers:
Introduction to Digital Design…
• But we only have 1s and 0s…
Introduction to Digital Design…
• But we only have 1s and 0s… 00000101
00001001
Introduction to Digital Design…
• Digital vs. Analog
Introduction to Digital Design…
• What is logic/digital design
Given a specification of a problem, come up with a way of solving it, choosing
appropriately from a collection of available components, while meeting some c
riteria for size, cost, power, etc
• Design
• Initial concept: what is the function performed by the
object?
• Constraints: How fast? How much area? How much cost?
Design • Refine abstract functional blocks into more concrete
realizations
Implementation
• Implementation
• Assemble primitives into more complex building blocks
• Composition via wiring
Debug • Choose among alternatives to improve the design
• Debug
• Faulty systems: design flaws, composition flaws,
component flaws
• Design to make debugging easier
• Hypothesis formation and troubleshooting skills
Basic building blocks of Digital Circuits
• Digital Logic Gates are the basic units to build any digital
circuit.
• Digital logic circuits are hardware components that
manipulate binary information.
• A digital system is basically a black box with a minimum
of one input and one output.
• Inside this box, are millions of switches called transistors.
• Transistors perform different functions according to
inputs.
• In binary logic circuits there are only two levels: 0 and 1.
Digital Logic Levels
• Electrical Signals (voltages or currents) that exist
throughout a digital system are in either of two
recognizable values (logic 1 or logic 0)
• Boolean Expression:
f(A,B,C)=A’BC’ + ABC
Boolean Expression from the truth table
• Each 1 in the output of a truth table specifies one term in
the corresponding Boolean expression.
• The expression can be read off by inspection.
• F is true when A is false AND B is true AND C is false or
• A is true AND B is true AND C is true.
• F=A’BC’ + ABC
Boolean Algebra
• In digital Logic, we are not using normal mathematics we
are using Boolean algebra.