SEQUENTIAL LOGIC & FREQUENCY DIVISION · ENGINEERING REPORT

Modulo-N (Mod) Counters: Architectural Theory, IC 74LS90, IC 74LS93 & K-Map Synthesis

A comprehensive academic and engineering guide covering Asynchronous (Ripple) vs. Synchronous (Parallel) counters, glitch physics in truncated modulo circuits, hardware pinouts for TTL 74LS90 and 74LS93, cascaded high-modulus configurations, state tables, and Karnaugh map minimization for synchronous counter design.

✓ Modulo-N / Divide-by-N ✓ IC 74LS90 (Decade / BCD) ✓ IC 74LS93 (4-Bit Binary) ✓ Truncated Resets (Mod-6, Mod-12) ✓ K-Map State Synthesis

1. Executive Summary & Mathematical Foundations

A Modulo-N Counter (or Mod-N Counter) is a sequential digital logic circuit that cycles repetitively through a predetermined sequence of exactly \(N\) distinct binary states (\(0, 1, 2, \dots, N-1\)) before resetting back to its initial state (\(0\)).

Key Mathematical Properties:
1. Modulus (\(N\)): The total count of unique states traversed by the counter.
2. Frequency Division (\(\div N\)): A counter with modulus \(N\) divides the incoming master clock frequency by \(N\): \[ f_{\text{out}} = \frac{f_{\text{in}}}{N} \] The output waveform taken from the most significant flip-flop (MSB) has an exact frequency of \(f_{\text{in}} / N\).
3. Flip-Flop Requirement Inequality: To build a counter with modulus \(N\), the minimum number of binary storage flip-flops (\(n\)) is governed by: \[ 2^n \ge N \iff n = \lceil \log_2 N \rceil \]

Standard Modulo Requirements Table

Target Modulus (\(N\)) Required Flip-Flops (\(n\)) Natural Capacity (\(2^n\)) State Count Range Classification Typical Engineering Application
Mod-2 (\(\div 2\)) 1 2 0 to 1 Natural (Power-of-2) Toggle Flip-Flop, 50% Duty-Cycle Halver
Mod-5 (\(\div 5\)) 3 8 0 to 4 Truncated (\(N < 2^n\)) 74LS90 Section 2 (Divide-by-5)
Mod-6 (\(\div 6\)) 3 8 0 to 5 Truncated (\(N < 2^n\)) Digital Clock: Seconds & Minutes Tens Digit (\(0 \to 5\))
Mod-7 (\(\div 7\)) 3 8 0 to 6 Truncated (\(N < 2^n\)) Calendar: Days of the Week (\(0 \to 6\))
Mod-8 (\(\div 8\)) 3 8 0 to 7 Natural (Power-of-2) 74LS93 Section 2 (3-bit Octal Ripple)
Mod-10 (\(\div 10\)) 4 16 0 to 9 Truncated (BCD Decade) 74LS90 Decade Counter, 7-Segment Display Driver
Mod-12 (\(\div 12\)) 4 16 0 to 11 Truncated (\(N < 2^n\)) 12-Hour Digital Clock Hours Digit
Mod-16 (\(\div 16\)) 4 16 0 to 15 Natural (4-Bit Binary) 74LS93 Full 4-Bit Binary Counter, Hexadecimal Math
Mod-24 (\(\div 24\)) 5 32 0 to 23 Truncated (\(N < 2^n\)) 24-Hour Military Time Digital Clock
Mod-60 (\(\div 60\)) 6 64 0 to 59 Truncated Cascaded Digital Clock: Cascaded Seconds & Minutes Stages (\(10 \times 6\))
Mod-100 (\(\div 100\)) 7 128 0 to 99 Truncated Cascaded 2-Digit BCD Decade Frequency Counter
Mod-256 (\(\div 256\)) 8 256 0 to 255 Natural (8-Bit Binary) Cascaded Dual 74LS93, Byte Baud Rate Generator

2. Classification & Glitch Physics

Asynchronous (Ripple) Counters

  • Clocking: Only the first stage (\(Q_A\)) receives the master external clock. Subsequent flip-flops are clocked by the output of the preceding stage (\(Q_{n-1}\)).
  • Propagation Delay: Cumulative across all stages: \[ t_{\text{delay(total)}} = n \times t_{pd} \]
  • Hardware Simplicity: No lookahead gating required; extremely simple wiring.
  • Speed Limitation: Maximum operating clock frequency drops as stages are added (\(f_{\max} < 1 / (n \cdot t_{pd})\)).
  • Benchmark ICs: IC 74LS90 (Decade), IC 74LS93 (4-bit binary), CD4040.

