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 (O
A > B
), A less than B (O
A < B
) and
A equal to B (O
A=B
). Three expander inputs (I
A > B
,
I
A < B
and I
A=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:
I
A=B=IA > B
= HIGH, I
A < B
= LOW. For words greater than
4-bits, units can be cascaded by connecting outputs
O
A<B
and O
A=B
to the corresponding inputs of the next
significant comparator (input I
A>B
is 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, I
DD
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
A
0
to A
3
word A parallel inputs
B
0
to B
3
word B parallel inputs
I
A > B
, I
A < B
, I
A=B
expander inputs
O
A>B
A greater than B output
O
A<B
A less than B output
O
A=B
A equal to B output
Fig.2 Pinning diagram.