DATA SH EET
Product specification
File under Integrated Circuits, IC04 January 1995
INTEGRATED CIRCUITS
HEF4585B
MSI
4-bit magnitude comparator
For a complete data sheet, please also download:
The IC04 LOCMOS HE4000B Logic
Family Specifications HEF, HEC
The IC04 LOCMOS HE4000B Logic
Package Outlines/Information HEF, HEC
January 1995 2
Philips Semiconductors Product specification
4-bit magnitude comparator HEF4585B
MSI
DESCRIPTION
The HEF4585B is a 4-bit magnitude comparator which
compares two 4-bit words (A and B), whether they are ‘less
than’, ‘equal to’, or ‘greater than’. Each word has four
parallel inputs (A0to A3and B0to B3); A3and B3being the
most significant inputs. Three outputs are provided;
A greater than B (OA > B), A less than B (OA < B) and
A equal to B (OA=B
). Three expander inputs (IA > B,
IA < B and IA=B
) allow cascading of the devices without
external gates.
For proper compare operation the expander inputs to the
least significant position must be connected as follows:
IA=B=I
A > B = HIGH, IA < B = LOW. For words greater than
4-bits, units can be cascaded by connecting outputs
OA<Band OA=Bto the corresponding inputs of the next
significant comparator (input IA>Bis connected to a
HIGH).
Operation is not restricted to binary codes, the devices will
work with any monotonic code. The function table
describes the operation of the device under all possible
logic conditions.
Fig.1 Functional diagram.
PINNING
FAMILY DATA, IDD LIMITS category MSI
See Family Specifications
HEF4585BP(N): 16-lead DIL; plastic (SOT38-1)
HEF4585BD(F): 16-lead DIL; ceramic (cerdip) (SOT74)
HEF4585BT(D): 16-lead SO; plastic (SOT109-1)
( ): Package Designator North America
A0to A3word A parallel inputs
B0to B3word B parallel inputs
IA > B, IA<B, IA=B expander inputs
OA>B A greater than B output
OA<B A less than B output
OA=B A equal to B output
Fig.2 Pinning diagram.
January 1995 3
Philips Semiconductors Product specification
4-bit magnitude comparator HEF4585B
MSI
Fig.3 Logic diagram.
January 1995 4
Philips Semiconductors Product specification
4-bit magnitude comparator HEF4585B
MSI
FUNCTION TABLE
Notes
1. H = HIGH state (the more positive voltage)
L = LOW state (the less positive voltage)
X = state is immaterial
The upper 11 lines describe the normal operation under all conditions that will occur in a single device or in a serial
expansion scheme.
The lower 2 lines describe the operation under abnormal conditions on the cascading inputs. These conditions occur
when the parallel expansion technique is used.
COMPARING INPUTS CASCADING INPUTS OUTPUTS
A3, B3A2,B
2A
1
, B1A0, B0IA>BIA<BIA = B OA>BOA<BOA = B
A3>B
3XXXHXXHLL
A
3
<B
3XXXXXX LHL
A
3
=B
3A
2> B2XXHX X H L L
A
3
=B
3A
2<B
2XXXX X L H L
A
3
=B
3A
2=B
2A
1>B
1XHX X H L L
A
3
=B
3A
2=B
2A
1<B
1XXX X L H L
A
3
=B
3A
2=B
2A
1=B
1A
0>B
0HX X H L L
A
3
=B
3A
2=B
2A
1=B
1A
0< B0XX X L H L
A
3
=B
3A
2=B
2A
1=B
1A
0=B
0XLH L L H
A
3
=B
3A
2=B
2A
1=B
1A
0=B
0HL L H L L
A
3
=B
3A
2=B
2A
1=B
1A
0=B
0XH L L H L
A
3
=B
3A
2=B
2A
1=B
1A
0=B
0XHH L H H
A
3
=B
3A
2=B
2A
1=B
1A
0=B
0LL L L L L
January 1995 5
Philips Semiconductors Product specification
4-bit magnitude comparator HEF4585B
MSI
AC CHARACTERISTICS
VSS = 0 V; Tamb =25°C; CL= 50 pF; input transition times 20 ns
APPLICATION INFORMATION
Some examples of applications for the HEF4585B are:
Process controllers.
Servo-motor control.
VDD
VSYMBOL MIN. TYP. MAX. TYPICAL EXTRAPOLATION
FORMULA
Propagation delays
An, BnOn5 160 320 ns 133 ns +(0,55 ns/pF) CL
HIGH to LOW 10 tPHL 65 130 ns 54 ns +(0,23 ns/pF) CL
15 45 90 ns 37 ns +(0,16 ns/pF) CL
5 150 300 ns 123 ns +(0,55 ns/pF) CL
LOW to HIGH 10 tPLH 60 120 ns 49 ns +(0,23 ns/pF) CL
15 45 90 ns 37 ns +(0,16 ns/pF) CL
InOn5 110 220 ns 83 ns +(0,55 ns/pF) CL
HIGH to LOW 10 tPHL 45 90 ns 34 ns +(0,23 ns/pF) CL
15 30 60 ns 22 ns +(0,16 ns/pF) CL
5 120 240 ns 93 ns +(0,55 ns/pF) CL
LOW to HIGH 10 tPLH 50 100 ns 39 ns +(0,23 ns/pF) CL
15 35 70 ns 27 ns +(0,16 ns/pF) CL
Output transition times 5 60 120 ns 10 ns +(1,0 ns/pF) CL
HIGH to LOW 10 tTHL 30 60 ns 9 ns +(0,42 ns/pF) CL
15 20 40 ns 6 ns +(0,28 ns/pF) CL
5 60 120 ns 10 ns +(1,0 ns/pF) CL
LOW to HIGH 10 tTLH 30 60 ns 9 ns +(0,42 ns/pF) CL
15 20 40 ns 6 ns +(0,28 ns/pF) CL
VDD
VTYPICAL FORMULA FOR P (µW)
Dynamic power 5 1250 fi+∑(foCL)×VDD2where
dissipation per 10 5500 fi+∑(foCL)×VDD2fi= input freq. (MHz)
package (P) 15 15 000 fi+∑(foCL)×VDD2fo= output freq. (MHz)
CL= load capacitance (pF)
(foCL) = sum of outputs
VDD = supply voltage (V)
January 1995 6
Philips Semiconductors Product specification
4-bit magnitude comparator HEF4585B
MSI
Fig.4 Example of cascading comparators.