Synchronous (Parallel) Counters

  • Clocking: All flip-flops in the counter receive the identical master clock pulse simultaneously.
  • Propagation Delay: Constant, equal to a single flip-flop plus steering gate delay: \[ t_{\text{delay(total)}} = t_{pd} + t_{\text{gate}} \]
  • Hardware Complexity: Requires combinational lookahead steering logic (AND gates or K-map minimized control networks).
  • High-Speed Operation: No cumulative ripple delay; ideal for gigahertz processors and DSP pipelines.
  • Benchmark ICs: IC 74LS160 (BCD Synchronous), IC 74LS161 / 74LS163 (4-bit Binary Synchronous).

Glitch Physics & Asynchronous Reset Dynamics

How Truncated Asynchronous Resets Work in Hardware:
To force an \(n\)-bit counter to cycle through \(N\) states (\(0\) through \(N-1\)), we decode the binary representation of state \(N\) using combinational AND/NAND gates and feed the output to the active Master Reset pins (\(R_0\)).
  1. The counter counts cleanly from state \(0\) up through state \(N-1\).
  2. On the next clock falling edge, the flip-flops momentarily switch to state \(N\).
  3. Within \(\approx 10\text{--}30\,\text{ns}\) (the internal propagation delay of the reset gating), the Master Reset triggers, forcing all flip-flops immediately back to \(0000_2\).
  4. Because this reset spike lasts only a few nanoseconds, human eyes, 7-segment displays, and standard digital peripherals never see state \(N\). Exactly \(N\) stable states (\(0\) to \(N-1\)) are observed!

3. IC 74LS90: Decade / BCD Ripple Counter Engineering Guide

The 74LS90 / 7490 is a versatile asynchronous ripple counter housed in a standard 14-pin DIP package. It contains two separate, independent internal counter sections: Section 1: a divide-by-2 (\(\div 2\)) single flip-flop stage, and Section 2: a divide-by-5 (\(\div 5\)) 3-flip-flop ripple stage.

74LS90 14-Pin DIP Package Diagram

IC 74LS90 DIP-14 TOP VIEW .-----\_/-----. (Clock B / Mod-5) | 1 CP1 CP0 14 | (Clock A / Mod-2) (Reset-0 Gate 1) | 2 R01 NC 13 | (No Connection) (Reset-0 Gate 2) | 3 R02 QA 12 | (Output Bit 0 - LSB) (No Connection) | 4 NC QD 11 | (Output Bit 3 - MSB) (+5V Power Rail) | 5 VCC GND 10 | (0V System Ground) (Set-to-9 Gate 1) | 6 R91 QB 9 | (Output Bit 1) (Set-to-9 Gate 2) | 7 R92 QC 8 | (Output Bit 2) '-------------'
⚠️ CRITICAL POWER PIN WARNING:
Unlike conventional 7400-series DIP-14 chips which place \(V_{CC}\) on Pin 14 and \(GND\) on Pin 7, the 74LS90 and 74LS93 use non-standard power pins: Pin 5 = \(V_{CC}\) (+5V) and Pin 10 = \(GND\) (0V). Wiring Pin 14 to power will short the clock line!

Pin Function Descriptions

Pin # Symbol Type Function
1CP1 (I/P B)Clock InClock pulse input for Mod-5 section (Falling edge \(\downarrow\))
2\(R_{0(1)}\)InputMaster Reset-to-0 gate input 1 (ANDed with pin 3)
3\(R_{0(2)}\)InputMaster Reset-to-0 gate input 2 (ANDed with pin 2)
4NC-No internal connection
5\(V_{CC}\)Power+5V DC Power Supply Rail
6\(R_{9(1)}\)InputSet-to-9 (Preset) gate input 1 (ANDed with pin 7)
7\(R_{9(2)}\)InputSet-to-9 (Preset) gate input 2 (ANDed with pin 6)
8QCOutputBit 2 output (Binary weight \(2^2 = 4\))
9QBOutputBit 1 output (Binary weight \(2^1 = 2\))
10GNDPower0V Ground System Reference
11QDOutputBit 3 output / MSB (Binary weight \(2^3 = 8\))
12QAOutputBit 0 output / LSB (Binary weight \(2^0 = 1\), Mod-2)
13NC-No internal connection
14CP0 (I/P A)Clock InClock pulse input for Mod-2 section (Falling edge \(\downarrow\))

