SN54/74LS192 SN54/74LS193 PRESETTABLE BCD/DECADE UP/DOWN COUNTER PRESETTABLE 4-BIT BINARY UP/DOWN COUNTER PRESETTABLE BCD / DECADE UP/ DOWN COUNTER PRESETTABLE 4-BIT BINARY UP/ DOWN COUNTER The SN54/74LS192 is an UP/DOWN BCD Decade (8421) Counter and the SN54/74LS193 is an UP/DOWN MODULO-16 Binary Counter. Separate Count Up and Count Down Clocks are used and in either counting mode the circuits operate synchronously. The outputs change state synchronous with the LOW-to-HIGH transitions on the clock inputs. Separate Terminal Count Up and Terminal Count Down outputs are provided which are used as the clocks for a subsequent stages without extra logic, thus simplifying multistage counter designs. Individual preset inputs allow the circuits to be used as programmable counters. Both the Parallel Load (PL) and the Master Reset (MR) inputs asynchronously override the clocks. • • • • • • • LOW POWER SCHOTTKY J SUFFIX CERAMIC CASE 620-09 16 1 Low Power . . . 95 mW Typical Dissipation High Speed . . . 40 MHz Typical Count Frequency Synchronous Counting Asynchronous Master Reset and Parallel Load Individual Preset Inputs Cascading Circuitry Internally Provided Input Clamp Diodes Limit High Speed Termination Effects 16 1 CONNECTION DIAGRAM DIP (TOP VIEW) VCC 16 P0 15 MR 14 TCD 13 TCU 12 PL 11 P2 10 N SUFFIX PLASTIC CASE 648-08 D SUFFIX SOIC CASE 751B-03 16 P3 9 1 ORDERING INFORMATION NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. 1 P1 2 Q1 3 Q0 4 CPD 5 CPU 6 Q2 7 Q3 SN54LSXXXJ SN74LSXXXN SN74LSXXXD 8 GND LOGIC SYMBOL 11 PIN NAMES CPU CPD MR PL Pn Qn TCD TCU Ceramic Plastic SOIC 15 1 10 9 LOADING (Note a) Count Up Clock Pulse Input Count Down Clock Pulse Input Asynchronous Master Reset (Clear) Input Asynchronous Parallel Load (Active LOW) Input Parallel Data Inputs Flip-Flop Outputs (Note b) Terminal Count Down (Borrow) Output (Note b) Terminal Count Up (Carry) Output (Note b) HIGH LOW 0.5 U.L. 0.5 U.L. 0.5 U.L. 0.5 U.L. 0.5 U.L. 10 U.L. 10 U.L. 10 U.L. 0.25 U.L. 0.25 U.L. 0.25 U.L. 0.25 U.L. 0.25 U.L. 5 (2.5) U.L. 5 (2.5) U.L. 5 (2.5) U.L. NOTES: a. 1 TTL Unit Load (U.L.) = 40 µA HIGH/1.6 mA LOW. b. The Output LOW drive factor is 2.5 U.L. for Military (54) and 5 U.L. for Commercial (74) b. Temperature Ranges. FAST AND LS TTL DATA 5-1 PL 5 CPU 4 CPD P0 P1 P2 P3 TCU 12 TCD 13 MR Q0 Q1 Q2 Q3 14 3 2 6 VCC = PIN 16 GND = PIN 8 7 SN54/74LS192 • SN54/74LS193 STATE DIAGRAMS 0 1 2 3 4 15 5 14 6 LS192 LOGIC EQUATIONS FOR TERMINAL COUNT 0 TCU = Q0 ⋅ Q3 ⋅ CPU TCD = Q0 ⋅ Q1 ⋅ Q2 ⋅ Q3 ⋅ CPD 1 2 3 4 15 5 14 6 13 7 LS193 LOGIC EQUATIONS FOR TERMINAL COUNT 13 7 12 11 10 9 TCU = Q0 ⋅ Q1⋅ Q2⋅ Q3 ⋅ CPU TCD = Q0 ⋅ Q1 ⋅ Q2 ⋅ Q3 ⋅ CPD 12 8 11 10 COUNT UP COUNT DOWN LS192 9 8 LS193 LOGIC DIAGRAMS P0 PL (LOAD) CPU (UP COUNT) 11 P1 15 P3 9 5 SD SD Q T SD Q T CD Q CPD (DOWN COUNT) MR (CLEAR) P2 10 1 SD Q T CD Q VCC = PIN 16 GND = PIN 8 = PIN NUMBERS CD Q TCD (BORROW OUTPUT) CD Q 6 2 Q1 7 Q2 LS192 FAST AND LS TTL DATA 5-2 13 Q 14 Q0 TCU (CARRY OUTPUT) T 4 3 12 Q3 SN54/74LS192 • SN54/74LS193 LOGIC DIAGRAMS (continued) P0 PL (LOAD) CPU (UP COUNT) 11 P1 15 P2 P3 10 1 9 5 12 SD SD Q T SD Q T CD Q SD Q T CD Q Q T CD Q CD Q 13 CPD (DOWN COUNT) MR (CLEAR) 4 14 3 6 2 Q0 Q1 7 Q2 LS193 VCC = PIN 16 GND = PIN 8 = PIN NUMBERS FAST AND LS TTL DATA 5-3 TCU (CARRY OUTPUT) Q3 TCD (BORROW OUTPUT) SN54/74LS192 • SN54/74LS193 FUNCTIONAL DESCRIPTION The LS192 and LS193 are Asynchronously Presettable Decade and 4-Bit Binary Synchronous UP / DOWN (Reversable) Counters. The operating modes of the LS192 decade counter and the LS193 binary counter are identical, with the only difference being the count sequences as noted in the State Diagrams. Each circuit contains four master/slave flip-flops, with internal gating and steering logic to provide master reset, individual preset, count up and count down operations. Each flip-flop contains JK feedback from slave to master such that a LOW-to-HIGH transition on its T input causes the slave, and thus the Q output to change state. Synchronous switching, as opposed to ripple counting, is achieved by driving the steering gates of all stages from a common Count Up line and a common Count Down line, thereby causing all state changes to be initiated simultaneously. A LOW-to-HIGH transition on the Count Up input will advance the count by one; a similar transition on the Count Down input will decrease the count by one. While counting with one clock input, the other should be held HIGH. Otherwise, the circuit will either count by twos or not at all, depending on the state of the first flip-flop, which cannot toggle as long as either Clock input is LOW. The Terminal Count Up (TCU) and Terminal Count Down (TCD) outputs are normally HIGH. When a circuit has reached the maximum count state (9 for the LS192, 15 for the LS193), the next HIGH-to-LOW transition of the Count Up Clock will cause TCU to go LOW. TCU will stay LOW until CPU goes HIGH again, thus effectively repeating the Count Up Clock, but delayed by two gate delays. Similarly, the TCD output will go LOW when the circuit is in the zero state and the Count Down Clock goes LOW. Since the TC outputs repeat the clock waveforms, they can be used as the clock input signals to the next higher order circuit in a multistage counter. Each circuit has an asynchronous parallel load capability permitting the counter to be preset. When the Parallel Load (PL) and the Master Reset (MR) inputs are LOW, information present on the Parallel Data inputs (P0, P3) is loaded into the counter and appears on the outputs regardless of the conditions of the clock inputs. A HIGH signal on the Master Reset input will disable the preset gates, override both Clock inputs, and latch each Q output in the LOW state. If one of the Clock inputs is LOW during and after a reset or load operation, the next LOW-to-HIGH transition of that Clock will be interpreted as a legitimate signal and will be counted. MODE SELECT TABLE MR PL CPU CPD H L L L L X L H H H X X H X X H H H L = LOW Voltage Level H = HIGH Voltage Level X = Don’t Care = LOW-to-HIGH Clock Transition FAST AND LS TTL DATA 5-4 MODE Reset (Asyn.) Preset (Asyn.) No Change Count Up Count Down SN54/74LS192 • SN54/74LS193 GUARANTEED OPERATING RANGES Symbol Parameter Min Typ Max Unit VCC Supply Voltage 54 74 4.5 4.75 5.0 5.0 5.5 5.25 V TA Operating Ambient Temperature Range 54 74 – 55 0 25 25 125 70 °C IOH Output Current — High 54, 74 – 0.4 mA IOL Output Current — Low 54 74 4.0 8.0 mA DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified) Limits S b l Symbol Min P Parameter VIH Input HIGH Voltage VIL Input LOW Voltage VIK Input Clamp Diode Voltage VOH Output HIGH Voltage VOL Output LOW Voltage IIH Input HIGH Current IIL Input LOW Current IOS Short Circuit Current (Note 1) ICC Power Supply Current Typ Max U i Unit 2.0 54 0.7 74 0.8 – 0.65 – 1.5 T Test C Conditions di i V Guaranteed Input HIGH Voltage for All Inputs V Guaranteed Input p LOW Voltage g for All Inputs V VCC = MIN, IIN = – 18 mA 54 2.5 3.5 V 74 2.7 3.5 V VCC = MIN,, IOH = MAX,, VIN = VIH or VIL per Truth Table VCC = VCC MIN, VIN = VIL or VIH per Truth Table 54, 74 0.25 0.4 V IOL = 4.0 mA 74 0.35 0.5 V IOL = 8.0 mA 20 µA VCC = MAX, VIN = 2.7 V 0.1 mA VCC = MAX, VIN = 7.0 V – 0.4 mA VCC = MAX, VIN = 0.4 V – 100 mA VCC = MAX 34 mA VCC = MAX – 20 Note 1: Not more than one output should be shorted at a time, nor for more than 1 second. AC CHARACTERISTICS (TA = 25°C) Limits S b l Symbol P Parameter Min Typ 25 32 Max U i Unit fMAX Maximum Clock Frequency tPLH tPHL CPU Input to TCU Output 17 18 26 24 ns tPLH tPHL CPD Input to TCD Output 16 15 24 24 ns tPLH tPHL Clock to Q 27 30 38 47 ns tPLH tPHL PL to Q 24 25 40 40 ns tPHL MR Input to Any Output 23 35 ns MHz FAST AND LS TTL DATA 5-5 T Test C Conditions di i 50V VCC = 5.0 CL = 15 pF SN54/74LS192 • SN54/74LS193 AC SETUP REQUIREMENTS (TA = 25°C) Limits S b l Symbol P Parameter Min Typ Max U i Unit tW Any Pulse Width 20 ns ts Data Setup Time 20 ns th Data Hold Time 5.0 ns trec Recovery Time 40 ns T Test C Conditions di i VCC = 5 5.0 0V DEFINITIONS OF TERMS SETUP TIME (ts) is defined as the minimum time required for the correct logic level to be present at the logic input prior to the PL transition from LOW-to-HIGH in order to be recognized and transferred to the outputs. tion. A negative HOLD TIME indicates that the correct logic level may be released prior to the PL transition from LOW-to-HIGH and still be recognized. RECOVERY TIME (trec) is defined as the minimum time required between the end of the reset pulse and the clock transition from LOW-to-HIGH in order to recognize and transfer HIGH data to the Q outputs. HOLD TIME (th) is defined as the minimum time following the PL transition from LOW-to-HIGH that the logic level must be maintained at the input in order to ensure continued recogni- FAST AND LS TTL DATA 5-6 SN54/74LS192 • SN54/74LS193 AC WAVEFORMS tW 1.3 V CPU or CPD tPHL Q 1.3 V tPLH 1.3 V 1.3 V Figure 1 CPU or CPD Pn 1.3 V tPHL tPLH tPHL TCU or TCD 1.3 V Qn 1.3 V tPLH 1.3 V NOTE: PL = LOW Figure 2 Figure 3 1.3 V Pn PL 1.3 V tw 1.3 V CPU or CPD tPHL tPLH tPHL 1.3 V Qn Figure 4 Figure 5 1.3 V 1.3 V th(H) ts(H) ts(L) th(L) Q=P 1.3 V MR 1.3 V PL Qn 1.3 V Q Pn trec tW PL 1.3 V tW trec 1.3 V CPU or CPD Q=P tPHL * The shaded areas indicate when the input is permitted * to change for predictable output performance Q Figure 6 1.3 V Figure 7 FAST AND LS TTL DATA 5-7