Electrical Engineering › Section X · Processors and integrated circuit technologies › Topic X.4
IC operating characteristics and parameters
Two NAND gates with the same truth table can behave very differently on a real board. Supply voltage, noise margins, power, propagation delay and fan-out decide whether a logic circuit works reliably, how fast it runs and how hot it gets.
Beyond the truth table
The circuit technology inside a gate never changes its logic: a CMOS NAND and a TTL NAND obey the same truth table. What differs is electrical behaviour, which this topic measures. Classic TTL (transistor-transistor logic) runs from 5 V. CMOS (complementary metal-oxide semiconductor) logic families run from supplies anywhere from 5 V down to 1.8 V, and modern processor cores below 1 V. Diagrams omit the supply, but every package has a supply pin, \(V_{CC}\) (often \(V_{DD}\) for CMOS), and a ground pin. A 0.1 µF decoupling capacitor beside each chip's supply pin absorbs switching spikes.
The four voltage limits
The topic Programmable and fixed-function gates: logic levels and noise margins introduced the four limits: \(V_{IL(max)}\), the highest input read as LOW; \(V_{IH(min)}\), the lowest input read as HIGH; \(V_{OL(max)}\), the highest LOW output; and \(V_{OH(min)}\), the lowest HIGH output. Inputs between \(V_{IL(max)}\) and \(V_{IH(min)}\) may be read either way, so they must be avoided. Typical data-sheet limits, in volts, are:
The 5 V CMOS row is for the HC family near 5 V, with input limits at about 70% and 30% of the supply (3.15 V and 1.35 V at 4.5 V); exact limits depend on the supply, the load current and the temperature.
Noise margins between families
Noise is unwanted voltage picked up from nearby switching wires, radio sources or supply ripple. A noise margin is how much noise a signal can carry before an input may misread it:
Within one family, 5 V CMOS gives \(NM_H = 0.9\,\text{V}\) and \(NM_L = 1.17\,\text{V}\), while 5 V TTL and 3.3 V CMOS give 0.4 V for both. The same formulas test a connection between families: take \(V_{OH}\) and \(V_{OL}\) from the driving gate and \(V_{IH}\) and \(V_{IL}\) from the receiving gate. A negative margin means the connection fails even with no noise at all.
Worked example: can one family drive another?
Use the table's limits. 1. A 5 V TTL output drives a 5 V HC CMOS input: \(NM_H = 2.4 - 3.5 = -1.1\,\text{V}\). A valid TTL HIGH need not be read as HIGH, so the link fails. 2. The fix is the HCT family, CMOS with TTL-compatible inputs (\(V_{IH(min)} = 2.0\,\text{V}\), \(V_{IL(max)} = 0.8\,\text{V}\)): both margins become 0.4 V. 3. A 5 V HC output drives a TTL input: \(NM_H = 4.4 - 2.0 = 2.4\,\text{V}\) and \(NM_L = 0.8 - 0.33 = 0.47\,\text{V}\), so it works. 4. A 3.3 V CMOS output drives a 5 V TTL input: 0.4 V each way, so it works. The reverse, 5 V into a 3.3 V input, is safe only if the data sheet says that input is 5 V tolerant.
Power dissipation
A gate draws supply current \(I_{CCH}\) with its output HIGH and \(I_{CCL}\) with it LOW. For a 50% duty cycle,
TTL draws these currents all the time, so its power stays roughly constant with frequency. CMOS draws almost nothing when it is not switching, a few microwatts or less per gate. Each time its output switches, though, it charges or discharges the load capacitance C, so its dynamic power grows with frequency f:
Because power rises with the square of V, dropping supplies from 5 V to 3.3 V and below has been one of the main ways chips have cut their power.
Worked example: static and dynamic power
1. A 5 V gate draws \(I_{CCH} = 1.0\,\text{mA}\) and \(I_{CCL} = 3.0\,\text{mA}\). At a 50% duty cycle the average of the two is \(I_{CC} = 2.0\,\text{mA}\), so \(P_D = 5 \times 2.0 = 10\,\text{mW}\). 2. Check the extremes: always HIGH gives 5 mW and always LOW 15 mW, and 10 mW lies halfway, as it should. 3. A CMOS output on 3.3 V switches a total of 50 pF at 10 MHz:
4. The same load at 1.8 V uses \((1.8 \div 3.3)^2\), about 0.30 of that, about 1.6 mW. 5. Halving the frequency would halve either CMOS figure, but not the 10 mW.
Propagation delay and speed-power product
An output changes a short time after the input that caused it. The delay \(t_{PHL}\) is measured, between the 50% points of the two edges, when the output goes HIGH to LOW, and \(t_{PLH}\) when it goes LOW to HIGH; they are often unequal, and their mean is the average delay \(t_p\). Delays add along a path: three gates of \(t_p = 9\,\text{ns}\) in series take about 27 ns, which limits how fast the circuit can be clocked. Since speed and power usually trade against each other, families are compared by the speed-power product, \(t_p \times P_D\), in picojoules; lower is better. A 4 ns, 5 mW gate scores 20 pJ; a 9 ns, 2 mW gate scores 18 pJ, slightly better overall though slower.
Loading and fan-out
Fan-out is the number of inputs of a given family that one output can drive while staying within its specified levels. A TTL output sources current into each load input when HIGH, \(I_{IH}\), and sinks current out of each one when LOW, \(I_{IL}\). It can source at most \(I_{OH(max)}\) and sink at most \(I_{OL(max)}\); exceed these and \(V_{OH}\) falls or \(V_{OL}\) rises, eating the noise margin. So
using magnitudes. In TTL the LOW state usually limits it. CMOS inputs draw almost no steady current but each adds a few picofarads, so more loads slow the edges: CMOS fan-out is limited by the speed required.
Worked example: mixing TTL series
A 74LS output drives inputs of standard 74-series TTL. Typical maximum data-sheet currents: 74LS output, \(I_{OH} = 0.4\,\text{mA}\) and \(I_{OL} = 8\,\text{mA}\); standard 74 input, \(I_{IH} = 40\,\mu\text{A}\) and \(I_{IL} = 1.6\,\text{mA}\). 1. HIGH state: \(0.4\,\text{mA} \div 40\,\mu\text{A} = 10\) inputs. 2. LOW state: \(8 \div 1.6 = 5\) inputs. 3. The fan-out is the smaller figure, 5. 4. Check: five loads sink \(5 \times 1.6 = 8\,\text{mA}\), exactly the limit, so a sixth would overload the LOW state. By contrast, a 74LS output driving 74LS inputs (\(I_{IH} = 20\,\mu\text{A}\), \(I_{IL} = 0.4\,\text{mA}\)) has a fan-out of 20 in both states.
Common mistakes to avoid
First, taking \(V_{OH}\) and \(V_{IH}\) from the same gate when checking a link between two families: the output values belong to the driver, the input values to the receiver. Second, assuming any two 5 V parts connect safely: a TTL HIGH can fall below what HC CMOS needs. Third, quoting only one fan-out ratio: it is the smaller of the HIGH and LOW figures. Fourth, thinking CMOS power is fixed: it scales with frequency and with the square of the supply voltage. Fifth, measuring propagation delay from the start of an edge rather than between 50% points.
Key takeaways
Logic families differ electrically, not logically. The limits V_IL(max), V_IH(min), V_OL(max) and V_OH(min) give noise margins NM_H = V_OH(min) − V_IH(min) and NM_L = V_IL(max) − V_OL(max), using driver outputs and receiver inputs between families; TTL into HC fails, HCT fixes it. Static power is V_CC times the average of I_CCH and I_CCL; CMOS dynamic power is C V² f. Propagation delay t_p averages t_PLH and t_PHL, and the speed-power product t_p × P_D compares families. Fan-out is the smaller of I_OH/I_IH and I_OL/I_IL; CMOS is limited instead by load capacitance.
Flashcards
Flashcard
Highest input voltage guaranteed to be read as LOW
Test your understanding
Question 1 of 5
A driver has V_OH(min) = 2.4 V and V_OL(max) = 0.4 V. The receiver has V_IH(min) = 2.0 V and V_IL(max) = 0.7 V. What are the noise margins?
Question 2 of 5
A 5 V gate draws 2.0 mA with its output HIGH and 5.0 mA with it LOW. What is its average power at a 50% duty cycle?
Question 3 of 5
A CMOS output switches a 40 pF load at 5 MHz from a 3.3 V supply. About how much dynamic power does it use?
Question 4 of 5
A standard 74-series TTL output (I_OH = 0.4 mA, I_OL = 16 mA) drives 74LS inputs (I_IH = 20 µA, I_IL = 0.4 mA). What is its fan-out?
Question 5 of 5
Why can a standard TTL output fail to drive a 5 V HC CMOS input reliably?