74LS90 Reset & Preset (Set-to-9) Truth Table

The master clear and preset functions operate asynchronously through internal 2-input AND gates: \[ \text{Reset Condition} = R_{0(1)} \cdot R_{0(2)} \qquad \text{Set-to-9 Condition} = R_{9(1)} \cdot R_{9(2)} \]

Reset-to-0 Inputs Set-to-9 Inputs Output Bits Operating Mode / Action
\(R_{0(1)}\) (Pin 2) \(R_{0(2)}\) (Pin 3) \(R_{9(1)}\) (Pin 6) \(R_{9(2)}\) (Pin 7) \(Q_D\) (Pin 11) \(Q_C\) (Pin 8) \(Q_B\) (Pin 9) \(Q_A\) (Pin 12)
1 1 0 X 0 0 0 0 Asynchronous Master CLEAR (Forced 0000)
1 1 X 0 0 0 0 0 Asynchronous Master CLEAR (Forced 0000)
X X 1 1 1 0 0 1 Asynchronous Master PRESET to BCD 9 (1001)
X 0 X 0 Count Count Count Count Normal Counting Mode (Clock Active)
0 X 0 X Count Count Count Count Normal Counting Mode (Clock Active)
0 X X 0 Count Count Count Count Normal Counting Mode (Clock Active)
X 0 0 X Count Count Count Count Normal Counting Mode (Clock Active)

74LS90 Mod-10 (BCD / Decade) Count Sequence (0 through 9)

To configure the 74LS90 as a Mod-10 Decade Counter: connect Master Clock to Pin 14 (\(\text{CP0}\)), jumper Pin 12 (\(Q_A\)) to Pin 1 (\(\text{CP1}\)), and tie all reset pins (\(R_{0(1)}, R_{0(2)}, R_{9(1)}, R_{9(2)}\)) to \(GND\).

Clock Pulse \(Q_D\) (Bit 3 - MSB) \(Q_C\) (Bit 2) \(Q_B\) (Bit 1) \(Q_A\) (Bit 0 - LSB) Decimal Value Internal Operation
000000Initial / Cleared State
100011QA toggles to 1
200102QA falling edge triggers Mod-5 stage (QB=1)
300113QA toggles to 1
401004QA falling edge advances Mod-5 (QC=1, QB=0)
501015QA toggles to 1
601106QA falling edge advances Mod-5 (QC=1, QB=1)
701117QA toggles to 1
810008QA falling edge advances Mod-5 (QD=1, QC=0, QB=0)
910019QA toggles to 1 (Max BCD state)
10 (Rollover)00000Natural BCD rollover back to 0000

Specialized 74LS90 Truncated Circuits

Truncated Mod-6 Counter (Digital Clocks)

Used for the Seconds Tens and Minutes Tens digits of real-time digital clocks (\(0 \to 5\)):

  • Wire Clock to Pin 14; jumper \(Q_A\) (Pin 12) to Pin 1 (\(\text{CP1}\)).
  • Connect \(Q_B\) (Pin 9) directly to \(R_{0(1)}\) (Pin 2).
  • Connect \(Q_C\) (Pin 8) directly to \(R_{0(2)}\) (Pin 3).
  • Ground \(R_{9(1)}\) and \(R_{9(2)}\).
  • Operation: Counts \(0, 1, 2, 3, 4, 5\). When count reaches 6 (\(0110_2\)), \(Q_C=1\) and \(Q_B=1\), activating \(R_{0(1)} \cdot R_{0(2)}=1\) and resetting to 0000 in \(\approx 15\,\text{ns}\).

Truncated Mod-7 Counter (Days of the Week)

Counts 7 discrete states (\(0, 1, 2, 3, 4, 5, 6\)) for weekly scheduling:

  • Reset condition is state \(7_{10} = 0111_2 \implies Q_A=1, Q_B=1, Q_C=1\).
  • Connect \(Q_A\) and \(Q_B\) into a 2-input AND gate (74LS08).
  • Connect the AND output to \(R_{0(1)}\) (Pin 2).
  • Connect \(Q_C\) directly to \(R_{0(2)}\) (Pin 3).
  • When count hits 7, all three bits trigger Master Clear instantly.

