HEF4585B 4-bit magnitude comparator Rev. 6 21 November 2011 Product data sheet 1. General description The HEF4585B is a 4-bit magnitude comparator that compares two 4-bit words, A and B, and determines whether A is greater than B, A is equal to B, or A is less than B. Each word has four parallel inputs (A0 to A3 and B0 to B3) with A3 and B3 being the most significant inputs. Three outputs are provided: A greater than B (QA>B), A less than B (QA<B) and A equal to B (QA=B). Three expander inputs (IA>B, IA<B, and IA=B) allow cascading of the devices, to compare 8, 12, 16, ..., bits without external gates. To operate a single device or a device in the least significant position in a cascaded chain, the expander inputs are connected as follows: IA=B = IA>B = HIGH and IA<B = LOW. All other cascaded devices have IA=B and IA<B connected to QA=B and QA<B respectively of the previous (less significant) device in the chain, while input IA>B is connected to a HIGH (see Figure 6). Operation is not restricted to pure binary code the devices will work with any monotonic code. Table 3 describes the operation of the device under all possible logic conditions. It operates over a recommended V power supply range of 3 V to 15 V referenced to V DD SS (usually ground). Unused inputs must be connected to V , V , or another input. DD SS 2. Features and benefits Fully static operation 5 V, 10 V, and 15 V parametric ratings Standardized symmetrical output characteristics Specified from 40 C to +85 C Complies with JEDEC standard JESD 13-B 3. Ordering information Table 1. Ordering information All types operate from 40 C to +85 C Type number Package Name Description Version HEF4585BP DIP16 plastic dual in-line package 16 leads (300 mil) SOT38-4 HEF4585BT SO16 plastic small outline package 16 leads body width 3.9 mm SOT109-1HEF4585B NXP Semiconductors 4-bit magnitude comparator 4. Functional diagram A0 10 B0 11 A1 7 B1 QA>B 9 13 A2 2 B2 QA=B 1 3 A3 15 B3 QA<B 14 12 IA>B 4 IA<B 5 IA=B 6 001aae784 Fig 1. Functional diagram HEF4585B All information provided in this document is subject to legal disclaimers. NXP B.V. 2011. All rights reserved. Product data sheet Rev. 6 21 November 2011 2 of 16