RENESAS HD74LS85P

HD74LS85
4-bit Magnitude Comparator
REJ03D0421–0200
Rev.2.00
Feb.18.2005
This four bit magnitude comparator performs comparison of straight binary and straight BCD (8-4-2-1) codes. Three
fully decoded decisions about two 4-bit words (A, B) are made and are externally available at three outputs. This
device is fully expandable to any number of bits without external gates. Words of greater length may be compared by
connecting comparators in cascade. The A > B, A < B, and A = B outputs of a stage handling less-significant bits. The
stage handling the least- significant bits must have a high-level voltage applied to the A β B input. The cascading path
is implemented with only a two-gate-level delay to reduce overall comparison times for long words.
Features
• Ordering Information
Part Name
Package Type
Package Code
(Previous Code)
Package
Abbreviation
Taping Abbreviation
(Quantity)
HD74LS85P
DILP-16 pin
PRDP0016AE-B
(DP-16FV)
P
—
HD74LS85FPEL
SOP-16 pin (JEITA)
PRSP0016DH-B
(FP-16DAV)
FP
EL (2,000 pcs/reel)
Note: Please consult the sales office for the above package availability.
Pin Arrangement
B3
Data Input
1
A<B
2
A<B
A=B
3
A>B
Cascade
Inputs
Outputs
16
VCC
A3
15
A3
A=B In
B2
14
B2
4
A>B
A2
13
A2
A>B
5
A>B
A1
12
A1
A=B
6
A=B Out B1
11
B1
A<B
7
A<B
10
A0
GND
8
9
B0
B3
A0
B0
(Top view)
Rev.2.00, Feb.18.2005, page 1 of 6
Data Inputs
HD74LS85
Function Table
A3, B3
A3 > B3
A3 < B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
A3 = B3
Inputs
A2, B2
A1, B1
X
X
X
X
A2 > B2
X
A2 < B2
X
A2 = B2
A1 > B1
A2 = B2
A1 < B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A2 = B2
A1 = B1
A0, B0
X
X
X
X
X
X
A0 > B0
A0 < B0
A0 = B0
A0 = B0
A0 = B0
A0 = B0
A0 = B0
Cascading Inputs
A>B
A<B
A=B
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
H
L
L
L
H
L
X
X
H
H
H
L
L
L
L
A>B
H
L
H
L
H
L
H
L
H
L
L
L
H
Outputs
A<B
L
H
L
H
L
H
L
H
L
H
L
L
H
H; high level, L; low level, X; irrelevant
Block Diagram
A3
B3
A>B
A2
B2
A<B
A=B
A>B
A=B
A1
B1
A<B
A0
B0
Absolute Maximum Ratings
Item
Symbol
Ratings
Supply voltage
VCC
7
Input voltage
VIN
7
Power dissipation
PT
400
Storage temperature
Tstg
–65 to +150
Note: Voltage value, unless otherwise noted, are with respect to network ground terminal.
Rev.2.00, Feb.18.2005, page 2 of 6
Unit
V
V
mW
°C
A=B
L
L
L
L
L
L
L
L
L
L
H
L
L
HD74LS85
Recommended Operating Conditions
Item
Symbol
VCC
IOH
IOL
Topr
Supply voltage
Output current
Operating temperature
Min
4.75
—
—
–20
Typ
5.00
—
—
25
Max
5.25
–400
8
75
Unit
V
µA
mA
°C
Electrical Characteristics
(Ta = –20 to +75 °C)
Item
Input voltage
Symbol
VIH
VIL
min.
2.0
—
typ.*
—
—
max.
—
0.8
Unit
V
V
VOH
2.7
—
—
V
—
—
0.4
—
—
0.5
—
—
20
—
—
60
—
—
–0.4
—
—
–1.2
—
—
0.1
—
—
0.3
IOS
–20
—
ICC
VIK
—
—
10.4
—
Output voltage
VOL
Input
current
A < B, A > B
inputs
Other inputs
IIH
A < B, A > B
inputs
Other inputs
IIL
A < B, A > B
inputs
Other inputs
II
Short-circuit output
current
Supply current**
Input clamp voltage
V
Condition
VCC = 4.75 V, VIH = 2 V, VIL = 0.8 V,
IOH = –400 µA
IOL = 4 mA
VCC = 4.75 V, VIH = 2 V,
VIL = 0.8 V
IOL = 8 mA
µA
VCC = 5.25 V, VI = 2.7 V
mA
VCC = 5.25 V, VI = 0.4 V
mA
VCC = 5.25 V, VI = 7 V
–100
mA
VCC = 5.25 V
20
–1.5
mA
V
VCC = 5.25 V
VCC = 4.75 V, IIN = –18 mA
Note: * VCC = 5 V, Ta = 25°C
** ICC is measured with outputs open, A = B grounded, and all other inputs at 4.5 V.
Switching Characteristics
(VCC = 5 V, Ta = 25°C)
Item
Symbol
Inputs
Outputs
tPLH
Any A or
B data input
A < B, A > B
A=B
Propagation
delay time
tPHL
Any A or
B data input
A < B, A > B
A=B
tPHL
tPHL
tPLH
tPHL
tPLH
tPHL
A < B or
A=B
A>B
A=B
A=B
A > B or
A=B
A<B
Rev.2.00, Feb.18.2005, page 3 of 6
Number of
gate levels
1
2
min.
typ.
max.
—
—
14
19
—
—
3
4
1
2
—
—
—
—
24
27
11
15
36
45
—
—
3
4
1
1
2
2
1
1
—
—
—
—
—
—
—
—
20
23
14
11
13
13
14
11
30
45
22
17
20
26
22
17
Unit
Condition
ns
CL = 15 pF,
RL = 2 kΩ
HD74LS85
Testing Method
Test Circuit
VCC
4.5V
See Testing Table
P.G.
Zout = 50Ω
RL
A3
B3
A2
B2
A1
B1
A0
B0
Input
Load circuit 1
A>B
CL
Output
Same as Load Circuit 1.
A=B
Output
Same as Load Circuit 1.
A<B
A<B
A=B
A>B
Notes:
Output
1. CL includes probe and jig capacitance.
2. All diodes are 1S2074(H).
Waveform
tTHL
tTLH
90%
1.3 V
Input
3V
90%
1.3 V
10%
10%
0V
tPHL
tPLH
VOH
In phase output
(A)
1.3 V
1.3 V
VOL
tPHL
tPLH
VOH
Out of phase output
(B)
Note:
1.3 V
1.3 V
Input pulse; tTLH ≤ 15 ns, tTHL ≤ 6 ns, PRR = 1 MHz, duty cycle = 50%
Rev.2.00, Feb.18.2005, page 4 of 6
VOL
HD74LS85
Testing Table
Item
tPLH
tPHL
A3
IN
4.5 v
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
B3
4.5 v
IN
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
A2
4.5 v
GND
IN
4.5 v
GND
GND
GND
GND
GND
GND
GND
GND
B2
GND
4.5 v
4.5 v
IN
GND
GND
GND
GND
GND
GND
GND
GND
Inputs
A1
B1
GND GND
GND GND
4.5 v GND
GND 4.5 v
IN
4.5 v
4.5 v
IN
GND GND
GND GND
GND GND
GND GND
GND GND
GND GND
GND
GND
GND
GND
GND
Rev.2.00, Feb.18.2005, page 5 of 6
GND
A0
GND
GND
GND
GND
4.5 v
GND
IN
4.5 v
IN
4.5 v
GND
GND
B0
GND
GND
GND
GND
GND
4.5 v
4.5 v
IN
4.5 v
IN
GND
GND
A>B
GND
GND
GND
GND
GND
GND
4.5 v
GND
GND
GND
IN
GND
A=B
GND
GND
GND
GND
GND
GND
GND
GND
4.5 v
4.5 v
GND
IN
GND
GND
GND
GND
Output waveforms
A<B A>B A=B A<B
GND
A
—
B
GND
B
—
A
GND
A
—
B
GND
B
—
A
GND
A
—
B
GND
B
—
A
GND
A
—
B
4.5 v
B
—
A
GND
—
A
B
GND
B
A
—
GND
—
—
B
GND
B
A
B
IN
B
—
—
HD74LS85
Package Dimensions
JEITA Package Code
P-DIP16-6.3x19.2-2.54
RENESAS Code
PRDP0016AE-B
MASS[Typ.]
1.05g
Previous Code
DP-16FV
D
9
E
16
1
8
b3
0.89
Z
A1
A
Reference
Symbol
L
e
Nom
θ
c
e1
D
19.2
E
6.3
JEITA Package Code
P-SOP16-5.5x10.06-1.27
RENESAS Code
PRSP0016DH-B
*1
Previous Code
FP-16DAV
7.4
A1
0.51
b
p
0.40
b
3
0.48
0.56
1.30
c
0.19
θ
0°
e
2.29
0.25
0.31
2.54
2.79
15°
1.12
L
2.54
MASS[Typ.]
0.24g
NOTE)
1. DIMENSIONS"*1 (Nom)"AND"*2"
DO NOT INCLUDE MOLD FLASH.
2. DIMENSION"*3"DOES NOT
INCLUDE TRIM OFFSET.
D
F
16
20.32
5.06
Z
( Ni/Pd/Au plating )
Max
7.62
1
A
bp
e
Dimension in Millimeters
Min
9
c
HE
*2
E
bp
Index mark
Reference
Symbol
Terminal cross section
( Ni/Pd/Au plating )
1
Z
*3
bp
Nom
D
10.06
E
5.50
Max
10.5
A2
8
e
Dimension in Millimeters
Min
x
A1
M
0.00
0.10
0.20
0.34
0.40
0.46
0.15
0.20
0.25
7.80
8.00
A
L1
2.20
bp
b1
c
A
c
A1
θ
y
L
Detail F
1
θ
0°
HE
7.50
e
1.27
x
0.12
y
0.15
0.80
Z
L
L
Rev.2.00, Feb.18.2005, page 6 of 6
8°
0.50
1
0.70
1.15
0.90
Sales Strategic Planning Div.
Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Keep safety first in your circuit designs!
1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble
may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits,
(ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.
Notes regarding these materials
1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's
application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party.
2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data,
diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of
publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is
therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product
information before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor
home page (http://www.renesas.com).
4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to
evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes
no responsibility for any damage, liability or other loss resulting from the information contained herein.
5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life
is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a
product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater
use.
6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and
cannot be imported into a country other than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein.
http://www.renesas.com
RENESAS SALES OFFICES
Refer to "http://www.renesas.com/en/network" for the latest and detailed information.
Renesas Technology America, Inc.
450 Holger Way, San Jose, CA 95134-1368, U.S.A
Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501
Renesas Technology Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900
Renesas Technology Hong Kong Ltd.
7th Floor, North Tower, World Finance Centre, Harbour City, 1 Canton Road, Tsimshatsui, Kowloon, Hong Kong
Tel: <852> 2265-6688, Fax: <852> 2730-6071
Renesas Technology Taiwan Co., Ltd.
10th Floor, No.99, Fushing North Road, Taipei, Taiwan
Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999
Renesas Technology (Shanghai) Co., Ltd.
Unit2607 Ruijing Building, No.205 Maoming Road (S), Shanghai 200020, China
Tel: <86> (21) 6472-1001, Fax: <86> (21) 6415-2952
Renesas Technology Singapore Pte. Ltd.
1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632
Tel: <65> 6213-0200, Fax: <65> 6278-8001
© 2005. Renesas Technology Corp., All rights reserved. Printed in Japan.
Colophon .2.0