4. IC 74LS93: 4-Bit Binary Ripple Counter Engineering Guide

The 74LS93 / 7493 is a monolithic 4-bit binary ripple counter in a 14-pin DIP package. It consists of four master-slave flip-flops partitioned into: Section 1: a single flip-flop functioning as a divide-by-2 (\(\div 2\)) counter, and Section 2: a 3 flip-flop ripple chain functioning as a divide-by-8 (\(\div 8\)) counter. Unlike the 74LS90, the 74LS93 has no Set-to-9 preset pins (Pins 6 and 7 are NC).

74LS93 14-Pin DIP Package Diagram

IC 74LS93 DIP-14 TOP VIEW .-----\_/-----. (Clock B / Mod-8) | 1 CP1 CP0 14 | (Clock A / Mod-2) (Reset-0 Gate 1) | 2 R01 NC 13 | (No Connection) (Reset-0 Gate 2) | 3 R02 QA 12 | (Output Bit 0 - LSB) (No Connection) | 4 NC QD 11 | (Output Bit 3 - MSB) (+5V Power Rail) | 5 VCC GND 10 | (0V System Ground) (No Connection) | 6 NC QB 9 | (Output Bit 1) (No Connection) | 7 NC QC 8 | (Output Bit 2) '-------------'
TTL Floating Pin Rule:
In bipolar TTL technology, unconnected input pins float to Logic HIGH (1). Therefore, Pin 2 (\(R_{0(1)}\)) and Pin 3 (\(R_{0(2)}\)) MUST be actively grounded to \(GND\) to enable normal counting. Leaving them floating locks the counter permanently in reset (0000)!

Pin Function Descriptions

Pin # Symbol Type Function
1CP1 (I/P B)Clock InClock pulse input for \(\div 8\) Mod-8 counter (Falling edge \(\downarrow\))
2\(R_{0(1)}\)InputMaster Reset gate input 1 (ANDed with pin 3)
3\(R_{0(2)}\)InputMaster Reset gate input 2 (ANDed with pin 2)
4NC-No internal connection
5\(V_{CC}\)Power+5V DC Power Supply Rail
6NC-No internal connection (NC on 74LS93)
7NC-No internal connection (NC on 74LS93)
8QCOutputBit 2 output (Binary weight \(2^2 = 4\))
9QBOutputBit 1 output (Binary weight \(2^1 = 2\))
10GNDPower0V Ground System Reference
11QDOutputBit 3 output / MSB (Binary weight \(2^3 = 8\))
12QAOutputBit 0 output / LSB (Binary weight \(2^0 = 1\), Mod-2)
13NC-No internal connection
14CP0 (I/P A)Clock InClock pulse input for \(\div 2\) Mod-2 counter (Falling edge \(\downarrow\))

74LS93 Asynchronous Master Reset Truth Table

Reset Input \(R_{0(1)}\) (Pin 2) Reset Input \(R_{0(2)}\) (Pin 3) \(Q_D\) (MSB) \(Q_C\) \(Q_B\) \(Q_A\) (LSB) Operating Mode / Action
1 (HIGH) 1 (HIGH) 0 0 0 0 Asynchronous Master Reset (Forced 0000)
0 (LOW) 0 (LOW) Count Count Count Count Normal Counting Mode (Clock Active)
0 (LOW) 1 (HIGH) Count Count Count Count Normal Counting Mode (Clock Active)
1 (HIGH) 0 (LOW) Count Count Count Count Normal Counting Mode (Clock Active)

74LS93 Complete 16-State Binary Count Table (0 through 15)

Configured as a Mod-16 Binary Up-Counter by tying Master Clock to Pin 14, jumpering Pin 12 (\(Q_A\)) to Pin 1 (\(\text{CP1}\)), and grounding Pins 2 & 3.

Clock Pulse \(Q_D\) (Pin 11) \(Q_C\) (Pin 8) \(Q_B\) (Pin 9) \(Q_A\) (Pin 12) Hex Value Decimal Output
000000x00
100010x11
200100x22
300110x33
401000x44
501010x55
601100x66
701110x77
810000x88
910010x99
1010100xA10
1110110xB11
1211000xC12
1311010xD13
1411100xE14
1511110xF15
16 (Rollover)00000x00 (Full 4-Bit Binary Rollover)

