Getting Past The Razavi Book Without Losing Your Mind

Most people pick up Razavi's Design of Analog CMOS Integrated Circuit because it sits on every professor's recommended reading list and the library copy never has an available due date. The book is undeniably thorough, but it teaches you to derive equations before explaining what those equations actually tell you about a circuit. That sequence screws over a lot of students who then treat the book like a cookbook instead of a reference manual. My approach was different after my second tapeout. The LNA for a 2.4 GHz receiver had input matching off by nearly 4 ohms because I'd been using the long-channel approximation for transconductance and ignored the velocity saturation term that becomes dominant at 0.18 micron channel lengths. Razavi gives you the ideal equations, then puts velocity saturation as a footnote in Chapter 3. By the time I found it, I'd already spent three weeks debugging a schematic that looked perfect on paper. I stopped treating the derivations as gospel and started using them as starting points for simulation.

Why The Razavi Design Of Analog Cmos Integrated Circuit Still Matters

The book organizes analog CMOS design around physical intuition rather than black box formulas. That's its real value. Most textbooks throw a dozen topology variants at you and expect you to figure out which one works. Razavi builds each circuit from device physics, which means when something goes wrong you can trace the failure back to a parameter you understand instead of guessing which topology to swap in. The noise chapter alone justifies the reading time. Razavi derives the flicker noise expression and then immediately shows how it couples through a differential pair. The derivation isn't pretty, but it's correct, and more importantly he walks through why ignoring the correlation between gm and drain current noise leads to optimistic phase margin estimates in feedback circuits. I learned that lesson the hard way when my second stage phase margin dropped from 65 degrees in hand calculation to 28 degrees once I included the gate capacitance loading from the cascode devices. The book gets you most of the way there if you read it slowly. Current mirrors get a thorough treatment, but the standard textbook approach glosses over a practical problem. Channel length modulation isn't the only thing that kills output impedance in real layouts. Source/drain diffusion capacitance couples substrate noise directly into the mirror tail node, and that coupling changes the common mode rejection in ways the small signal model doesn't capture. I ended up adding a dummy PMOS replica structure adjacent to the current mirror and routing the bias line through a separate guard ring. The PSRR improved by roughly 18 dB at 100 MHz. The book mentions guard rings in passing but doesn't connect them to current mirror performance. That connection comes from doing the layout.

Practical Workflow For Actually Using The Material

Read the chapter on fold cascode OTAs before you touch any simulation software. The hand analysis takes about an hour for most people who've seen differential pairs before. After that, set up a Spectre or HSPICE sweep and vary W and L independently while tracking GBW and output swing. You'll notice the GBW plateaus around L equal to 0.35 microns for a typical 0.18 micron process. Beyond that point, longer channels only increase output resistance without improving bandwidth. That plateau tells you exactly where the optimum transconductance efficiency lives. When you get to the feedback chapter, stop deriving everything by hand and use an iterative approach instead. Calculate the open loop gain, simulate the pole locations, then adjust the compensation capacitor. Repeat until the phase margin lands between 55 and 70 degrees. The closed loop response usually stabilizes after two or three iterations. This method takes about 45 minutes per design compared to the two hours people spend chasing analytical solutions that assume ideal components. The instrumentation amplifier section in the book assumes matched resistors or matched transistor pairs. Real fabs don't deliver that. I designed a four op amp instrument amp for a sensor interface and got 60 dB of CMRR on paper. The silicon gave me 42 dB. The culprit was threshold voltage mismatch between the input pair transistors, which Razavi treats as a second order effect in the mismatches subsection. I solved it by increasing the gate area by 4x and adding a laser trim option on the resistor network. The trim brought CMRR back above 70 dB across temperature. The book doesn't cover laser trimming, but the mismatch statistics in Appendix B give you the framework to estimate how much area you need to buy yourself.

Get the Full Details

DESIGN OF ANALOG CMOS INTEGRATED CIRCUIT: Behzad Razavi: 9780071188159 ...
DESIGN OF ANALOG CMOS INTEGRATED CIRCUIT: Behzad Razavi: 9780071188159 ...

Common Mistakes That Waste Weeks

The biggest waste of time I see is treating the small signal model as the final answer. It isn't. The small signal model assumes the circuit operates in a narrow range around the bias point. If your output swing exceeds 30 percent of VDD, you're leaving the small signal region and the gain predictions become unreliable. I've watched people design amplifiers with 80 dB of predicted gain that delivered 35 dB in simulation because the tail current source entered triode during large signal operation. The solution is to check the compliance voltage of every current source in the signal path before you optimize for gain. Another mistake is ignoring the body effect in NMOS devices when they're used as active loads. The body effect reduces effective transconductance by roughly 15 to 20 percent in standard bulk processes. That reduction cascades through every gain calculation downstream. The workaround is to use a PMOS load or a folded cascode where the body is tied to the source. Both solutions cost area or headroom, but they're necessary when you need predictable gain. The bootstrap capacitor technique for improving output swing gets mentioned briefly in the common drain chapter. The concept works, but the bootstrap network introduces an additional pole near the switching frequency of the driver. If you're running at clock rates above 10 MHz, that pole interacts with the feedback network and creates peaking in the frequency response. I discovered this when testing a voltage follower for a SAR ADC reference buffer. The step response had a 12 nanosecond ringing artifact that traced back to the bootstrap capacitor value. Reducing the capacitor by half eliminated the ringing at the cost of 15 mV of additional output swing droop. Trade offs are the entire job.

What The Book Doesn't Cover Well

Razavi focuses heavily on discrete topologies and hand calculations. Modern analog design involves layout dependent effects, parasitic extraction, and simulation corner sweeps that the book doesn't address. You need to learn Spectre PVS or similar tools for process variation analysis separately. The book gives you the circuit topology and the design equations. It doesn't teach you how to verify that the topology survives corner simulation across temperature, voltage, and process variations. That training comes from running simulations and dealing with the failures. Time domain noise analysis is another gap. The book covers thermal and flicker noise in the frequency domain, which is fine for most small signal applications. But if you're designing a switched capacitor filter or a continuous time delta sigma modulator, you need to simulate noise in the time domain using Monte Carlo methods or periodic steady state analysis. The frequency domain approach gives you a noise spectral density. The time domain approach gives you the actual RMS error at the output after sampling. Those two numbers can differ significantly, especially when aliasing is involved. For people who want to supplement Razavi, the design examples in Gray and Meyer's Analysis and Design of Analog Integrated Circuits provide more detailed numerical worked examples. The issue is that Gray and Meyer focus on bipolar and CMOS mixed technology, so the CMOS only sections feel less complete. For purely CMOS design, the practical supplement is running the simulations yourself and comparing them against the analytical results. The discrepancy between the two is where you learn the most.

The book also underweights the importance of power supply rejection in modern low voltage designs. At 1.2 volt supplies, a 10 millivolt ripple on the rail can shift the bias point enough to change the gain by several percent. The PSRR analysis in Razavi assumes supply voltages above 3 volts, where the relative ripple is much smaller. If you're designing for sub 1.8 volt processes, you need to add additional PSRR optimization steps that the book doesn't systematically cover. A simple technique is to use a low drop out regulator stage at the input of sensitive blocks, or to route the analog ground return separately from the digital ground. Both techniques add area and design complexity that you'll need to account for during the floorplan stage.

Design Of Analog Cmos Integrated Circuit Razavi at Bambi Foust blog
Design Of Analog Cmos Integrated Circuit Razavi at Bambi Foust blog