A transistor transistor logic circuit (TTL) uses bipolar junction transistors (BJTs) to perform both the logic gating function and the output amplification. Unlike Diode-Transistor Logic (DTL), which uses diodes for the input AND/OR gating, TTL relies entirely on transistor junctions. The most iconic implementation of this topology is the 7400 series—specifically the SN74LS00 quad 2-input NAND gate. While modern designs overwhelmingly favor CMOS for lower power consumption, understanding the discrete TTL topology remains essential for repairing legacy industrial equipment, interfacing with older backplanes, and grasping the fundamental physics of current-steering logic.
Inside the Topology: Discrete TTL NAND Nodes
In a monolithic IC like the SN74LS00, the input stage utilizes a single NPN transistor with multiple emitters. Because multi-emitter BJTs are not available as discrete components at the hobbyist parts counter, building a discrete transistor transistor logic circuit requires a functional equivalent. We substitute the multi-emitter input with two parallel NPN transistors (Q1A and Q1B) sharing a common base and collector, or by using input steering diodes feeding a single NPN.
Here is the node-by-node topology description for a discrete 2-input TTL NAND gate:
- Node Vcc: The 5.0V nominal power rail (acceptable range 4.75V to 5.25V).
- Node A & Node B: The logic inputs. These connect to the emitters of the input transistors (Q1A and Q1B).
- Node R1 (Pull-up): A resistor connecting Vcc to the common base of Q1A/Q1B. This provides the base current necessary to turn the input stage on.
- Node Q1_Collector: The shared collector of the input transistors, which feeds directly into the base of the phase splitter transistor (Q2).
- Node Q2 (Phase Splitter): A common-emitter NPN transistor. Its collector and emitter outputs are 180 degrees out of phase with each other, driving the totem-pole output stage.
- Node Q3 & Q4 (Totem-Pole Output): Q3 acts as the pull-up (source) transistor, and Q4 acts as the pull-down (sink) transistor. A diode is typically placed in series with Q3's emitter to provide the necessary voltage drop to prevent Q3 and Q4 from conducting simultaneously (shoot-through).
- Node Y: The logic output, taken from the junction between Q3's emitter diode and Q4's collector.
Behavior Matrix and Failure Extremes
The core advantage of the TTL totem-pole output is its low impedance in both the HIGH and LOW states, allowing it to drive capacitive loads and long wires much faster than a simple resistor pull-up. Below is the behavior table detailing the internal transistor states for a NAND configuration.
| Input A | Input B | Q1 (Input) State | Q2 (Splitter) State | Q3 (Pull-up) / Q4 (Pull-down) | Output Y |
|---|---|---|---|---|---|
| LOW (0.2V) | LOW (0.2V) | Saturated (ON) | OFF | Q3 ON / Q4 OFF | HIGH (~3.4V) |
| LOW (0.2V) | HIGH (3.4V) | Saturated (ON) | OFF | Q3 ON / Q4 OFF | HIGH (~3.4V) |
| HIGH (3.4V) | LOW (0.2V) | Saturated (ON) | OFF | Q3 ON / Q4 OFF | HIGH (~3.4V) |
| HIGH (3.4V) | HIGH (3.4V) | Reverse-Active (OFF) | Saturated (ON) | Q3 OFF / Q4 ON | LOW (~0.2V) |
What Breaks at the Extremes?
When prototyping or troubleshooting, component failures push the circuit into extreme states. Here is the failure-mode contrast:
- Open R1 (Base Pull-up Resistor): No base current can reach Q1. The input transistors remain permanently OFF. Q2 turns on via leakage or floating noise, pulling the output permanently LOW. The gate loses all logic functionality.
- Short Circuit on Output Y to Vcc (while Output is LOW): If the output is forced HIGH externally while Q4 is saturated LOW, massive current flows from Vcc through the external short, into Node Y, and down through Q4 to ground. Because standard TTL totem-poles lack current-limiting resistors on Q4's collector, Q4 will overheat and destructively fail within milliseconds.
- Shorted Q2 (Collector to Emitter): The phase splitter bypasses its control. Q4 receives continuous base drive and saturates permanently. The output is stuck LOW, and R2 (the Q2 collector pull-up resistor) will dissipate excess heat, potentially burning out if rated below 0.5W.
Design Walkthrough: Sizing Components for 5V Operation
If you are building a discrete transistor transistor logic circuit on a breadboard to replicate a 74LS00 NAND gate, you must size the resistors to balance switching speed, power dissipation, and fan-out capability. We will use standard 2N3904 NPN transistors (hFE ≈ 100-300) and a 5.0V Vcc supply. For deeper theoretical backing on these derivations, refer to the All About Circuits TTL chapter.
- R1 (Input Pull-up): 4.0 kΩ. This limits the base current into Q1. When an input is pulled LOW (0.2V), the voltage drop across R1 is roughly 4.3V (5.0V - 0.7V Vbe). This yields ~1.1mA of base current, which is sufficient to saturate Q1 without wasting excessive standby power.
- R2 (Q2 Collector Pull-up): 1.6 kΩ. This supplies base current to the Q3 pull-up transistor when Q2 is OFF. A lower value speeds up the HIGH transition but increases static power draw.
- R3 (Q2 Emitter Pull-down): 1.0 kΩ. This provides the base drive for Q4 when Q2 turns ON. It also helps sweep charge out of Q4's base during turn-off, improving the LOW-to-HIGH transition speed.
- R4 (Output Pull-down): 130 Ω. Placed between Q4's emitter and ground. This is a critical current-limiting resistor. It prevents Q4 from drawing destructive current if the output is accidentally shorted to Vcc, and it stabilizes the LOW output voltage under heavy sink loads.
For a comprehensive overview of how these resistor ratios affect propagation delay and power across different logic families, the Texas Instruments Logic Guide (SDYA013) remains the definitive reference text.
Breadboard Verification: Step-by-Step Testing
Testing a discrete TTL circuit requires verifying both the static DC logic levels and the physical wiring before applying full power. TTL logic thresholds are strict: a voltage below 0.8V is guaranteed LOW (V_IL), and a voltage above 2.0V is guaranteed HIGH (V_IH). Anything between 0.8V and 2.0V is an undefined transition region.
- De-energize and Wire: With the power supply OFF, insert the 2N3904 transistors and resistors according to the topology. Use 22 AWG solid copper wire. Double-check the flat-edge pinout of the 2N3904 (Emitter, Base, Collector from left to right when facing the flat side).
- Continuity Check: Set your multimeter to continuity mode. Verify that Vcc is not shorted to GND. Check that the emitters of Q1A and Q1B are isolated from each other but share a common base node.
- Apply Power: Turn on the bench supply and set it to exactly 5.00V. Measure the rail at the breadboard terminals; it should read no less than 4.95V.
- Test LOW-HIGH-Low: Tie Input A and Input B to GND (LOW). Measure Node Y with the multimeter. It should read between 3.2V and 3.6V (HIGH).
- Test HIGH-HIGH-Low: Disconnect A and B from GND and tie them to Vcc (HIGH). Measure Node Y. It should drop to between 0.1V and 0.4V (LOW).
- Verify Floating Inputs: Disconnect Input A entirely (leave it floating). In a true transistor transistor logic circuit, the internal pull-up (R1) will cause the floating input to read as a logic HIGH. The output should remain LOW if B is also HIGH.
TTL vs CMOS: Why Choose This Topology Today?
In 2026, designing a new product with discrete TTL or even 74LS ICs is rare. CMOS (like the 74HC series) dominates due to its near-zero static power draw and wide voltage tolerance. However, TTL retains specific advantages in niche scenarios.
| Criteria | Transistor Transistor Logic (74LS) | CMOS Logic (74HC) |
|---|---|---|
| Power Consumption | High (~2mW per gate static) | Extremely Low (µW range static) |
| Unconnected Inputs | Predictable (floats HIGH via internal R1) | Unpredictable (high impedance, picks up noise) |
| Drive Capability (Sink) | Excellent (up to 8mA - 16mA I_OL) | Moderate (typically 4mA - 6mA I_OL at 5V) |
| ESD Sensitivity | Low (robust BJT junctions) | High (requires careful handling) |
| Propagation Delay | ~9ns (Fast switching) | ~8ns at 5V (Comparable, but varies with Vcc) |
Choose TTL when: You are repairing legacy 1980s/1990s industrial CNC backplanes, interfacing with older opto-isolators that require high sink currents, or working in high-EMI environments where floating CMOS inputs would cause erratic triggering.
Choose CMOS when: You are designing battery-powered embedded systems, need to operate at 3.3V logic levels, or require massive fan-out without buffering.
Frequently Asked Questions
What is the difference between transistor transistor logic and CMOS?
The fundamental difference lies in the active components and how they handle current. A transistor transistor logic circuit uses bipolar junction transistors (BJTs) that are current-controlled devices; they require continuous base current to maintain a logic state, leading to higher static power dissipation. CMOS (Complementary Metal-Oxide-Semiconductor) uses field-effect transistors (MOSFETs) that are voltage-controlled. Once a CMOS gate switches, the gate draws virtually zero steady-state current, making it vastly more power-efficient, though historically slower and more sensitive to electrostatic discharge than TTL.
Why do unused inputs in a transistor transistor logic circuit float high?
In a standard TTL NAND gate, the input stage consists of an NPN transistor with its base connected to Vcc through a pull-up resistor (typically 4kΩ). If an emitter (the logic input) is left unconnected, there is no path to ground for the base current. Consequently, the base-emitter junction remains unbiased, but the base-collector junction acts as a forward-biased diode, turning on the next stage in the circuit. Electrically, the internal resistor pulls the open node up to a voltage that the subsequent phase-splitter transistor interprets as a logic HIGH. Despite this, best practice dictates tying unused TTL inputs to Vcc or to a used input to prevent noise coupling.
Can I mix 74LS TTL and 74HC CMOS in the same 5V circuit?
Yes, but with strict directional rules. A 74HC CMOS output can easily drive a 74LS TTL input because the HC output swings fully to 5V (well above the 2.0V TTL V_IH threshold). However, driving a 74HC input from a 74LS output is problematic. A standard 74LS gate only guarantees a HIGH output voltage (V_OH) of 2.7V. While 2.7V is technically above the 2.0V minimum for some CMOS families, it leaves almost zero noise margin for the 74HC series, which prefers a HIGH closer to 3.5V at a 5V Vcc. If you must drive HC from LS, use a pull-up resistor (e.g., 1kΩ to 4.7kΩ) on the TTL output to force the HIGH voltage closer to 5.0V, or use the 74HCT series, which is specifically designed with TTL-compatible input thresholds.
How much current can a standard TTL output sink versus source?
Standard 74LS TTL outputs are highly asymmetrical. They are excellent at sinking current to ground (I_OL) but weak at sourcing current to a load (I_OH). A typical 74LS00 can safely sink up to 8mA while maintaining a valid LOW voltage (below 0.4V). Conversely, it can only source about 0.4mA while maintaining a valid HIGH voltage (above 2.7V). This is why TTL circuits typically drive LEDs by connecting the LED and a current-limiting resistor between Vcc and the gate output (active LOW), rather than between the output and ground.






