Unit 01 - Introduction
Unit 01 - Introduction
1.1. Introduction
vs MICROELECTRONICS’
Digital Electronics
Therefore
Nobody
Digital Electronics
knows
what the
future
holds
1.1. Introduction
• Since the discovery of electric energy, it was obvious that it is
possible to represent information by electrical variables.
Digital Electronics
• Analog electrical signals can take any value among certain limits.
In mathematical terms, these signals are considered continuous.
Sàmpling in Time
Sampling in time and value
Digital Electronics
ADC
DAC
High Low
Positive
1 0
Logic
Negative
0 1
Logic
• Digital circuits operate with signals that have only two possible
values: low and high voltage.
Digital Electronics
• A binary number system has two values: 0 and 1, i.e., low and
high voltage, respectively.
• A binary digit is called bit (BInary digiT).
• A set (group) of bits can be used to create a binary code, that can
represent numbers, letters, symbols, and any other information.
• Since the decade of 1960, when the first digital chip was made,
the complexity has dramatically grown.
• The digital nature makes easier to detect, and even correct, errors.
Therefore, the reliability of the data transmission is improved.
• Decimal System
• 512D = 5·102 + 1·101 + 2·100
• Binary System
• 1101B = 1·23 + 1·22 + 0·21 + 1·20
• Base n System
• Sm... S2 S1 S0 = Sm·nm + ... + S2·n2 + S1·n1 + S0·n0
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
0001
1000 0000
Digital Electronics
a0 1001 0001
a1
a2 1101
1011 0011
a3
SISTEMA
Mechanical 0101
1010 0010
System 0111 0110
MECÁNICO
1111 0111
1101 0101
1100 0100
(a) Mechanical system coupled to an (b) Front view of the encoding disk
absolute position encoder
(a) Binary code encoding disk (b) Gray code encoding disk
4. a+(aꞏb)=a Absorption
aꞏ(a+b)=a theorem
• Canonical Terms: Sum or product that has all the variables in plain
or inverted ways.
• Canonical Function
• Canonical Product (minterm)
• Canonical Sum (maxterm)
Example:
∏ ∑ c b a f LSB MSB
7 0 0 0 0 0
6 1 0 0 1 1
5 2 0 1 0 0
4 3 0 1 1 1
3 4 1 0 0 1
2 5 1 0 1 1
1 6 1 1 0 1
0 7 1 1 1 1
Digital circuit
Classic Standard
Gate Function Switches
Symbols Symbols
Digital Electronics
a+b a a a+b
a+b ≥1
OR a+b b b
a b
aꞏb
a a aꞏb
b aꞏb &
AND aꞏb b b
a
a a a 1 a
NOT a a
(Inverter)
a a & aꞏb
aꞏb
NAND
Functions
b
Universal
b
a a+b a ≥1 a+b
NOR b
b
a a =1 a b
XOR a b
(Exclusive OR) b b
a a b a =1 a b
XNOR b b
LSB MSB
LSB MSB
• Logic Families
Digital Electronics
• Transfer Characteristics
• Noise Margins
• Fan Out
• Power Dissipation
• Propagation Delays
𝑓 𝑎, 𝑏, 𝑐, 𝑑
LSB MSB
c cd
0 1 00 01 11 10
ab ab
00 00
b 0 4 0 8 12 4
0 1
a
01 2 6 01 2 10 14 6
0 0 2
11 3 7 11 3 11 15 7
1 1 3
10 1 5 10 1 9 13 5
Two variables Three variables Four variables
Adjacency among cells
Unit 1: Introduction to Digital Electronics
30
1.6.1. Karnaugh’s Map Method
1. Fill the table with the information from the truth table or logic function.
2. Group adjacent cells that contain the same value in groups that are
power of 2, the bigger the better, in rectangular shape.
3. Also take those cells that can not be joined (single cells).
4. Found the minimum number of combinations of groups.
Digital Electronics
D
C ꞏBꞏA
𝑓 𝐴, 𝐵, 𝐶, 𝐷 𝐷 𝐶̅ · 𝐵 𝐶·𝐵·𝐴
CꞏB
Example:
c b a f
0 0 0 1
0 0 1 1
0 1 0 X
0 1 1 X
1 0 0 X
1 0 1 0
1 1 0 0
1 1 1 X
• In real logic design applications, only two kinds of minimization problems exists.
Digital Electronics
1. Logic functions of a few variables that you can “eyeball”, with up to five
variables.
• Design Methodology
1. Create the truth table from the description / specifications
of the system
2. Deduce the canonical terms
3. Minimize the function
4. Implement the system using the minimum resources
Example:
𝑓 𝑎 · 𝑐̅ 𝑎·𝑏·𝑑 𝑑̅
c
c 1 &
aꞏc
a 1
a
&
aꞏbꞏd ≥1 aꞏc aꞏbꞏd d
b Circuit Level: the
maximum number of gates
d that an input signal goes
1 d
through to change any output.
NOT & 1
Digital Electronics
&
& ≥1
OR &
NOT ≥1 1
Digital Electronics
OR ≥1 ≥1 ≥1
≥1
≥1 &
AND ≥1
a &
a
&
aꞏbꞏd
&
dꞏaꞏcꞏaꞏbꞏd d aꞏc aꞏbꞏd
b
d d
c ≥1 ac
a d acabd
≥1
≥1 abd ≥1
≥1 d acabd
b
d aꞏc aꞏbꞏd
d
d ≥1