Professional Documents
Culture Documents
EE1029 Lecture5 Digital Circuits
EE1029 Lecture5 Digital Circuits
Lecture 5
Source: M. -C. Brunet (UIUC) (email: brunet@illinois.edu)
https://engineering.illinois.edu/directory/profile/brunet
Handout 11
Digital Circuits
2
527 = 5x102 + 2x101 + 7x100
52710 = 5x100 + 2x10 + 7x1
725 = 7x102 + 2x101 + 5x100
72510 = 7x100 + 2x10 + 5x1
13 = 8 + 4 + 1
1310 = 11012 (4 bits)
4
Ref. M. -C. Brunet 3
0
33
63
Ans. 5 bits
Ref. M. -C. Brunet 4
0000 0 1000 8
0001 1 1001 9
0010 2 1010 A
0011 3 1011 B
0100 4 1100 C
0101 5 1101 D
0110 6 1110 E
0111 7 1111 F
𝟐𝑪 𝟏𝟔 = 𝟎𝟎𝟏𝟎𝟏𝟏𝟎𝟎 𝟐 = 𝟒𝟒𝟏𝟎
8 bits = 23 bits
210
220
230
𝑿⊕𝒀
𝑭 = 𝟏? ⟺ 𝑿 ∙ 𝒀 = 𝟏
Ref. M. -C. Brunet
𝒁=𝟏 11
𝒀 + 𝑿𝒀 𝑿𝒀
1 𝑮=𝑯 0
0 1
1 or 𝑯 = 𝑮 0
1 0
0 0 1 0
1 0 0 0
0 1 1 1
Ref. M. -C. Brunet 13
𝑿𝒀𝒁 + 𝑿𝒀𝒁
𝑿𝒀𝒁 + 𝒀
0 0 0 0
1 0 1 1
0 1 0 1
0 1 0 1
Ref. M. -C. Brunet 14
𝑲 = 𝟏?
𝑿𝒀𝒁 + 𝑿𝒀𝒁
𝑳 = 𝟏?
𝑿𝒀, 𝑿𝒀, 𝑿𝒀, 𝑿𝒀
Ref. M. -C. Brunet 00, 01, 10, 11 16
No No
Yes No
Yes Yes
Better?
Ref. M. -C. Brunet 18
1 1 1
0 1
𝑿
1 0
0 1
0 1
𝑿𝒀 0 1
0 1
1 0
𝑿+𝒀 1 1 1
1 0 1
0 1 1
0 0 0
Ref. M. -C. Brunet 19
20
𝑿𝒀 𝒁 + 𝒁 + 𝑿𝒀𝒁 distributive
𝑿𝒀 ∙ 𝟏 + 𝑿𝒀𝒁 complementary
𝑿𝒀 + 𝑿𝒀𝒁 identity
(slide 15)
2 5 2 much better
0
0
0
1
0
0
1
0
𝑰 = 𝑿𝒀𝒁 + 𝑿𝒀𝒁
Handout 12
Combinational Circuits
30
Ref. M. -C. Brunet 31
Ref. M. -C. Brunet 32
2
3
1310
2 10
1 1
0 0
3 11
Ref. M. -C. Brunet 33
1 1 1 1
13
7
10100 20
Carry Sum
FA ⋯ FA FA 0
1+0+1
= 210 = 102 0
carry sum
1 0 1 1 0 1
1 1 0 0
0 0 1
Ref. M. -C. Brunet 36
0 0
0 1
0 1
1 0
0 1
1 0 carry = 𝒂𝒃𝒄 + 𝒂𝒃𝒄 + 𝒂𝒃𝒄 + 𝒂𝒃𝒄
1 0
1 1 sum = 𝒂𝒃𝒄 + 𝒂𝒃𝒄 + 𝒂𝒃𝒄 + 𝒂𝒃𝒄
(Canonical SOPs)
424 combinations
WXYZ
W X Y Z
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
0 0 1 0 1 1 0 1 1 0 1
10 . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
1 0 0 0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 1 0 1 1
1 0 1 0 0 0 0 0 0 0 0
. . . . . . . . . . .
6 . . . . . . . . . . .
1 1 1 1 0 0 0 0 0 0 0
Ref. M. -C. Brunet 44
adder
A=3 B=5
A+B=8
A=1 B=1
A+B=2
blank
A=5 B=7
Ref. M. -C. Brunet A + B = 12 45
Ref. M. -C. Brunet Lê Chí Thông 46