Specialized 74LS93 Truncated & Cascaded Circuits

Truncated Mod-12 Counter (12-Hour Digital Clock)

Used to count hours \(0 \to 11\) in a standard 12-hour digital clock:

  • Wire Clock to Pin 14; jumper \(Q_A\) (Pin 12) to Pin 1 (\(\text{CP1}\)).
  • Reset state is \(12_{10} = 1100_2 \implies Q_D=1, Q_C=1\).
  • Connect \(Q_C\) (Pin 8) directly to \(R_{0(1)}\) (Pin 2).
  • Connect \(Q_D\) (Pin 11) directly to \(R_{0(2)}\) (Pin 3).
  • No external gates required! The internal AND gate automatically resets the chip to 0000 upon reaching 12.

Cascaded Mod-24 Counter (24-Hour Military Time)

Uses two cascaded 74LS93 chips (Lower nibble IC 1, Upper nibble IC 2):

  • Cascade: Connect \(Q_D\) of IC 1 to Pin 14 of IC 2.
  • Reset condition is \(24_{10} = 0001\,1000_2 \implies Q_{A2}=1\) and \(Q_{D1}=1\).
  • Feed \(Q_{A2}\) (IC 2 Pin 12) and \(Q_{D1}\) (IC 1 Pin 11) into a 2-input AND gate (74LS08).
  • Connect the AND output to the \(R_0\) reset pins of both ICs to clear to \(0000\,0000_2\).

5. Multi-IC Cascading Matrix & High Modulus Implementations

Higher modulus values are synthesized by cascading multiple counter stages. In ripple cascading, the most significant output bit (\(Q_D\)) of the lower stage is tied directly to the clock input of the succeeding stage.

Target Modulus Observed States Hardware IC Architecture Inter-Stage Ripple Wiring Feedback Reset Equation / Gating
Mod-20 (\(\div 20\)) 0 to 19 IC 1 (74LS90 Mod-10) + IC 2 (74LS90 Mod-2) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Natural rollover (\(10 \times 2 = 20\)); no feedback gates needed.
Mod-24 (\(\div 24\)) 0 to 23 IC 1 (74LS93 Mod-16) + IC 2 (74LS93 Mod-16) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Reset at \(24_{10} = 0001\,1000_2 \implies Q_{A2} \cdot Q_{D1}\) into 7408 AND gate.
Mod-32 (\(\div 32\)) 0 to 31 IC 1 (74LS93 Mod-16) + IC 2 (74LS93 Mod-2) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Natural rollover (\(16 \times 2 = 32\)); pure 5-bit binary ripple.
Mod-50 (\(\div 50\)) 0 to 49 IC 1 (74LS90 Mod-10) + IC 2 (74LS90 Mod-5) IC 1 \(Q_D \to\) IC 2 \(\text{CP1}\) (Pin 1) Natural rollover (\(10 \times 5 = 50\)).
Mod-60 (\(\div 60\)) 0 to 59 IC 1 (74LS90 Mod-10) + IC 2 (74LS90 Mod-6) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) IC 2 has \(Q_{C2} \cdot Q_{B2} \to R_0\) reset loop (60s / 60min Digital Clock).
Mod-90 (\(\div 90\)) 0 to 89 IC 1 (74LS90 Mod-10) + IC 2 (74LS90 Mod-10) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Reset at Tens digit = 9 (\(1001_2\)): \(Q_{D2} \cdot Q_{A2} \to R_0\) of both ICs.
Mod-96 (\(\div 96\)) 0 to 95 IC 1 (74LS90 Mod-10) + IC 2 (74LS90 Mod-10) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Reset at \(96_{10}\) (\(\text{IC}_2=9, \text{IC}_1=6\)): \((Q_{D2} \cdot Q_{A2} \cdot Q_{C1} \cdot Q_{B1}) \to R_0\).
Mod-100 (\(\div 100\)) 0 to 99 IC 1 (74LS90 Units) + IC 2 (74LS90 Tens) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Natural 2-digit BCD decade rollover (\(10 \times 10 = 100\)).
Mod-256 (\(\div 256\)) 0 to 255 IC 1 (74LS93 Lower) + IC 2 (74LS93 Upper) IC 1 \(Q_D \to\) IC 2 \(\text{CP0}\) (Pin 14) Natural 8-bit pure binary ripple (\(16 \times 16 = 256\)). Full byte count.

