INTEGRATED CIRCUITS DATA SHEET 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 HEF4585B MSI 4-bit magnitude comparator Product specification File under Integrated Circuits, IC04 January 1995 Philips Semiconductors Product specification HEF4585B MSI 4-bit magnitude comparator For proper compare operation the expander inputs to the least significant position must be connected as follows: IA = B = IA > B = HIGH, IA < B = LOW. For words greater than 4-bits, units can be cascaded by connecting outputs OA < B and OA = B to the corresponding inputs of the next significant comparator (input IA > B is connected to a HIGH). 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 (A0 to A3 and B0 to B3); A3 and B3 being 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. 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.2 Pinning diagram. 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 PINNING Fig.1 Functional diagram. A0 to A3 word A parallel inputs B0 to B3 word 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 FAMILY DATA, IDD LIMITS category MSI See Family Specifications January 1995 2 Philips Semiconductors Product specification HEF4585B MSI 4-bit magnitude comparator Fig.3 Logic diagram. January 1995 3 Philips Semiconductors Product specification HEF4585B MSI 4-bit magnitude comparator FUNCTION TABLE COMPARING INPUTS CASCADING INPUTS OUTPUTS A3, B3 A2, B2 A1, B1 A0, B0 IA > B IA < B IA = B OA > B OA < B OA = B A3 > B3 X X X H X X H L L A3 < B3 X X X X X X L H L A3 = B3 A2 > B2 X X H X X H L L A3 = B3 A2 < B 2 X X X X X L H L A3 = B3 A2 = B 2 A1 > B 1 X H X X H L L A3 = B3 A2 = B 2 A1 < B 1 X X X X L H L A3 = B3 A2 = B 2 A1 = B 1 A0 > B 0 H X X H L L A3 = B3 A2 = B 2 A1 = B 1 A0 < B0 X X X L H L A3 = B3 A2 = B 2 A1 = B 1 A0 = B 0 X L H L L H A3 = B3 A2 = B 2 A1 = B 1 A0 = B 0 H L L H L L A3 = B3 A2 = B 2 A1 = B 1 A0 = B 0 X H L L H L A3 = B3 A2 = B 2 A1 = B 1 A0 = B 0 X H H L H H A3 = B3 A2 = B 2 A1 = B 1 A0 = B 0 L L L L L L 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. January 1995 4 Philips Semiconductors Product specification HEF4585B MSI 4-bit magnitude comparator AC CHARACTERISTICS VSS = 0 V; Tamb = 25 C; CL = 50 pF; input transition times 20 ns VDD V SYMBOL MIN. TYP. MAX. TYPICAL EXTRAPOLATION FORMULA Propagation delays An, Bn On 5 HIGH to LOW 10 tPHL 15 5 LOW to HIGH 10 tPLH 15 In On 5 HIGH to LOW 10 tPHL 15 5 LOW to HIGH 10 tPLH 15 Output transition times 5 HIGH to LOW 133 ns + (0,55 ns/pF) CL 130 ns 54 ns + (0,23 ns/pF) CL 45 90 ns 37 ns + (0,16 ns/pF) CL 150 300 ns 123 ns + (0,55 ns/pF) CL 60 120 ns 49 ns + (0,23 ns/pF) CL 45 90 ns 37 ns + (0,16 ns/pF) CL 110 220 ns 83 ns + (0,55 ns/pF) CL 45 90 ns 34 ns + (0,23 ns/pF) CL 30 60 ns 22 ns + (0,16 ns/pF) CL 120 240 ns 93 ns + (0,55 ns/pF) CL 50 100 ns 39 ns + (0,23 ns/pF) CL 35 70 ns 27 ns + (0,16 ns/pF) CL 10 ns + 60 120 ns 60 ns 9 ns + (0,42 ns/pF) CL 15 20 40 ns 6 ns + (0,28 ns/pF) CL 5 60 120 ns 30 60 ns 9 ns + (0,42 ns/pF) CL 20 40 ns 6 ns + (0,28 ns/pF) CL 10 tTHL tTLH 15 VDD V Dynamic power 320 ns 65 30 10 LOW to HIGH 160 5 10 ns + (1,0 ns/pF) CL (1,0 ns/pF) CL TYPICAL FORMULA FOR P (W) 1250 fi + (foCL) x VDD2 where fi = input freq. (MHz) dissipation per 10 5500 fi + (foCL) x package (P) 15 15 000 fi + (foCL) x VDD2 VDD2 fo = output freq. (MHz) CL = load capacitance (pF) (foCL) = sum of outputs VDD = supply voltage (V) APPLICATION INFORMATION Some examples of applications for the HEF4585B are: * Process controllers. * Servo-motor control. January 1995 5 Philips Semiconductors Product specification HEF4585B MSI 4-bit magnitude comparator Fig.4 Example of cascading comparators. January 1995 6