Professional Documents
Culture Documents
Digital Electronics: A Practical Approach With VHDL
Digital Electronics: A Practical Approach With VHDL
to accompany
DIGITAL ELECTRONICS
A Practical Approach with VHDL
Ninth Edition
William Kleitz
Boston Columbus Indianapolis New York San Francisco Upper Saddle River
Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto
Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo
Copyright 2012 Pearson Education, Inc., publishing as Prentice Hall, 1 Lake Street, Upper Saddle River,
New Jersey, 07458. All rights reserved. Manufactured in the United States of America. This publication is
protected by Copyright, and permission should be obtained from the publisher prior to any prohibited reproduction,
storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying,
recording, or likewise. To obtain permission(s) to use material from this work, please submit a written request to
Pearson Education, Inc., Permissions Department, 1 Lake Street, Upper Saddle River, New Jersey 07458.
Many of the designations by manufacturers and seller to distinguish their products are claimed as trademarks.
Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations
have been printed in initial caps or all caps.
10 9 8 7 6 5 4 3 2 1
ISBN13:
ISBN10: 0-13-216463-9
A01_KLEI7369_08_IRM_FM.qxd 6/25/11 8:43 AM Page 1
Chapter 1 1–7. (a) B916 (b) DC16 (c) 7416 (d) FB16
(e) C616
1–1. (a) 610 (b) 1110 (c) 910 (d) 710
(e) 1210 (f) 7510 (g) 5510 (h) 18110 1–8. (a) 1100 01012 (b) 1111 10102
(i) 16710 (j) 11810 (c) 1101 01102 (d) 1010 1001 01002
(e) 0110 00102
1–2. (a) 1011 10102 (b) 1101 01102
(c) 0001 10112 (d) 1111 10112 1–9. (a) 13410 (b) 24410 (c) 14610
(e) 1001 00102 (d) 17110 (e) 96510
1–3. (a) 318 (b) 358 (c) 1348 (d) 1318 1–10. (a) 7F16 (b) 4416 (c) 6B16 (d) 3D16
(e) 1558 (e) 1D16
1–4. (a) 100 1102 (b) 111 1002 (c) 110 0012 1–11. (a) 9810 (b) 6910 (c) 7410 (d) 3610
(d) 011 0102 (e) 101 1112 (e) 8110
1–5. (a) 2310 (b) 3110 (c) 1210 (d) 5810 1–12. (a) 1000 0111BCD (b) 0001 0100 0010BCD
(e) 4110 (c) 1001 0100BCD (d) 0110 0001BCD
(e) 0100 0100BCD
1–6. (a) 1768 (b) 618 (c) 1278 (d) 1368
(e) 1548
1–13. Decimal Binary Octal BCD Hexadecimal
(a) 35 0010 0011 043 0011 0101 23
(b) 41 0010 1001 051 0100 0001 29
(c) 43 0010 1011 053 0100 0011 2B
(d) 78 0100 1110 116 0111 1000 4E
(e) 58 0011 1010 072 0101 1000 3A
1–14. Decimal Binary Octal BCD Hexadecimal
(a) 68 0100 0100 104 0110 1000 44
(b) 98 0110 0010 142 1001 1000 62
(c) 87 0101 0111 127 1000 0111 57
(d) 52 0011 0100 064 0101 0010 34
(e) 45 0010 1101 055 0100 0101 2D
1
A01_KLEI7369_08_IRM_FM.qxd 6/28/11 11:07 AM Page 2
3–8. 3–12.
3–13.
Clock 1 2 3 4 5 6 7 8
Enable
3–14. Four
3–15.
3–9. Clock VCC 14 + Power
1
OSC
– supply
A
Enable
B signal
C
Receive
device
X
7 GND 8
7432
A
3–16. Four
B
3–17. Two
C
3–18. HIGH, LOW, and FLOAT
X 3–19. To provide pulses to a digital circuit for
troubleshooting purposes.
3–10. 3–20. LOW, to enable the output to change with
pulser (if gate is good).
3–21. HIGH, to enable the output to change with
pulser (if gate is good).
3–22. Pin 3 should be flashing; the AND gate is bad.
3–23. Pin 2 should be ON; the Enable switch is
bad, or bad Enable connection.
3–24. Pin 3 should be flashing and pin 7 should
be OFF. There is a bad ground connection
to pin 7.
3–25. X = A, X = 0
3–11. 3–26. X = A, Z = A, X = 1, Z = 0
A 3–27.
B
A
X
X
Z
A
B
0 0 1 0 0 1
B
0 1 1 0 1 1
1 0 1 1 0 1 C
1 1 0 1 1 0
3–29. W = 1 X
X = 1
Y = 1
Z = 0 D
3–30.
E
F
Y
3–36.
3–31. W = 1
X = 0
Y = 0
Z = 0
3–32.
3–37.
1 7
U
V #8
#1
W HIGH
X LOW
3–33. It disables the other two inputs when it is 4 6
DOWN for the NAND and UP for the NOR. Y
3–34. X = A + B + C Y = D + E + F #6 #7 #8
Z
A B C X D E F Y
3–38. (a) AC (b) CD (c) ACD (d) CP A B
0 0 0 1 0 0 0 1 (e) AC (f) CP AB
0 0 1 0 0 0 1 0
0 1 0 0 0 1 0 0 3–39. U = CP AB W = BC
0 1 1 0 0 1 1 0 V = CD X = CP CD
1 0 0 0 1 0 0 0 3–40.
1 0 1 0 1 0 1 0
1 1 0 0 1 1 0 0
1 1 1 0 1 1 1 0
4–4. (1) Define the problem, (2) develop the 4–20. (a) Library declares which VHDL library
equations, (3) enter the design, (4) simulate to use.
the I/O conditions, (5) program the PLD, (b) Entity defines the input/output ports.
(6) test the PLD with actual I/O.
(c) Architecture defines the logic expressions.
4–5. (a) 3, (b) 5
4–21. ENTITY and3 IS
4–6. A small indented circle PORT(
4–7. They receive programming information from A, B, C: IN bit;
a PC and program the on-board FPGA that
X :OUT bit);
can then be tested with actual I/O signals.
END and3;
4–8. (a) 3
4–22. ARCHITECTURE arc OF and3 IS
(b) 2
BEGIN
(c) 3
X6 =1A AND B AND C2;
4–9. The PLA provides programmable OR gates
END arc;
for combining the product terms.
4–23.
4–10.
(a) A
X
B
C
(b)
A
B Y
(c)
B
4–11. So that it won’t lose its programmed logic
design when power is removed. C Z
4–12. (a) 2500 usable gates, 128 macrocells
A
(b) 2400 usable gates, 108 macrocells
4–13. The look-up table method Chapter 5
4–14. Inputs Output 5–1. W = 1A + B21C + D2
A B X X = AB + BC
0 0 1 Y = 1AB + B2C
0 1 0 Z = 1AB + B + 1B + C22D
1 0 1
1 1 0 5–2. (a) R = CPF
4–15. They must be re-programmed. (b) G = CP1M + F2
4–16. Schematic entry using a CAD system and (c) B = F1H + C + P2
VHDL entry using a text editor. 5–3.
4–17. It translates the information from the design (a) A
entry stage into a binary file that is later B
M
used to program the CPLD. C
4–18. It defines the IC pin as an input or output D
and connects it to the internal CPLD (b) A
circuitry. B
4–19. Text C
N
D
(c) 5–4.
A
P
B
C
(d) A
B
Q
C
D
(e) A
B
R
C
D
5–5. (a) Commutative law (b) Associative law
(f) A
(c) Distributive law
5–6. M = O S = 0
B N = 1 T = A
C P = AB U = 1
S
Q = C + D V = A
D
R = A W = A
A B C D M N Q R S 5–7.
0 0 0 0 0 0 0 0 0 W = 1A + B2BC A NC
B
0 0 0 1 1 0 0 1 1 W = BC C
W
X = 1A + B21B + C2
0 0 1 0 1 0 0 0 0 A
0 0 1 1 1 1 0 1 1 C
X = B + AC X
0 1 0 0 0 0 0 0 0 B
Y = A + 1A + B2BC
0 1 0 1 1 1 0 1 1 A
0 1 1 0 1 0 0 1 1 B Y
Y = A + BC
0 1 1 1 1 1 1 1 1 C
1 0 0 0 0 0 0 0 0 Z = AB + B + BC A NC
1 0 0 1 1 1 0 1 1 Z = B B Z
1 0 1 0 1 0 0 0 1 C NC
1 0 1 1 1 1 0 1 1
1 1 0 0 1 0 0 0 1 5–8.
1 1 0 1 1 1 0 1 1 X = 1A + B21B + C2 + B + C
1 1 1 0 1 0 0 1 1 X = B + C
1 1 1 1 1 1 1 1 1 Y = 1A + B21B + C2A
A B C P Y = A1B + C2
0 0 0 0
0 0 1 0 Z = AB + AB1B + C2
0 1 0 0 Z = AB
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
5–9. A B C D X Z C D W
A 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1 0
C V 0 0 1 0 0 0 1 0 0
0 0 1 1 1 1 1 1 1
D A 0 1 0 0 0 0
D
0 1 0 1 0 0
V
C 0 1 1 0 1 0
V = C(A+D) 0 1 1 1 1 1
1 0 0 0 0 0
B
1 0 0 1 1 0
1 0 1 0 0 0
C 1 0 1 1 1 1
D
W 1 1 0 0 1 0
B NC 1 1 0 1 1 0
C
D W 1 1 1 0 1 1
1 1 1 1 1 1
W = CD
A 5–11. X = 1A + B21D + C2
B
5–12. Y = B1AC + D2
C X
D
A
C
X
B
D
X = (A+C)(B+D)
A
A
C
B
Y
Y
B 5–13. Break the long bar and change the AND to
C
Y = (A+C)B an OR, or the OR to an AND.
A 5–14. (a) NAND (b) NOR
A
B 5–15. Y and Z are both ORs.
B
C C Z
D
Z 5–16. A + B = A B = AB
D
E
5–17.
NC
E B
Z = ABC + CD A
A W W = A+B
B
5–10. C NC
C
A C D V A B C Y A
B
0 0 0 0 0 0 0 0 B
X X = B+C
0 0 1 0 0 0 1 0 C
C A NC
0 1 0 0 0 1 0 0
0 1 1 1 0 1 1 1 A NC
1 0 0 0 1 0 0 0 A B NC
Y
1 0 1 0 1 0 1 0 B
C C Y=C
1 1 0 1 1 1 0 1
1 1 1 1 1 1 1 1
A
A
B Z B Z = ABC
C
C
C X
A
B
C
5–25.
D (23) A
Y ABCD>11
(22) B
Y = DA+DB+DC+AB+AC+BC (21) C NC
(20) D NC
A
5–26.
B
D
C
Y
5–27.
A B C W X A B C D Y Z
0 0 0 0 1 0 0 0 0 1 1
0 0 1 1 1 0 0 0 1 1 1
A
0 1 0 1 1 0 0 1 0 1 1
C Z
0 1 1 1 0 0 0 1 1 0 1
D
1 0 0 1 0 0 1 0 0 0 0
C
A Z 1 0 1 1 1 0 1 0 1 1 0
D 1 1 0 0 1 0 1 1 0 1 1
Z = C+AD 1 1 1 0 0 0 1 1 1 1 1
1A + B2 + BC + BCD
1 0 0 0 0 1
5–20. (a) X = 1 0 0 1 1 1
X = ABC + BD + CD 1 0 1 0 0 1
(b) Y = AB + ABC – 1B + C2 1 0 1 1 0 0
Y = 1 1 1 0 0 0 0
1 1 0 1 1 0
1 1 1 0 0 1
1 1 1 1 1 0
5–28. (b)
A
X
B
CANCEL
C
(c)
A
B X
5–29. 5–34.
(a)
(b)
(c)
(d)
5–30.
5–31.
(a) X=A
A
(b) X=A
A
5–32.
5–33.
(a)
5–35. u. SOP x. SOP
A v. POS y. POS
B X w. POS z. POS, SOP
C
E5–12. (a) 11
X = ACD + BCD where A = MSB
(b) X = A¿B¿ + A¿D¿ + B¿D¿ + BC
5–42. Pin 6 should be ON; bad gate.
5–43. The IC checks out OK. The problem is that
pin 9 should be connected to pin 10 (not 9 to
GND).
(c)
E5–16. B
X ex-OR
Y ex-NOR
X B
B
6–11.
24 23 22 21 20 23 22 21 20 24
VCC
EVEN
GND
7486
EVEN
7–25. 7–32.
A 7 B 7 A 6 B 6 A 5 B 5 A 4 B4 A3 B3 A2 B2 A1 B1 A0 B0
A 4 B 4 A 3 B 3 A 2 B 2 A 1 B1 A4 B4 A3 B3 A2 B2 A1 B1
Cout 4008 Cin Cout 4008 Cin
Σ4 Σ3 Σ2 Σ1 Σ4 Σ3 Σ2 Σ1
Σ7 Σ6 Σ5 Σ4 Σ3 Σ2 Σ1 Σ0
A15 B15 A14 B14 A13 B13 A12 B12 A11 B11 A10 B10 A9 B9 A8 B8
A4 B 4 A3 B 3 A 2 B 2 A 1 B1 A4 B4 A3 B3 A2 B2 A1 B1
Cout Cout
E7–1. (a) 3 inputs, 2 outputs
4008 Cin 4008 Cin
(b) Full adder truth table
Σ4 Σ3 Σ2 Σ1 Σ4 Σ3 Σ2 Σ1
(c) The number of HIGH inputs is odd. The
Σ 16 Σ 15 Σ14 Σ13 Σ12 Σ11 Σ10 Σ9 Σ8 number of HIGH inputs is 2 or more.
E7–2. (a) Ground it
7–26. Reverse the switch (up to add, down to
(b) 0111 + 0110 = 1101
subtract). Also, put an inverter on input line
to Cin of the LSB. E7–3. (a) 0011 1011
(b) 0111 0000
7–27. The Ex-OR gate third from right is bad.
Also, the full-adder fourth from right is bad. E7–4. (a) 0 0111 110111 = ON2
(b) 1 0001 1001 11 = ON2
7–28. The B inputs should be B3 = 0, B2 = 0,
B1 = 1, B0 = 0. Also, the function-select E7–5. (a) 1 0011 11 = ON2
inputs should be S3 = 1, S2 = 0, S1 = 0, (b) 1 011111 = ON2
S0 = 1.
7–29. S3 - S0 = 0100. Chapter 8
(a) 1110 (b) 0001 8–1. (a) See top numbers.
7–30. (b) See lower numbers.
A7B7 A6B6 A5B5 A4B4 A3B3 A2B2 A1B1 A0B0
1 1 1 1 0 0 1 1 1 1 0 0 0 0 1 1
1 0 1 0 0 1 1 1 1 0 0 0 0 1 1 1
01 0 1 0 1 00 01 0 0 01 0 0
7–31.
1 0 OUT = 1 if A = B
A3 0 A3 A7 1 A3
1 0 0 1
A2 1 A2 A6 0 A2
A1 0 A1 A5 1 A1
1 0 1 1
A0 1 A0 A4 1 A0
Low-order High-order
inputs B3 0 B3 A< B 0 inputs B7 1 B3 A< B 1
0 1 1 1
B2 0 B2 B6 1 B2 8-Bit
1 0
B1 1
1 B1 7485 A= B 0 0 B5 0
1 B1 7485 A= B 0 0 comparison
B0 1 B0 B4 0 B0 outputs
1 1
A> B 1 0 A> B 0 0
0 IA < B IA < B Used as tie
There is no breaker if
lower-order 1 IA = B IA = B high-order
tie breaker. inputs are
0 IA > B IA > B equal
8–17.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1
1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
I 0 I1 I2 I3 I4 I5 I6 I7 EI I 0 I1 I2 I3 I4 I5 I6 I7 EI
74148 74148
EO A0 A1 A2 GS EO A0 A1 A2 GS
1 1 1 1 1 1 0 0
1 0 0 0 1 1 1 1
NC NC
8–13. (a) A3 A2 A1 A0 = 1100
(b) A3 A2 A1 A0 = 1011
(c) A3 A2 A1 A0 = 1111
8–14. (a) E0 A0 A1 A2 GS = 11000
(b) E0 A0 A1 A2 GS = 10000 1 1 0 0
1 0 0 1
(c) E0 A0 A1 A2 GS = 11111
0 1 2 3
2 2 2 2
8–15.
t0 t1 t2 t3 t4 t5 t6 8–18. See #17 (lower numbers).
8–19. (a) 3210 = 0011 0010BCD = 1000002
EI (b) 4610 = 0100 0110BCD = 1011102
(c) 5510 = 0101 0101BCD = 1101112
I3
(d) 6810 = 0110 1000BCD = 10001002
I4 8–20.
A0
A1
A2
EO
GS
To E2
To E3
Y0
Y1
Y2 Data out
Y3 8–29. (a) The 74150 is not working. The data
8–26. select is set for input D7, which is 0.
Therefore, Y should be 1 but it is not.
(b) The 74151 is OK. The data select is set
for input I0, which is 1. Y should equal 1
and Y = 0, which they do.
(c) The 74139 has two bad decoders.
Decoder A is enabled and should output
1011 but does not. Decoder B is disabled
and should output 1111 but does not.
(d) The 74154 is OK. The chip is disabled,
so all outputs should be HIGH, which they
are.
8–30. (a) 3000H 0011 ()* 0000 0000 0000
8–27. (a) E1 A0 A1 A2 A3 = 01110
Bank 3
(b) E1 A0 A1 A2 A3 = 01011 (b) 6000H 0110 ()* 0000 0000 0000
8–28. Bank 6
(c) 507CH 0101 ()* 0000 0111 1100
Bank 5
(d) 8001H = 1000 0000 0000 0001
:
Read DT7
()* 2 82H
(b) 1A = B2 = 0 1A 7 B2 = 1 1A 6 B2 = 0
(c) 0000 0010
:
(c) 1A = B2 = 0 1A 7 B2 = 0 1A 6 B2 = 1
Write DT2
(d) Impossible. The ¿238 demux can have
only one active output. E8–3.
8–34. 3.5 V (Y6 input) 0 A3
1 A2
8–35. 0 = 0, 1 = 1, 2 = 1, 3 = 1 0 A1
1 A0
8–36. U8
A=B Buzzer
8–37. The D input of U1:B D3 B3
D2 B2
8–38. AS = 0, AD13 = 1, AD14 = 1, D1 B1
AD15 = 1 D0 B0
8–39. LCD_SL KEY_SL 0 A<B
1 A=B
AD3 0 1 0 A>B
AD4 0 0
AD5 0 0 E8–4. (a) Up
AD11 1 1 (b) all HIGH (ON) except 5
AD12 1 1 (c) all HIGH (ON)
AD13 0 0 E8–5. (a) All HIGH
AD14 0 0 (b) All outputs HIGH when G1 = LOW
AD15 0 0 (c) The 8 (1000) is used to make the top
AS 0 0 Logic Analyzer trace HIGH.
8–40. ICS5 ICS18 (d) Put an 8 in the MS hex digit whenever a
2 0 1 7 is in the LS digit.
5 0 0
6 1 0
9 0 x (don’t care)
12 0 1
E8–7. Chapter 9
2^0
9–1. D1 and D2 provide some protection against
0 negative input voltages.
1 A
2
5 V - 0.7
3 B 2^1 9–2. IE = = 1.075 mA
4
4K
5 74147 9–3. From Figure 9–2(a) there is L 0.2 V
C
6 dropped across the 1.6 k, 0.7 V across
7 2^2
8 D VBE3, and 0.7 V across D3, leaving L3.4 V
9 at the output terminal.
2^3
9–4. (a) A LOW, B LOW, Q3 ON,
E8–8. Q4 OFF
(b) A HIGH, B HIGH, Q3 OFF,
Q4 ON
9–5. Negative sign signifies current leaving the
input or output of the gate.
9–6. Sink current is higher.
9–7a. [STD]
(a) Va = VOH = 3.4 V1TYP2
Ia = 3 * IIH = 120 mA
(b) Va = 5 V - IIH * 10K = 4.6 V
VOL
@VIN = LOW, Ia = = 20 mA (typ)
10K
@VIN = HIGH, Ia = VOH>10K
= 340 mA (typ)
(c) Va = VOL = 0.2 V 1typ2
Ia = 2 * IIL = 3.2 mA
(d) Va = VOH = 3.4 V 1typ2
Ia = IIH + 3.4 V>10K = 380 mA
9–10.
(b)
HIGH = 1.4 V HIGH = 0.7 V noise
r
LOW = 0.9 V LOW = 0.4 V margins
(c) 74HCMOS-to-74ALSTTL will work,
but 74ALSTTL-to-74HCMOS will not work
because ALS may output 2.7 V when HC
expects at least 3.5 V (HIGH).
9–25. Interfacing (c) and (e) will require a pull-up
resistor to “pull up” the TTL HIGH-level
9–11. 7400: PD = 5 V * 18 mA + 22 mA2>2 =
output to meet the minimum HIGH-level
input specifications of the CMOS gates.
75 mW1max2 74LS00: PD = 5 V *
11.6 mA + 4.4 mA2>2 = 15 mW1max2 9–26. No trouble with current ratings.
9–12. 7400: VOL = 0.2 V1typ2 9–27. (a) 10 (b) 400
74LS00: VOL = 0.35 V1typ2 9–28.
9–13. (a) 7400: HIGH state (min levels) ⫽ 0.4 V
LOW state (max levels) ⫽ 0.4 V
74LS00: HIGH state (min levels) ⫽ 0.7 V
LOW state (max levels) ⫽ 0.3 V
(b) The 74LS00 has a wider margin for the
HIGH state. The 7400 has a wider
margin for the LOW state.
9–29. 10–3.
G
S
R
9–30.
Q
10–4.
E9–1. (a) HIGH
(b) ON, OFF
(c) OFF, ON
E9–2. (a) tplh = 11nS, tphl = 10nS
(b) tplh = 51nS, tphl = 50nS
E9–3. (a) 12nS, 12nS
(b) 6.3nS, 11nS 10–5.
E9–4. (a) Voh = 4.025V, Vol = 23mV D
Q
(b) Voh = 0V, Vol = 23mV
(c) 10K pull-up resistor G
C9–1. (a) 4 to 24 mA (b) 2 to 8 mA Q
C9–2. (a) 1.15 V, 1.25 V (b) 2.375 V, 2.625 V
(c) 0.066 A, 1.3 mA (d) 25 k-ohms 10–6. Two; a good NOR and a quad AND
C9–3. (a) 1.7 V, 0.7 V, 2.0 V, 0.4 V 10–7.
(b) 1.17 V, 0.630 V, 1.35 V, 0.45 V GD
+5 V +5 V
Chapter 10 1 VCC 14 1 VCC 14
10–1. Q
1 VCC 14 +5 V
S R Q
7 GND 8 7 GND 8
Q 10–8.
GND Q
10–2.
10–9.
G
10–10. 10–21.
1 VCC 14 +5 V
CP
10–11.
E
Q 7 GND 8 CP′
Cp
10–23. The toggle mode
SD
10–24. SD and RD, active-LOW
RD
10–25. The 7476 accepts J and K data during the
entire positive level of CP, whereas the
D 74LS76 only looks at J and K at the negative
Q
edge of CP.
10–26.
10–16.
10–32. Sd′
Rd′
E10–6. 11–4. ta = 16 ns td = 25 ns
tb = 28 ns te = 16 ns
tc = 16 ns tf = 28 ns
11–5. Proper circuit operation depends on
tp of the 7432 being Ú10 ns. The
worst-case tp is specified as 15 ns but the
actual tp may be less. If it’s actually less than
10 ns, the circuit won’t operate properly.
E10–7. (a) J = 0, K = 1, pulse Cp¿ 11–6.
LOW then HIGH
(b) J = 1, K = 0, pulse Cp¿
LOW then HIGH
(c) Q toggles each time Cp¿ goes LOW.
(d) Q stuck HIGH
(e) Set: Pulse S LOW then HIGH; Reset:
Pulse R LOW then HIGH
E10–8. 11–7.
RD
35 ns
CLOCK
J, K
25 ns
CpD
E10–9. 11–8.
Cp′
Sd′
Rd′
Q
Chapter 11
11–1.
RD
Cp
Q
11–9.
11–2.
3.6 V
Vout
0.2 V
11–3. ta = 20 ns td = 30 ns 0.7 V 1.9 V
Vin
tb = 30 ns te = 20 ns
tc = 20 ns tf = 30 ns
11–10. 11–16.
11–17. LIGHT:
1K
VA = 5 V * = 0.0495 V
11–11. 100K + 1K
2.4 V
DARK:
1.7 V 1M
Vin 0.9 V VA = 5 V * = 4.55 V
0.4 V
100K + 1M
0 11–18. For the dark condition, VA should be HIGH.
3.4 V
IIH for the 7414 is 40 mA. This input current
Vout causes the 100-kÆ resistor to drop 4.0 V.
This only leaves 1.0 V at point A, which is
0.2 V below the VT + value of 1.7 V for the 7414.
Therefore, the output of the second inverter
tHI = 1.8 volts change will never go HIGH.
tLOW = 2.2 volts change
DC = 45% 11–19. The 7474 can sink 16 mA. Connect the posi-
tive lead of the buzzer to +5 V and the nega-
11–12.
tive lead to Q. When Q is HIGH, the buzzer
is energized via the LOW Q output.
1K
11–20. VOUT1ON2 = 25 V * = 1.09 V
1K + 22K
1M
VOUT1OFF2 = 25 V * = 24.5 V
1M + 22K
24 V
11–21. Icoil = = 240 mA
100 Æ + 0.2 Æ
11–13. It is caused by switch bounce. If the switch 11–22. (a) The data on D of U14:B must be stable
bounces an even number of times, the LED one setup time prior to the LOW to HIGH
will be off. A debounce circuit would correct transition of CLK. Therefore the propaga-
the problem. tion delay of U15:A must exceed the setup
11–14. IIL for the CP of a 7476 is -3.2 mA, which time of U14:B.
would cause the voltage across a 10-kÆ (b) In this situation there will be no timing
resistor to be 32 V! The voltage across a problems because D of U14:B is stable prior
100-Æ resistor would be 0.32 V, which is to the LOW to HIGH edge of CLK.
OK as a LOW. The 10 kÆ would work with
a 74HCT76 because its IIL is only -1 mA.
11–15. Check the output of the 7805 for +5 V dc.
Check the fuse. If the fuse is OK, you
should check for approximately 12.6 V ac at
the transformer secondary, 20 V dc at the
+> - output of the diode bridge and the
input to the 7805.
11–23. 11–26.
0V
1.3V 1.6V
E11–2. (a) Vt+ = 1.6 V, Vt- = 1.2 V,
Voh = 5 V, Vol = 0 V
(b) Yes
0V
0.83 V 1.3 V
Chapter 12
12–1. Sequential circuits follow a predetermined
sequence of digital states triggered by a
timing pulse or clock. Combination logic
circuits operate almost instantaneously
based on the levels placed at their inputs.
12–2.
0 1 2 3 4 5 6
Cp
RD
12–3. 12–9.
Cp 0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 8 9
Cp
RD 20
A 21
22
D
12–10.
Q
12–5. 20
Cp 0 1 2 3 4 5 6 7 8 9
21
RD
22
A
12–16. Down counter, mod-8
J 12–17.
1 20 1 21 1 22
K
1 J SD Q 1 J SD Q 1 J SD Q
Q Cp0
Q 1 K RD 1 K RD 1 K RD
12–18. 12–22.
12–19.
1 20 1 21 1 22 1 23
Cp0
12–23.
+5 V
MOD - 11 to RD
UP
10 kΩ
+5 V 21
100 Ω 22
1 1 12–28.
MOD - 5
DOWN
+5 V
100 Ω
12–29. 12–36. All F-Fs are driven from the same clock in
synchronous counters. This eliminates the
60pps 7492 10 pps 7490 1 pps 7492 10 ppm 7490 1 ppm
Input ÷6 ÷10 (60 ÷6 ÷10 problem of accumulated propagation delay
ppm) (60 pph) that occurs with ripple counters.
12–37.
7492 10 pph 7490 1 pph 7492 2 ppd 7490 1ppd
÷6 ÷10 (24 ÷12 ÷2 Output
CP 0 1 2 3 4 5 6 7 8 9
ppd)
12–30. 20
21
22
12–38. DC = 20%
12–39.
CPU
0 1 2 3 4
CPD
0 1 2 3 4
12–31.
PL
NC 20 21 22 TCU
TCD
100 Hz Cp1 Q0 Q1 Q2 Q3
Q0
7493 +5 V
NC Cp0 MR1 MR2 330 Ω Q1
Q2
1 = 100 Hz Q3
10 ms 5 6 7 8 9 0 5 4 3 2 1 0 9
12–32. 12–40.
Q1
E12–1. (a) 2^0
(b) 0123456789ABCDEF
Q2
E12–2. It only counts even numbers. Bad seven seg-
Q3 ment display
13 14 15 11 12 13 14 15 11 12 13
E12–3. Doesn’t count past 7. Bad MS flip-flop
12–42. E12–4. (a) Negative
(b) 2^0
(c) Mod-16
E12–5. (a) Mod-10
(b) Connect NAND inputs to 2^3 and 2^2
(c) 2^2
E12–6. (a) Mod-16
(b) Connect 2^3 2^2 to RO1 RO2
(c) Connect 2^3 2^2 to an AND then to
RO1 and connect 2^0 to RO2.
E12–7. (a) Build a circuit similar to Figure 12–35.
(b) Use a third 7490 as div-by-10 with
12–43. (a) HIGH order U10, LOW order U9
10 pps driving its Cp0¿ (The output of
(b) no (c) by a LOW at the output of U3:B
that 7490 is 1pps.) Make the input to
12–44. your 00 to 99 counter switch between
those two clock speeds.
(c) Place an AND gate before the first Cp¿
input. Disable it with a NAND gate that
outputs a LOW when 23 is reached.
E12–8. Build a circuit similar to Figure 12–31.
E12–9.
MR
PL
Cpu
Cpd
Qa
Qb
Qc
Qd
Tcd'
Tcu'
2 1 0 9 8 7 8 9 0 1 2
Chapter 13 13–16.
13–1. Right, negative
13–2. 0010, 0000
13–3. 1110, 1111
13–4. 1001, 0110
13–5. Apply a LOW pulse to RD to RESET all Q
outputs to zero. Next, apply a LOW pulse to
the active-LOW D3, D1, D0 inputs.
13–6. D3, D2, D1, D0 are the data input lines, and
Q0 is the data output line (LSB first). 13–17. Put a switch in series with the phototransis-
13–7. J3, K3 are the data input lines. Q3, Q2, Q1, Q0 tor’s collector. With the switch open, the in-
are the data output lines. (D3, D2, D1, D0 are put to inverter 1 will be HIGH, simulating
held HIGH.) nighttime conditions, causing the yellow
13–8. Connect Q0 to K3 and Q0 to J3. Connect D3, light to flash, day or night.
D2, D1, D0 HIGH, and apply a LOW pulse to 13–18.
RD before applying the clock input.
13–9. Three
13–10. Five
13–11. The Q0 flip-flop and the Q3 flip-flop
13–12.
Cp 0 1 2 3 4 5 6
Q2
13–13.
Cp 0 1 2 3 4 5 6
Q2
13–14. 13–19.
Cp 0 1 2 3 4 5 6 7 8 9
MR
S0
S1
Q0
Q1
13–15.
Q2
Q0 Q0 Q2
X X Z
Q1 Q2 Q3 Q3
S S P S MS S H P S S
Mode L L L L RR R O L R R
L
D
13–20. 13–22.
13–21.
Cp 0 1 2 3 4 5 6 7 8 9
S0
13–23.
S1 Parallel input data
PL
0 1 1 0 1 0 0 1
DSR
PL D 0 D1 D2 D3 D4 D5 D 6 D 7
DSL DS
Clock Cp NC
CP 74165
Oscillator
CE CE
Q7 Q7
Q0
Q1 Serial
output data
Q2
Q3 Cp 0 1 2 3 4 5 6 7 8 9
S S S S P H S S S S
Mode L L L L L O R R R R
L PL
D
CE
Q7
MSB LSB
13–26. Data are parallel loaded asynchronously 13–31. A buffer is a transparent device that con-
with the 74165 by applying a LOW to PL. nects two digital circuits; a latch is a storage
Data are parallel loaded synchronously with device that can hold data. A buffer allows
the 74166 at the positive edge of CP while data to flow in only one direction; a trans-
PE is held LOW. ceiver is bidirectional.
13–27. 13–32. Several devices must be connected to the
Serial in same bus, but only one device can be active
LSB 1st at a time or else there will be a bus conflict.
DSR D0 D1 D2 D3 DSL DSR D0 D1 D2 D3 DSL
13–33. (a) U4, U12
S0 S0 S0 S0 (b) U5, U30, U31, U32, U36, U37, U38
S1 S1 NC
74194 S1 S1 NC
74194 (c) U3, U6
CP CP CP CP
MR Q0 Q1 Q2 Q3 MR Q0 Q1 Q2 Q3 (d) U11, U33
13–34. The 74HC245 is an octal transceiver. To
1 1
transfer data from D0–D7 to COMMD0–
Serial out OE COMMD7, the /COMM line (pin 19) must
MSB 1st
be LOW, AND the /RD line (pin 1) must be
CP 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 HIGH. To send data in the other direction
S0
SHIFT RIGHT SHIFT LEFT change /RD to a LOW.
S1
13–35. To load IA0–IA7 of U30, valid data must be
SERIAL
IN
0 0 1 0 1 1 0 1 DONT CARE placed on BD0–BD7 by U33, then a LOW
OE to HIGH pulse must be applied to the CLK
SERIAL
OUT
FLOAT 1 0 1 1 0 1 0 0
input of U30. When pin 3 of U13:A is LOW,
a HIGH will appear at LE of U33. This al-
13–28. At 15° per step, the number of steps per rev- lows the valid data at D0–D7 to pass through
olution is 360°>15° = 24. to BD0–BD7. Next, pin 3 of U13:A goes
13–29. HIGH, making LE LOW, which causes the
data outputs of U33 to remain latched. The
Cp 1 2 3 4 5 6 HIGH at pin 3 of U13:A also enables the
S0 decoder U23. Just before pin 3 went HIGH
S1 A0-A1-A2 are set to 1-0-1 to provide an
active output at /IOADDR. This is the clock
input for U30, which passes the valid data at
Q0 BD0–BD7 of U30 out to IA0–IA7. To load
ID0–ID7 of U32 the same process is fol-
Q1 lowed except A0-A1-A2 are made 0-1-1
before pin 3 of U13:A is made HIGH.
Q2 E13–1. (a) 3
(b) R, S, C, S, C, S, C, S
Q3
E13–2. (a) 3
(b) Q^1
360°>revolution
13–30. = 24 steps>rev. E13–3. (a) 2 ms
15°>step (b)
24 steps 600 rev 14,400 steps
* = Q^0
rev min min
14,400 steps 1 min 240 steps
* = Q^1
min 60 sec sec
240 steps 1 clock pulse 240 pulses Q^2
* =
sec step sec
240 pulses Q^3
= 240 Hz
sec E13–4. (a) Cross-connect the recirculating lines
from the Qs of the last FF.
(b) 8 ms
E13–5. M 0100 1101, Reset 74164. Then 14–8. (a) Frequency increases
Set S 1, press C; Set S 0, press C; (b) The voltage levels, VOH and VOL, remain
Set S 1, press C; Set S 1, press C; the same.
Set S 0, press C; Set S 0, press C; 14–9.
Set S 1, press C; Set S 0, press C.
E13–6. Parallel load 1S0 S1 = 112 ABCD = 1101.
3.3 V
VC
2.0 V
Apply a pulse to Cp (Clk).
Shift right 1S0 S1 = 102. Apply four pulses 0V
to Cp (Clk). 6V
Vout
Chapter 14
0V
14–1. (a) Monostable (b) Bistable (c) Astable
14–2. (a) ¢v = 5 V11 - e-50 ms>1100 kÆ * 470 pF22
to solve for tHI:
¢v = 3.3v - 2.0v = 1.3v
¢v = 3.27 V
(b) ¢v = 5 V11 - e-100 ms>1100 kÆ * 470 pF22
E = 6.0 - 2.0 = 4.0v
¢v = 4.40 V 1
P 1 - 4.0 Q
tHI = 68K.0047m Ln
(c) ¢v = 5 V11 - e-150 ms>1100 kÆ * 470 pF22 1.3
¢v = 4.79 V
(d) tHI = 126 ms
to solve for tLO:
¢v = 3.3v - 2.0v = 1.3 V
E = 3.3v - 0v = 3.3v
1
P 1 - 3.3 Q
tLO = 68K * .0047m Ln
1.3
tLO = 160 ms
126 ms
DC = = 44.1%
1 126 ms + 160 ms
P1 - Q
14–3. t = 100 kÆ * 470 pF Ln
4V f = 1>1126 ms + 160 ms2 = 3.5 kHz
5V 14–10.
t = 75.6 ms
1
P1 - Q
14–4. t = 100 kÆ * 470 pF Ln
4 - 2
5 - 2
t = 51.6 ms
1
P1 - Q
14–5. t = 100 kÆ * 470 pF Ln
4 - 2 74HC00: VIH = 3.5v, VIL = 1.0v,
4 - 0 VOH = 5v, VOL = 0 V
t = 32.6 ms ¢v = 3.5 V - 0 = 3.5v E = 5 - 0 = 5v
14–6. Because in problem 4 the capacitor had to 1
P1 - E Q
tw = RC Ln
travel two-thirds of the total distance it was ¢v
trying to, whereas in problem 5 it had to
travel only one-half of the total. 1
P1 - 5 Q
14–7. Because a Schmitt device has two distinct 50 ms = RC Ln
3.5
switching thresholds, VT+ and VT-; a regular
Inverter does not. The capacitor voltage
RC = 41.5 ms, Pick C = 0.0047mF
charges and discharges between those two
R = 41.5 ms>0.0047mf = 8.84 kÆ
levels.
VCC A1
B
Rx 7.21 kΩ
Cx = 0.001 μF
Q1
Vout Q2
T
tw1 = 5.78k * 50 pf ln 2 = 0.20ms
Vin tw2 = 0.20ms1from Fig. 14–172
74121
14–16. tLO = .693 RBC
tw = RxCx ln 2 = .693 – 4.7 k – 1000p
5 ms = RxCx1.6932 = 3.26 ms
RxCx = 7.21 ms, Pick C = 0.001 mF tHI = .6931RA + RB2C
Rx = 7.21 ms>0.001 mF = 7.21 kÆ = .693 16.8k + 4.7k2 1000p
14–12. The first 74121 will generate a 30 ms delay = 7.97ms
pulse to trigger the second 74121 which will
generate the 10 ms output pulse.
14–17. @0 Æ
1
f = = 89.0 kHz
tLO + tHI
tHI
DC = = 71.0%
tHI + tLO
14–13. Choose an output pulse width that’s longer @10 kÆ
than 150 ms, let’s say 170 ms. That way, if a
tLO = .693 – 14.7k – 1000p = 10.2ms
tHI = .693 – 16.8k + 14.7k2 – 1000p
pulse is missing after 170 ms (the o.s. is not
re-triggered), the output will go LOW.
VCC = 14.9ms
1
Rx 12.9 kΩ
f = = 39.8 kHz
tLO + tHI
Cx = 0.047 μF
tHI
DC = = 59.4%
tHI + tLO
Output
NPRO tHI
T 14–18. DC =
1 tHI + tLO
1 .6931RA + RB2C
.6931RA + RB2C + .693 RBC
74123 DC =
1
F =
tHI + tLO
1
.6931RA + RB2C + .693RBC
F =
1
.693 – C[1RA + RB2 + RB]
F = (b) tw = RxCx ln 2 Pick Cx = .001 mF
5 ms = Rx1.001 m21.6932
1.44 Rx = 7.21 kÆ
1RA + 2RB2C
F =
1
14–19. tTOTAL =
f
1
=
50 kHz
= 20 ms
tHI = DC * tTOTAL
= .60 – 20 ms
= 12 ms
(c) tw = 0.28 RxCx a1 + b
tLO = tTOTAL - tHI 0.7
= 20 ms - 12 ms Rx
= 8 ms Pick Cx = 0.0022 mF
5 ms = 0.28 Rx10.0022 m2a1 - b
0.7
tLO = .693 – RB–C
Rx
8 ms = .693 – RB–.0022 mf Rx = 8.12 kÆ
RB = 5.25 kÆ
tHI = .693 – 1RA + RB2–C
12 ms = .693 # (RA + 5.25 kÆ) # .0022 mf
RA = 2.62 kÆ
VCC
RA 2618 Ω
7 8 4
RB 5236 Ω 2 555
6 3 Vout
1 5
C .0022 μF
(d) tHI = .693 RAC, tLO = .693RBC
.01 μF Pick C = .001 mF
5 ms = .693 RA1.001 mF2
14–20. (a) From Example 14-5: RA = 7.22 kÆ, RB = 7.22 KÆ
1
P Q
tHI = RC Ln = RC1.3922
1.08
1 -
3.33
1
tLO = RC ln = RC1.4992
1.08
1 -
2.75
1
tTOTAL = = 10 ms
100 KHz
= RC1.392 + .4992
RC = 11.2 ms; Pick C = .001 mF,
R = 11.2 KÆ
14–21. 14–23.
5V
100 μs
Vtrig
5 μs
0V
3.33 V
Vcap
0
E14–1. (a) Tcalc = 693 mS, Tmeas = 700 mS
(b) DC Vtrig = 20%, DC Vout = 70%
3.5 V (c) Rext = 722 ohms
Vout E14–2. Tw = .693 * 470 ohms * 2.2 mf
= 717 ms
0.1 V
0
tw
tw = 1.10 RAC
tw = 1.10 – 47 K – 1000 pF
tw = 51.7 ms
14–22. Measured: TLO = 300 ms 1Vtrig2
TLO = 720 ms 1Vout2
E14–3. Ttrigger: Ttot = 1>10 kHz = 100 mS,
Thi = 70 mS
Tout: 50% * 100 mS = 50 mS,
50 mS = .693 Rext * Cext,
Pick Cext = .01 mf, Rext = 7220 ohms.
Use those components in a circuit similar to
sec 14-5b.
E14–4. (a) Thi = 6.84 mS, Tlo = 4.65 mS
(b) Rts
(c) Rts
(d) Inc
E14–5.
V out (calc.) V out (meas.)
th 11.64 μs 11.8 μs
If designing for 50% DC:
@ RA = RB = 925 ohms, FREQ 1 MHZ
tl 9.42 μs 9.6 μs
@ RA = RB = 9250 ohms, FREQ
100 KHZ
4V
Vc
2V
4.5 V
V out
0.1 V
E14–6. Ttot ⫽ 20 S, Thi ⫽ 12 S, Tlo ⫽ 8 S, 15–8. The output voltages (Vout) would all
pick C ⫽ 68 pf and use Tlo ⫽ .693 ⫻ Rb ⫻ double. (Vout) would be limited, however,
C, Thi ⫽ .693 ⫻ (Ra ⫹ Rb) ⫻ C. This by the size of the supply powering the
yields: Ra ⫽ 8.46k-ohms, Rb ⫽ 17.0k- op-amp.
ohms, and C ⫽ 680 pf. Use those values in 15–9. All values of Vout would become positive.
the circuit given in file “sec 14-8b.”
15–10. -2.0 V
Chapter 15 15–11.
D3 D2 D1 D0 Vout D3 D2 D1 D0 Vout
15–1. Converts physical quantities into electrical
quantities. 0 0 0 0 0.00 1 0 0 0 -2.00
15–2. 16, 64, 256, 4096 0 0 0 1 -0.25 1 0 0 1 -2.25
15–3. Very high input impedance, very high volt- 0 0 1 0 -0.50 1 0 1 0 -2.50
age gain, and very low output impedance. 0 0 1 1 -0.75 1 0 1 1 -2.75
15–4. (a) Vout = - a * RF b
Vi 0 1 0 0 -1.00 1 1 0 0 -3.00
Ri 0 1 0 1 -1.25 1 1 0 1 -3.25
5v
= - * 5 kÆ = -2.5 V 0 1 1 0 -1.50 1 1 1 0 -3.50
10 kÆ
0 1 1 1 -1.75 1 1 1 1 -3.75
(b) Vout = - a * 5 kÆ b = -3.75 V
5v
6.67 k 15–12. R/2R method
(c) The lower 20 kÆ has virtual ground at 15–13. To convert the analog output current (Iout)
its top and ground at its bottom there- of the MC1408 to a voltage
fore no current flows through it. 15–14. 8-bit resolution
Vout = - a * 5 kÆ b = -1.25 V
5v 15–15. (a) 0100 00002
20 kÆ
15–5. The (⫺) input is at 0-V potential. : A2
Iout = IREF * a b
A2
15–6. 1210 = 11002
4
ID3 = 5 V>12.5 kÆ = 0.4 mA
1
ID2 = 5 V>25 kÆ = 0.2 mA = 2 mA * = 0.5 mA
ID1 = 0 mA 4
ID0 = 0 mA Vout = IOUT * RF
Vout = -(0.4 mA + 0.2 mA) * 20 kÆ = 0.5 mA * 5 kÆ
= -12 V = 2.5 V
15–7. (a) 20 kÆ, 40 kÆ, 80 kÆ (b) 0 0 1 1 0 1 1 02
:
:
:
:
(b) D3 D2 D1 D0 Vout
A3 A4 A6 A7
0 0 0 0 0.00
Iout = 2 mA * a b
1 1 1 1
0 0 0 1 -1.25 8
+
16
+
64
+
128
0 0 1 0 -2.50
0 0 1 1 -3.75 = 2 mA * .2109 = 0.422 mA
0 1 0 0 -5.00 Vout = 0.422 mA * 5 k = 2.11 V
0 1 0 1 -6.25 (c) 3210 = 0010 00002
0 1 1 0
:
-7.50
A3
0 1 1 1 -8.75
1 0 0 0 -10.00 1
Iout = 2 mA * = 0.25 mA
1 0 0 1 -11.25 8
1 0 1 0 -12.50 Vout = 0.25 mA * 5 kÆ = 1.25 V
1 0 1 1 -13.75
(d) 3010 = 0001 11102
1 1 0 0 -15.00
1 1 0 1 -16.25 3010
Iout = 2 mA * = 0.234 mA
1 1 1 0 -17.50 25610
1 1 1 1 -18.75 Vout = 0.234 mA * 5 kÆ = 1.17 V
15–16. Vout = 15–22. If the counter has to count all the way up to
VREF * a + p Nb
A1 A2 A3 AN 255 (1111 1111), then
+ +
2 4 8 2 1
@0000 0000, Vout = 0V ttot = 255 * = 2.55 ms
100 kHz
@0000 0001, Vout = 10 * a 8 b
1
1
2 15–23. ttot = 8 * = 0.16 ms
50 kHz
= 0.039 V
15–24. Connect DR back to STRT.
@0000 0010, Vout = 10 * a 7 b
1
2 15–25. 7.28
= 0.078 V -5.00 D7
@0000 0011, Vout = 10 * a 7 + 8 b
1 1 2.28
2 2 -1.25 D5
= 0.117 V
1.030
(etc.)
D4 1011 1010
y
-0.625
.4050 = 5 + 1.25
D3 + .625
-.3125
+ .312 5
.092500 + 0.78125
-.078125 D1 = 7.265625 V
.014375
DAC OUT - ACTUAL VIN
%ERROR =
ACTUAL VIN
7.265625 - 7.28
%ERROR = = -0.197%
7.28
15–17. By making VREF = 7.5 V. The range of 15–26. The buffer has a float condition that allows
Iout would then be 0 to 1.5 mA. The range other devices to take turns writing to the
of Vout would be 0 to 7.47 V same data bus without causing a bus con-
1 1 1 1 flict. This enables its use in microprocessor-
15–18. Vout = 5 Va + + + + based systems.
2 4 8 16
15–27. CS (chip select) and RD (READ); active-
b
1 1 1 1
+ + + LOW
32 64 128 256
15–28. When the analog input voltage to be con-
Vout = 4.98 V verted is the difference of two voltages
15–19. 15–29. (a) The three-state output latches (D0 to
D7) would be in the float condition.
000 (b) The outputs would float and WR (start
001 conversion) would be disabled.
3-Bit 010
digital (c) It issues a LOW at power-up to start
011 the first conversion.
output
(ACTIVE 100 (d) 1.0 V
-LOW) 101
AIN
110 15–30. (Eq 15–7) Dout = * 256
111 VREF
0 1 2 3 4 5 6 7 8
Analog input 3.6 V
(a) Dout = * 256 = 18010
voltage (in volts) 5.12 V
15–20. The main advantage is its high speed. Its 18010 = 1011 01002
disadvantage is circuit complexity with Active-LOW ON LEDs =
higher-resolution converters.
D0, D1, D3, D6
15–21. (a) 0 V (b) They are equal.
1.86 V 15–36.
(b) Dout = * 256 = 9310
5.12 V
9310 = 0101 11012
Active-LOW ON LEDs = D1, D5, D7
15–31. The temperature transducer is selected by
setting up the appropriate code on the ABC
multiplexer select inputs. The voltage level 15–37.
passes to the LF 198, which takes a sample VCC
20
at some precise time and holds the level on 7
ADC0801–1
18
Vin (–) 1sbDB0 P1.0
VccREF
the hold capacitor. The LH0084 adjusts the ANALOG IN 6 Vin (+)
DB1
DB2
17
16
15
P1.1
P1.2
DB3 P1.3
voltage to an appropriate level to pass into 8 A–GND
DB4
DB5
14
13
12
P1.4
P1.5
DB6 P1.6
the ADC. The microprocessor issues 9 Vref/2
msbDB7 11
5
P1.7
N/C INTR
CS1, WR1, then waits for INTR to go LOW. 10K 19 CLK–R CS 1
RD 2
It then issues CS1, RD1 to transfer the con- 4 CLK–IN WR 3
+
verted data to the data bus, then CS2, WR2, 150 pf
20
ADC0801–2
7 Vin (–) 1sbDB0 18
VccREF
Rf ANALOG IN
6 Vin (+)
DB1
DB2
17
16
VCC
5V = 250 mV * DB3
DB4
15
14 R3
20 kÆ 8 A–GND DB5
DB6
13
12 10x
msbDB7 11
9
Rf = 400 kÆ N/C
10K
Vref/2
INTR 5 2 1
19 CLK–R CS 1 C1
15–33. 10,000Æ + 5% = 10,500 4 CLK–IN
RD
WR
2
3
7417
OC BUFFER
.001
+
150 pf
10.000Æ - 5% = 9,500
Rf
Vout = -(-250 mV) * E15–1. (a) D0 = -1V, D1 = -2V, D2 =
Ri
-4 V, D3 = -8V
200 kÆ (b) True
Vout = 250 mV *
10 kÆ + 10.5 kÆ (c) D3, D2, (D2 and D1), (D3 and D1
Vout = 2.439 V and D0)
(d) 16
200 kÆ
Vout = 250 mV * (e) 6.25k-ohms
10 kÆ + 9.5 kÆ
E15–2. (a)
Vout = 2.564 V
‹ Range = 2.439 V to 2.564 V
15–34. 0011 11002
15–35. VAB = Vout>Amplifier Gain
VAB = 4.0 V>1000 = 4 mV
Eq 15-6:
VAB = VIN c d
R3 R2
R3 + 1Rg + ¢Rg2
-
R1 + R2
120
120 + 1120 + ¢Rg2
4 mV = -10Vc -
d
120
120 + 120
¢Rg = 0.192Æ
Force = 0.192Æ>0.020Æ per kg
Force = 9.60 kg
16–5.
Chapter 16
16–1. Bipolar, faster; MOS, more dense.
16–2. The address is a binary string that repre-
sents the location where the 8-bit data
string is stored.
16–3. Data are being written into memory from
the data bus. Bus contention occurs only
when two or more devices are writing to
the data bus at the same time.
16–4. The A3 line into the 74LS154 (Fig. 16–4) is 16–13. CS is not held LOW long enough. The
stuck LOW. Put a logic probe on the A3 access time (tacs) for the 2147H is given in
input. If it stays LOW when selecting Figure 16–6(a) as 35 ns minimum. To
addresses 1000 to 1111, then it is shorted correct, increase the LOW CS pulse to
to ground. 35 ns or more.