6. Benchmark Hardware Comparison: IC 74LS90 vs IC 74LS93

Architectural Attribute IC 74LS90 (Decade / BCD Counter) IC 74LS93 (4-Bit Binary Counter)
Package Type 14-Pin DIP 14-Pin DIP
Primary Classification Decade / BCD Asynchronous Up-Counter (\(\div 10\)) 4-Bit Binary Asynchronous Up-Counter (\(\div 16\))
Internal Stage 1 \(\div 2\) (Mod-2): Clock I/P A (Pin 14) \(\to Q_A\) (Pin 12) \(\div 2\) (Mod-2): Clock I/P A (Pin 14) \(\to Q_A\) (Pin 12)
Internal Stage 2 \(\div 5\) (Mod-5): Clock I/P B (Pin 1) \(\to Q_B, Q_C, Q_D\) \(\div 8\) (Mod-8): Clock I/P B (Pin 1) \(\to Q_B, Q_C, Q_D\)
Combined Modulus (Cascaded) \(2 \times 5 = 10\) (Mod-10 / BCD Decade) \(2 \times 8 = 16\) (Mod-16 / 4-Bit Binary)
Maximum Natural Count Sequence 10 States (\(0000_2\) to \(1001_2\), \(0 \to 9\)) 16 States (\(0000_2\) to \(1111_2\), \(0 \to 15\))
Master Reset-to-0 Pins \(R_{0(1)}\) (Pin 2) and \(R_{0(2)}\) (Pin 3) — Active HIGH \(R_{0(1)}\) (Pin 2) and \(R_{0(2)}\) (Pin 3) — Active HIGH
Master Set-to-9 (Preset) Pins \(R_{9(1)}\) (Pin 6) and \(R_{9(2)}\) (Pin 7) — Active HIGH None (Pins 6 and 7 are NC — No Connection)
Power Supply Pins Pin 5 = \(V_{CC}\) (+5V), Pin 10 = \(GND\) (0V) Pin 5 = \(V_{CC}\) (+5V), Pin 10 = \(GND\) (0V)
Primary Target Application Decimal arithmetic, BCD 7-segment LED displays, digital clock units/tens Pure binary computing, byte memory addressing, frequency dividers, power-of-2 systems

7. Karnaugh Maps (K-Maps) & Synchronous Counter Synthesis

While asynchronous ripple counters rely on sequential clocking and reset gating, Synchronous Modulo Counters clock all flip-flops simultaneously. To design a synchronous Mod-N counter, we construct the state excitation table using JK Flip-Flops (or T Flip-Flops) and minimize the excitation expressions using Karnaugh Maps (K-Maps), treating all unused states (\(N\) to \(2^n-1\)) as Don't-Care conditions (\(X\)).

JK Flip-Flop Excitation Rule:
• Present State \(0 \to\) Next State \(0 \implies J = 0, K = X\)
• Present State \(0 \to\) Next State \(1 \implies J = 1, K = X\)
• Present State \(1 \to\) Next State \(0 \implies J = X, K = 1\)
• Present State \(1 \to\) Next State \(1 \implies J = X, K = 0\)

A. Synchronous Mod-5 Counter Design (States 0 to 4)

Requires 3 flip-flops (\(Q_C, Q_B, Q_A\)). State sequence: \(0 \to 1 \to 2 \to 3 \to 4 \to 0\). Unused states are 5, 6, 7 (\(101_2, 110_2, 111_2\)), which become Don't Cares (\(X\)).

K-Map for Flip-Flop A (\(J_A, K_A\))

\(Q_B Q_A\)\(Q_C\) 00011110
0 1 m0 X m1 X m3 1 m2
1 0 m4 X m5 X m7 X m6
\(J_A = \overline{Q_C}\) \(K_A = 1\) Don't-Care (5,6,7)

Minimal: \(J_A = \overline{Q_C}\), \(K_A = 1\)

K-Map for Flip-Flop B (\(J_B, K_B\))

