54LS161A,54LS163A,DM54LS161A,DM54LS163A, DM74LS161A,DM74LS163A 54LS161A DM54LS161A DM74LS161A 54LS163A DM54LS163A DM54LS163A Synchronous 4-Bit Binary Counters Literature Number: SNOS286A 54LS161A/DM54LS161A/DM74LS161A, 54LS163A/DM54LS163A/DM74LS163A Synchronous 4-Bit Binary Counters General Description e gating. Instrumental in accomplishing this function are two count-enable inputs and a ripple carry output. Both count-enable inputs (P and T) must be high to count, and input T is fed forward to enable the ripple carry output. The ripple carry output thus enabled will produce a high-level output pulse with a duration approximately equal to the high-level portion of the QA output. This high-level overflow ripple carry pulse can be used to enable successive cascaded stages. High-to-low level transitions at the enable P or T inputs may occur, regardless of the logic level of the clock. These counters feature a fully independent clock circuit. Changes made to control inputs (enable P or T or load) that will modify the operating mode have no effect until clocking occurs. The function of the counter (whether enabled, disabled, loading, or counting) will be dictated solely by the conditions meeting the stable set-up and hold times. et These synchronous, presettable counters feature an internal carry look-ahead for application in high-speed counting designs. The LS161A and LS163A are 4-bit binary counters. The carry output is decoded by means of a NOR gate, thus preventing spikes during the normal counting mode of operation. Synchronous operation is provided by having all flipflops clocked simultaneously so that the outputs change coincident with each other when so instructed by the countenable inputs and internal gating. This mode of operation eliminates the output counting spikes which are normally associated with asynchronous (ripple clock) counters. A buffered clock input triggers the four flip-flops on the rising (positive-going) edge of the clock input waveform. These counters are fully programmable; that is, the outputs may be preset to either level. As presetting is synchronous, setting up a low level at the load input disables the counter and causes the outputs to agree with the setup data after the next clock pulse, regardless of the levels of the enable input. The clear function for the LS161A is asynchronous; and a low level at the clear input sets all four of the flip-flop outputs low, regardless of the levels of clock, load, or enable inputs. The clear function for the LS163A is synchronous; and a low level at the clear inputs sets all four of the flip-flop outputs low after the next clock pulse, regardless of the levels of the enable inputs. This synchronous clear allows the count length to be modified easily, as decoding the maximum count desired can be accomplished with one external NAND gate. The gate output is connected to the clear input to synchronously clear the counter to all low outputs. The carry look-ahead circuitry provides for cascading counters for n-bit synchronous applications without additional Features Y Y Y bs ol Y Synchronously programmable Internal look-ahead for fast counting Carry output for n-bit cascading Synchronous counting Load control line Diode-clamped inputs Typical propagation time, clock to Q output 14 ns Typical clock frequency 32 MHz Typical power dissipation 93 mW Alternate Military/Aerospace device (54LS161, 54LS163) is available. Contact a National Semiconductor Sales Office/Distributor for specificaitons. Y Y Y Y Y Y Connection Diagram O Dual-In-Line Package Order Numbers 54LS161ADMQB, 54LS161AFMQB, 54LS161ALMQB, 54LS163ADMQB, 54LS163AFMQB, 54LS163ALMQB, DM54LS161AJ, DM54LS161AW, DM54LS163AJ, DM54LS163AW, DM74LS161AM, DM74LS161AN, DM74LS163AM or DM74LS163AN See NS Package Number E20A, J16A, M16A, N16E or W16A TL/F/6397 - 1 C1995 National Semiconductor Corporation TL/F/6397 RRD-B30M105/Printed in U. S. A. 54LS161A/DM54LS161A/DM74LS161A, 54LS163A/DM54LS163A/DM74LS163A Synchronous 4-Bit Binary Counters May 1992 Absolute Maximum Ratings (Note) Note: The ``Absolute Maximum Ratings'' are those values beyond which the safety of the device cannot be guaranteed. The device should not be operated at these limits. The parametric values defined in the ``Electrical Characteristics'' table are not guaranteed at the absolute maximum ratings. The ``Recommended Operating Conditions'' table will define the conditions for actual device operation. If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/Distributors for availability and specifications. Supply Voltage 7V Input Voltage 7V Operating Free Air Temperature Range b 55 C to a 125 C DM54LS and 54LS DM74LS 0 C to a 70 C Storage Temperature Range b 65 C to a 150 C Recommended Operating Conditions Supply Voltage VIH High Level Input Voltage VIL Low Level Input Voltage IOH High Level Output Current IOL Low Level Output Current fCLK Clock Frequency (Note 1) Nom Max 4.5 5 5.5 4.75 5 5.25 2 2 0.7 4 0 0 20 Clear 20 Pulse Width (Note 2) Clock 25 Clear 25 25 Setup Time (Note 1) Hold Time (Note 1) V V 0.8 b 0.4 Clock b 0.4 0 20 0 V mA 8 mA 25 MHz 20 6 20 6 9 20 9 MHz ns 25 ns 25 Data 20 8 20 8 Enable P 25 17 25 17 Load 25 15 25 15 Data 20 Enable P 30 30 Load 30 30 ns 20 Data 0 b3 0 b3 Others 0 b3 0 b3 ns ns 5 5 5 5 Clear Release Time (Note 1) 20 20 ns 25 25 ns O Data Others Clear Release Time (Note 2) TA Min Pulse Width (Note 1) Hold Time (Note 2) tREL Max Clock Frequency (Note 2) Setup Time (Note 2) tH Units Nom bs ol tSU DM74LS161A Min e VCC tW DM54LS161A Parameter et Symbol Free Air Operating Temperature b 55 125 Note 1: CL e 15 pF, RL e 2 kX, TA e 25 C and VCC e 5.5V. Note 2: CL e 50 pF, RL e 2 kX, TA e 25 C and VCC e 5.5V. 2 0 ns 70 C 'LS161 Electrical Characteristics over recommended operating free air temperature range (unless otherwise noted) Symbol Parameter Min Typ (Note 1) DM54 2.5 3.4 DM74 2.7 3.4 Conditions Max Units b 1.5 V VI Input Clamp Voltage VCC e Min, II e b18 mA VOH High Level Output Voltage VCC e Min, IOH e Max VIL e Max, VIH e Min Low Level Output Voltage VCC e Min, IOL e Max VIL e Max, VIH e Min DM54 0.25 DM74 0.35 0.5 IOL e 4 mA, VCC e Min DM74 0.25 0.4 VCC e Max VI e 7V Enable T 0.2 Clock 0.2 Load 0.2 Others 0.1 Enable T 40 II Input Current @ Max Input Voltage IIH High Level Input Current VCC e Max VI e 2.7V 0.4 Clock 40 Load 40 IIL Low Level Input Current Enable T b 0.8 Clock b 0.8 Load b 0.8 Others ICCH ICCL Short Circuit Output Current Supply Current with Outputs High VCC e Max (Note 3) Supply Current with Outputs Low VCC e Max (Note 4) DM54 (Note 2) mA mA b 0.4 b 20 bs ol IOS VCC e Max mA 20 et Others VCC e Max VI e 0.4V V e VOL V b 100 b 20 DM74 mA b 100 18 31 19 32 mA mA Note 1: All typicals are at VCC e 5V, TA e 25 C. Note 2: Not more than one output should be shorted at a time, and the duration should not exceed one second. Note 3: ICCH is measured with the load high, then again with the load low, with all other inputs high and all outputs open. Note 4: ICCL is measured with the clock input high, then again with the clock input low, with all other inputs low and all outputs open. 'LS161 Switching Characteristics at VCC e 5V and TA e 25 C (See Section 1 for Test Waveforms and Output Load) Parameter O Symbol From (Input) To (Output) RL e 2 kX CL e 15 pF Min Max 25 CL e 50 pF Min Units Max fMAX Maximum Clock Frequency tPLH Propagation Delay Time Low to High Level Output Clock to Ripple Carry 25 30 ns tPHL Propagation Delay Time High to Low Level Output Clock to Ripple Carry 30 38 ns tPLH Propagation Delay Time Low to High Level Output Clock to Any Q (Load High) 22 27 ns tPHL Propagation Delay Time High to Low Level Output Clock to Any Q (Load High) 27 38 ns 3 20 MHz 'LS161 Switching Characteristics at VCC e 5V and TA e 25 C (See Section 1 for Test Waveforms and Output Load) (Continued) Symbol RL e 2 kX From (Input) To (Output) Parameter CL e 15 pF Min CL e 50 pF Max Min Units Max Propagation Delay Time Low to High Level Output Clock to Any Q (Load Low) 24 30 ns tPHL Propagation Delay Time High to Low Level Output Clock to Any Q (Load Low) 27 38 ns tPLH Propagation Delay Time Low to High Level Output Enable T to Ripple Carry 14 27 ns tPHL Propagation Delay Time High to Low Level Output Enable T to Ripple Carry 15 27 ns tPHL Propagation Delay Time High to Low Level Output Clear to Any Q 28 45 ns Recommended Operating Conditions Symbol DM54LS163A Parameter VCC Supply Voltage VIH High Level Input Voltage 4.5 VIL Low Level Input Voltage High Level Output Current IOL Low Level Output Current fCLK Clock Frequency (Note 1) tW Min Nom 5 5.5 4.75 5 0 V V b 0.4 b 0.4 mA 4 8 mA 25 MHz 20 MHz 25 20 0 0 Pulse Width (Note 1) Clock 20 6 20 6 Clear 20 9 20 9 Pulse Width (Note 2) Clock 25 25 Clear 25 25 Setup Time (Note 1) Data 20 8 0 20 Enable P 25 17 25 17 Load 25 15 25 15 20 20 30 30 Load 30 Data 0 b3 0 b3 Others 0 b3 0 b3 Data 5 5 Others 5 5 Clear Release Time (Note 1) 20 20 Clear Release Time (Note 2) 25 25 Hold Time (Note 2) tREL TA Free Air Operating Temperature ns ns 8 Data Hold Time (Note 1) V 0.8 Enable P tH 5.25 0.7 Clock Frequency (Note 2) Setup Time (Note 2) Units Max 2 O tSU Max bs ol IOH 2 Nom DM74LS163A et Min e tPLH ns ns 30 b 55 125 Note 1: CL e 15 pF, RL e 2 kX, TA e 25 C and VCC e 5V. Note 2: CL e 50 pF, RL e 2 kX, TA e 25 C and VCC e 5V. 4 0 ns ns ns ns 70 C 'LS163 Electrical Characteristics over recommended operating free air temperature range (unless otherwise noted) Symbol Parameter Min Typ (Note 1) DM54 2.5 3.4 DM74 2.7 3.4 Conditions Max Units b 1.5 V VI Input Clamp Voltage VCC e Min, II e b18 mA VOH High Level Output Voltage VCC e Min, IOH e Max VIL e Max, VIH e Min Low Level Output Voltage VCC e Min, IOL e Max VIL e Max, VIH e Min DM54 0.25 0.4 DM74 0.35 0.5 IOL e 4 mA, VCC e Min DM74 0.25 0.4 VCC e Max VI e 7V Enable T II Input Current @ Max Input Voltage IIH High Level Input Current VCC e Max VI e 2.7V 0.2 Clock, Clear 0.2 Load 0.2 Others 0.1 Enable T 40 Load 40 Clock, Clear Low Level Input Current Enable T b 0.8 Clock, Clear b 0.8 Load b 0.8 Others ICCH ICCL Short Circuit Output Current Supply Current with Outputs High VCC e Max (Note 3) Supply Current with Outputs Low VCC e Max (Note 4) DM54 (Note 2) mA b 0.4 b 20 bs ol IOS VCC e Max mA 20 et IIL mA 40 Others VCC e Max VI e 0.4V V e VOL V b 100 b 20 DM74 mA b 100 18 31 18 32 mA mA Note 1: All typicals are at VCC e 5V, TA e 25 C. Note 2: Not more than one output should be shorted at a time, and the duration should not exceed one second. Note 3: ICCH is measured with the load high, then again with the load low, with all other inputs high and all outputs open. Note 4: ICCL is measured with the clock input high, then again with the clock input low, with all other inputs low and all outputs open. 'LS163 Switching Characteristics O at VCC e 5V and TA e 25 C (See Section 1 for Test Waveforms and Output Load) Symbol Parameter From (Input) To (Output) RL e 2 kX CL e 15 pF Min Max 25 CL e 50 pF Min Units Max fMAX Maximum Clock Frequency tPLH Propagation Delay Time Low to High Level Output Clock to Ripple Carry 25 30 ns tPHL Propagation Delay Time High to Low Level Output Clock to Ripple Carry 30 38 ns tPLH Propagation Delay Time Low to High Level Output Clock to Any Q (Load High) 22 27 ns tPHL Propagation Delay Time High to Low Level Output Clock to Any Q (Load High) 27 38 ns 5 20 MHz 'LS163 Switching Characteristics at VCC e 5V and TA e 25 C (See Section 1 for Test Waveforms and Output Load) (Continued) Symbol Parameter RL e 2 kX From (Input) To (Output) CL e 15 pF Min Max CL e 50 pF Min Units Max tPLH Propagation Delay Time Low to High Level Output Clock to Any Q (Load Low) 24 30 ns tPHL Propagation Delay Time High to Low Level Output Clock to Any Q (Load Low) 27 38 ns tPLH Propagation Delay Time Low to High Level Output Enable T to Ripple Carry 14 27 ns tPHL Propagation Delay Time High to Low Level Output Enable T to Ripple Carry 15 27 ns tPHL Propagation Delay Time High to Low Level Output Clear to Any Q (Note 1) 28 45 ns Logic Diagram O bs ol et LS163A e Note 1: The propagation delay clear to output is measured from the clock input transition. TL/F/6397 - 2 The LS161A is similar, however, the clear buffer is connected directly to the flip flops. 6 Parameter Measurement Information e Switching Time Waveforms TL/F/6397 - 3 et Note A: The input pulses are supplied by generators having the following characteristics: PRR s 1 MHz, duty cycle s 50%, ZOUT & 50X, tr s 10 ns, tf s 10 ns. Vary PRR to measure fMAX. Note B: Outputs QD and carry are tested at tn a 16 where tn is the bit time when all outputs are low. Note C: VREF e 1.5V. O bs ol Switching Time Waveforms TL/F/6397 - 4 Note A: The input pulses are supplied by generators having the following characteristics: PRR s 1 MHz, duty cycle s 50%, ZOUT & 50X, tr s 6 ns, tf s 6 ns. Vary PRR to measure fMAX. Note B: Enable P and enable T setup times are measured at tn a 0. Note C: VREF e 1.3V. 7 Timing Diagram Sequence: bs ol et e LS161A, LS163A Synchronous Binary Counters Typical Clear, Preset, Count and Inhibit Sequences (1) Clear outputs to zero (2) Preset to binary twelve (3) Count to thirteen, fourteen, fifteen, zero, one, and two O (4) Inhibit 8 TL/F/6397 - 5 9 e et bs ol O et e Physical Dimensions inches (millimeters) O bs ol Ceramic Leadless Chip Carrier Package (E) Order Numbers 54LS161ALMQB or 54LS163ALMQB NS Package Number E20A 16-Lead Ceramic Dual-In-Line Package (J) Order Numbers 54LS161ADMQB, 54LS163ADMQB, DM54LS161AJ or DM54LS163AJ NS Package Number J16A 10 et e Physical Dimensions inches (millimeters) (Continued) O bs ol 16-Lead Small Outline Molded Package (M) Order Number DM74LS161AM or DM74LS163AM NS Package Number M16A 16-Lead Molded Dual-In-Line Package (N) Order Numbers DM74LS161AN, DM74LS163AN NS Package Number N16E 11 e et bs ol 16-Lead Ceramic Flat Package (W) Order Numbers 54LS161AFMQB, 54LS163AFMQB, DM54LS161AN or DM54LS163AW NS Package Number W16A LIFE SUPPORT POLICY NATIONAL'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: O 54LS161A/DM54LS161A/DM74LS161A, 54LS163A/DM54LS163A/DM74LS163A Synchronous 4-Bit Binary Counters Physical Dimensions inches (millimeters) (Continued) 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. National Semiconductor Corporation 1111 West Bardin Road Arlington, TX 76017 Tel: 1(800) 272-9959 Fax: 1(800) 737-7018 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Europe Fax: (a49) 0-180-530 85 86 Email: cnjwge @ tevm2.nsc.com Deutsch Tel: (a49) 0-180-530 85 85 English Tel: (a49) 0-180-532 78 32 Fran3ais Tel: (a49) 0-180-532 93 58 Italiano Tel: (a49) 0-180-534 16 80 National Semiconductor Hong Kong Ltd. 13th Floor, Straight Block, Ocean Centre, 5 Canton Rd. Tsimshatsui, Kowloon Hong Kong Tel: (852) 2737-1600 Fax: (852) 2736-9960 National Semiconductor Japan Ltd. Tel: 81-043-299-2309 Fax: 81-043-299-2408 National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI's terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Communications and Telecom www.ti.com/communications Amplifiers amplifier.ti.com Computers and Peripherals www.ti.com/computers Data Converters dataconverter.ti.com Consumer Electronics www.ti.com/consumer-apps DLP(R) Products www.dlp.com Energy and Lighting www.ti.com/energy DSP dsp.ti.com Industrial www.ti.com/industrial Clocks and Timers www.ti.com/clocks Medical www.ti.com/medical Interface interface.ti.com Security www.ti.com/security Logic logic.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Power Mgmt power.ti.com Transportation and Automotive www.ti.com/automotive Microcontrollers microcontroller.ti.com Video and Imaging RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap Wireless Connectivity www.ti.com/wirelessconnectivity TI E2E Community Home Page www.ti.com/video e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright (c) 2011, Texas Instruments Incorporated