MSI Logic Circuits7 Nguyen Thanh Hai, PhD Example 7.2: MSI Logic Circuits University of Technical Education Faculty of Electrical & Electronic Engineering 8... MSI Logic CircuitsUniversi
Trang 1MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
2
MSI Logic Circuits (Medium-Scale-Integration)
Trang 2MSI Logic Circuits
3
Nguyen Thanh Hai, PhD
7.1 Decoders
0 A
1 A
2 A
M 1 - N A
M
1 - M O
code input each for high is
output one Only Decoder
General decoder diagram
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
Trang 3MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
Disabled – all HIGH x
1 x
Disabled – all HIGH x
x 1
Respond to input code 1
0 0
Output
1
1 A 2
A
2
A A0
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
Trang 4MSI Logic Circuits
7
Nguyen Thanh Hai, PhD
Example 7.2:
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
8
Trang 5MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
9
Nguyen Thanh Hai, PhD
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
10
Example 7.3:
Trang 6MSI Logic Circuits
11
Nguyen Thanh Hai, PhD
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
12
7.2 BCD-To-Segment Decoder/Drivers
LED A
Trang 7MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
13
LED A
LED 7 – Segment (Anode)
1 1 1 1 1 1 1
0
g 0
f 0
e 0
d 0
c 0
b 0 a
LEDs ON OFF
7.2 BCD-To-Segment Decoder/Drivers
Nguyen Thanh Hai, PhD
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
14
74LS47
6 2 1 7
4 5 3
13 12 11 10 9 15 14
D C B A
BI/RBO RBI LT
a b c d e f g
LED A
LED 7 – Segment Decoder
7.2 BCD-To-Segment Decoder/Drivers
Trang 8MSI Logic Circuits
Nguyen Thanh Hai, PhD
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
16
74LS47
6 1
4 3
13 11 9 15
DB
BI/RBORBILT
acefg
Trang 9MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
MSI Logic Circuits
LED 7 – Segment Decoder
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 10MSI Logic Circuits
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 11MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 12MSI Logic Circuits
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 13MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 14MSI Logic Circuits
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 15MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 16MSI Logic Circuits
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 17MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
D B
BI/RBO RBI LT
a c e f g
LED A
74LS47
7.2 BCD-To-Segment Decoder/Drivers
Trang 18MSI Logic Circuits
35
LED 7 – Segment Decoder
Nguyen Thanh Hai, PhD
7.2 BCD-To-Segment Decoder/Drivers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
36
Example 7.4
7.2 BCD-To-Segment Decoder/Drivers
Trang 19MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
1 - M
1-N
code output Encoder
General encoder diagram
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
at HIGH one only
0
A A1 A2 A3 A4 A5 A6 A7
7.3 Encoders
Trang 20MSI Logic Circuits
39
Nguyen Thanh Hai, PhD
7.3 Encoders
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
40
7.3 Encoders
Trang 21MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
41
Nguyen Thanh Hai, PhD
Example 7.5
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
I
inputs DATA
Z
Output
inputs SELECT
MUX
output Z to
ed transmitt is
input which determines
code input SELECT
Trang 22MSI Logic Circuits
7.4 Multiplexers (Data Selectors)
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
44
A B
D0 D1 D2 D3
0 1 0 1
Trang 23MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
1
0
A D B A D B A D B A D B
Select Inputs Output
0 0 1 1
0 1 0 1
D 0
D 1
D 2
D 3
7.4 Multiplexers (Data Selectors)
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
46
IC 74151
A B C
D0 D1 D2 D3
Y
8-inputs data
3-inputs select
outputs
D4 D5 D6 D7
7 6
5 4
3 2
1 0
.
.
.
D A B C G D A B C G D A B C
+
+ +
+ +
=
7.4 Multiplexers (Data Selectors)
Trang 24MSI Logic Circuits
47
Nguyen Thanh Hai, PhD
Eight-input Multiplexers
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
1 0 0 0 1 1 1 0
Trang 25MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
49
Nguyen Thanh Hai, PhD
74HC151
7.4 Multiplexers (Data Selectors)
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
50
Datasheet
Example 7.6
Trang 26MSI Logic Circuits
51
Nguyen Thanh Hai, PhD
7.5 Demultiplexers (Data Distributions)
0 O 1 O
1 - N O
inputs
DATA
M
code input select
by determined as
outputs the of one only to
ed transmitt is
iutput DATA
inputs SELECT
M M
M
DEMUX
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
52
A B
D
DEMUX 1 into 4
Select inputs
Y0 Y1 Y2 Y3
Data input
D A B Y
D A B Y
D A B Y
D A B Y
.
.
.
.
2 1 0
Trang 27MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
7.5 Demultiplexers (Data Distributions)
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
V 5 +
Datasheet 7.5 Demultiplexers (Data Distributions)
Trang 28MSI Logic Circuits
B A
B A
I I
magnitude
bit
− 4
comparator
3
4 4
4 4
1
Outputs
O O
O A > B A < B A = B
4 4 4
4 4 4
6 Data inputs
Datasheet
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
56
B A B
A = ) = ⊕ (
B A B
A < ) = (
B A B
A > ) = (
7.6 Magnitude Comparator
Trang 29MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
57
Nguyen Thanh Hai, PhD
B A B
A = ) = ⊕ (
B A B
A < ) = (
B A B
A > ) = (
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
Trang 30MSI Logic Circuits
− 4
comparator
3
A A 2 A 1 A 0 B 3 B 2 B 1 B 0
4 4
4 4
1
Outputs
O O
O A > B A < B A = B
4 4 4
4 4 4
6 Low - order bits
85
74 HC magnitude bit
− 4
comparator
3
A A 2 A 1 A 0 B 3 B 2 B 1 B 0
4 4
4 4
1
Outputs comparison bit
8
-B A B A B
A O O
O > < =
4 4 4
4 4 4
6 High - order bits
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
60
Example 7.7: According to the above figure
Trang 31MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
61
Nguyen Thanh Hai, PhD
Example 7.7: According to the above figure
MSI Logic Circuits
University of Technical Education
Faculty of Electrical & Electronic Engineering
62
-Take a look Examples from pages
- Answer Review questions
- Homework
Trang 32MSI Logic Circuits
63
Nguyen Thanh Hai, PhD
The End