\(Q_B Q_A\)\(Q_C\) 00011110
0 0 m0 1 m1 X m3 X m2
1 0 m4 X m5 X m7 X m6
\(J_B = Q_A\) \(K_B = Q_A\) Don't-Care (5,6,7)

Minimal: \(J_B = Q_A\), \(K_B = Q_A\)

K-Map for Flip-Flop C (\(J_C, K_C\))

\(Q_B Q_A\)\(Q_C\) 00011110
0 0 m0 0 m1 1 m3 0 m2
1 1 m4 X m5 X m7 X m6
\(J_C = Q_B \cdot Q_A\) \(K_C = 1\) Don't-Care (5,6,7)

Minimal: \(J_C = Q_B \cdot Q_A\), \(K_C = 1\)

B. Synchronous Mod-10 (BCD / Decade) Counter Design

Requires 4 flip-flops (\(Q_D, Q_C, Q_B, Q_A\)). State sequence: \(0000_2 \to 1001_2\) (\(0 \to 9\)). Unused invalid BCD states are 10, 11, 12, 13, 14, 15 (\(1010_2\) to \(1111_2\)), which are leveraged as Don't Cares (\(X\)) in 4-variable K-maps to drastically simplify the logic!

K-Map for \(J_B\) (Flip-Flop B Input)

\(Q_B Q_A\)\(Q_D Q_C\) 00011110
00 0 m0 1 m1 X m3 X m2
01 0 m4 1 m5 X m7 X m6
11 X m12 X m13 X m15 X m14
10 0 m8 0 m9 X m11 X m10
Group 1: \(\overline{Q_D} \cdot Q_A\) Don't Cares (10..15)

Minimal Expression: \(J_B = \overline{Q_D} \cdot Q_A\)   \(K_B = Q_A\)

K-Map for \(J_C\) (Flip-Flop C Input)

\(Q_B Q_A\)\(Q_D Q_C\) 00011110
00 0 m0 0 m1 1 m3 0 m2
01 X m4 X m5 X m7 X m6
11 X m12 X m13 X m15 X m14
10 0 m8 0 m9 X m11 X m10
Group: \(Q_B \cdot Q_A\) Don't Cares (10..15)

Minimal Expression: \(J_C = Q_B \cdot Q_A\)   \(K_C = Q_B \cdot Q_A\)

K-Map for \(J_D\) (Flip-Flop D - MSB Input)

\(Q_B Q_A\)\(Q_D Q_C\) 00011110
00 0 m0 0 m1 0 m3 0 m2
01 0 m4 0 m5 1 m7 0 m6
11 X m12 X m13 X m15 X m14
10 X m8 X m9 X m11 X m10
Group: \(Q_C \cdot Q_B \cdot Q_A\) Don't Cares (10..15)

Minimal Expression: \(J_D = Q_C \cdot Q_B \cdot Q_A\)   \(K_D = Q_A\)

Summary of Synthesized BCD Decade Counter Equations:
\[ J_A = 1, \quad K_A = 1 \quad \text{(LSB toggles on every single clock pulse)} \] \[ J_B = \overline{Q_D} \cdot Q_A, \quad K_B = Q_A \] \[ J_C = Q_B \cdot Q_A, \quad K_C = Q_B \cdot Q_A \] \[ J_D = Q_C \cdot Q_B \cdot Q_A, \quad K_D = Q_A \] Notice that when count is at 9 (\(1001_2\)), \(Q_D=1\), which inhibits Flip-Flop B from turning ON (\(J_B = 0 \cdot 1 = 0\)). At the same time, \(K_D = Q_A = 1\) resets \(Q_D\) back to 0 on the 10th clock, cleanly returning the whole system to \(0000_2\)!

8. Real-World Engineering Applications & Lab Experiments

1. Digital Quartz Clocks

Cascaded chains of 74LS90 (Mod-10 for seconds/minutes units) and truncated 74LS90 (Mod-6 for seconds/minutes tens) convert a 1Hz clock directly into 60-second and 60-minute time intervals.

2. Frequency Division & PLLs

Generates precise sub-harmonics from crystal oscillators (e.g., dividing a 10MHz oscillator down to 1MHz, 100kHz, 10kHz, or 1Hz) for telecommunication baud rates and microcontroller system clocks.

3. Memory & Address Generators

IC 74LS93 ripple counters serve as automatic sequential address generators for EEPROMs, DACs (waveform synthesizers), and FIFO memory buffers.