← Analog & Mixed-Signal Interviews
Interview Question · Code Writing
Sizing a Transistor with gm/ID
The Question
The interviewer asks
You need g_m = 200 µS from an NMOS at a chosen length. Describe, step by step, how you size it with the g_m/I_D method (g_m/I_D is transconductance per unit of drain current).
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Pick g_m/I_D for the trade you want: high for low current, low for speed. Then I_D is g_m divided by g_m/I_D. Read the current density I_D/W from a measured chart for that length, and get W as I_D over that density. Finally check g_m on a bench. The chart works in any inversion region, where the square law would not.
- L = 0.15 µm
- L = 0.5 µm
- L = 1 µm
- log10 of I_D/W (A per µm) -10.5L = 0.15 µm = 25.18 · L = 0.5 µm = 26.45 · L = 1 µm = 28.31
At 32 pA/µm every length is deep in weak inversion, flat at its limit 1/(n·UT): 25.2, 26.4 and 28.3 per volt.
- log10 of I_D/W (A per µm) -6.198L = 0.15 µm = 21.16 · L = 0.5 µm = 20 · L = 1 µm = 18.16
The L = 0.5 µm curve crosses 20 at 0.634 µA/µm; above 20 we call a device weakly inverted.
- log10 of I_D/W (A per µm) -6L = 0.15 µm = 20.3 · L = 0.5 µm = 18.78 · L = 1 µm = 16.5
At 1 µA/µm the lengths spread to 20.3, 18.8 and 16.5, because a longer device leaves weak inversion at a lower density.
- log10 of I_D/W (A per µm) -5.557L = 0.15 µm = 17.83 · L = 0.5 µm = 15 · L = 1 µm = 12.07
L = 0.5 µm reaches 15 at 2.77 µA/µm, in the middle of moderate inversion, where the sizing example below starts.
- log10 of I_D/W (A per µm) -5L = 0.15 µm = 13.61 · L = 0.5 µm = 9.168 · L = 1 µm = 6.647
At 10 µA/µm the values are 13.6, 9.17 and 6.65, and the long devices are now in strong inversion, below 10.
- log10 of I_D/W (A per µm) -4L = 0.15 µm = 4.114 · L = 0.5 µm = 2.295 · L = 1 µm = 1.427
At 100 µA/µm gm/ID has fallen to 4.11, 2.29 and 1.43, so pushing more current through the same width buys little extra gm.
Read the plot as a table
| log10 of I_D/W (A per µm) | L = 0.15 µm | L = 0.5 µm | L = 1 µm |
|---|---|---|---|
| -10.5 | 25.18 | 26.45 | 28.31 |
| -10 | 25.16 | 26.35 | 28.15 |
| -9 | 25.04 | 25.89 | 27.4 |
| -8 | 24.65 | 24.7 | 25.54 |
| -7 | 23.47 | 22.67 | 22.44 |
| -6.198 | 21.16 | 20 | 18.16 |
| -6 | 20.3 | 18.78 | 16.5 |
| -5.557 | 17.83 | 15 | 12.07 |
| -5 | 13.61 | 9.168 | 6.647 |
| -4 | 4.114 | 2.295 | 1.427 |
The measured chart this method reads: gm/ID against current density, one curve per length.
- The current is set
IB pushes 6.667 µA into the drain, and M3 must carry all of it.
6.667 µA
- The amplifier finds the gate voltage
If the drain rises above 0.9 V, the amplifier raises the gate, M3 conducts more and pulls the drain back down, until the loop settles with VGS = 0.715 V.
- Read gm
Sweep IB a little and watch the gate: gm = ΔID/ΔVGS, and the lab measures 100.3 µS.
Read the circuit as text
- IB current source (6.667 µA): + →
VDD, − →d3 - M3 NMOS transistor (W/L = 2.4/0.5): gate →
g3, drain →d3, source →0 - E1 op-amp: −in →
n1, +in →d3, out →g3 - VREF voltage source (0.9 V): + →
n1, − →0
d3= 0.900 Vg3= 0.715 V
The last step: a bench that holds the sized device at its bias and measures gm.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Listen For (Junior)
A good junior answer walks through the four steps in order. It explains what a high g_m/I_D costs and what a low one costs.
What Interviewers Listen For (Senior)
A good senior answer builds the charts for each length from simulation. It picks g_m/I_D from a noise, speed and swing budget. It explains why one chart per length is enough.
Cross-Questions
Where the interviewer goes next. Open a node to practise that follow-up.
WhyWhat IfProve ItCompareScale It
- Sizing a Transistor with gm/ID
-
WhyWhy One Chart per Length Is EnoughL2 Mid-Level
Why does one measured g_m/I_D chart per channel length size a device of any width?
2:30You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
At a fixed length, g_m/I_D depends on how hard the channel is driven. The current density I_D/W captures that, not the width itself. Doubling W at the same density doubles I_D and g_m and leaves g_m/I_D unchanged. So one curve of g_m/I_D against density per length covers every width.
Self-Check
Tick each key point you covered in your answer.
-
Prove ItSolve E5.3.1: A Bench for the Five-Transistor OTASimulator-graded
Show it, don't just say it: this Silicon Lab problem is graded by the simulator.
-
What IfChanging Length After Sizing from the ChartL2 Mid-Level
What if you change the channel length after sizing from the chart? Can you keep the same chart?
2:30You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
No. The chart holds for one length, because g_m/I_D at a given density changes with L. Take the chart for the new length and read a new density for the same g_m/I_D. A longer device gives more r_o and gain, but it adds capacitance and is slower.
Self-Check
Tick each key point you covered in your answer.
Misconception
"Keep W/L the same and the operating point does not change."
That holds only under the square law. Short-channel effects change g_m/I_D at a fixed W/L, so read the chart for the new length.
Source Lesson E2.5 key points
-
CompareHigh vs Low gm/IDL1 JuniorL2 Mid-Level
Compare biasing a transistor at high g_m/I_D with biasing it at low g_m/I_D.
2:30You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
High g_m/I_D, near weak inversion, gives the most transconductance per microamp. But the device is wide and slow, and its threshold mismatch becomes a larger current error. Low g_m/I_D, strong inversion, costs current but gives small, fast devices and better current matching. Input pairs often sit high for noise and offset; mirrors and fast stages sit lower.
Self-Check
Tick each key point you covered in your answer.
-
Scale ItDesigning an OTA to a SpecificationL2 Mid-LevelL3 Senior
You get a brief for an OTA: load, unity-gain frequency, current budget, gain and input range. In what order do you size it?
2:30You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Start with f_u and C_L, which give g_m. The current budget then gives g_m/I_D (transconductance per unit current), and a measured chart gives W. The gain sets the length, and the input range checks the tail and the load. Keep margin on f_u, because the output node carries more than C_L. Check every line at every input level the brief names.
From Brief to Sized OTAArrows show which number feeds the next decision. Illustrative sequence- Speed sets gm
Into a capacitive load, fu = gm1/(2πCL), so gm1 ≥ 2π × 10 MHz × 2 pF = 125.7 µS. The output node carries more than CL, and the low end of the input range costs current, so aim 25 % higher: 157 µS.
- Current sets gm/ID
Keep 2 µA for the bias diode and copy it eight times for a 16 µA tail: about 8 µA per input device. Then gm/ID ≥ 157/8 = 19.6 V−1. Pick 22, in moderate inversion.
- The chart sets W; gain sets L
The chart below gives 0.181 µA/µm at gm/ID = 22, so W = 8 µA / 0.181 µA/µm = 44 µm: take 40. Gain is gm/(gds2 + gds4); at a fixed current only L moves the gds terms, and L = 1 µm clears 40 dB in E5.3's OTA.
- Range, then simulate
The lower edge is VGS1 + VDsat5: a wide pair keeps VGS1 low and a wide tail (8 × 8/2) keeps VDsat5 low. The upper edge is VDD − VSG3 + Vth1: a 4/1 load keeps VSG3 small. Then run every line of the brief.
Read the diagram as text
- fu and CL: 10 MHz into 2 pF
- gm of M1 and M2: ≥ 125.7 µS; aim 157 µS
- Current budget: 2 µA bias + 16 µA tail
- gm/ID: ≥ 19.6 /V; pick 22
- Width from chart: 0.181 µA/µm: W = 40 µm
- Length for gain: L = 1 µm for M1-M4
- Input range: tail 8 × 8/2, load 4/1
- Simulate and compare: every line at 0.7, 0.9, 1.1 V
- fu and CL → gm of M1 and M2: 2π·fu·CL
- gm of M1 and M2 → gm/ID
- Current budget → gm/ID: I_D ≈ 8 µA
- gm/ID → Width from chart
- Width from chart → Length for gain
- Length for gain → Input range
- Input range → Simulate and compare
Hand numbers come from formulas; the chart and the check come from runs.
Self-Check
Tick each key point you covered in your answer.
- Speed sets gm
-
Prove ItSolve E5.3.1: A Bench for the Five-Transistor OTASimulator-graded
Show it, don't just say it: this Silicon Lab problem is graded by the simulator.
-
Prove ItSolve E5.3.1: A Bench for the Five-Transistor OTASimulator-graded
Show it, don't just say it: this Silicon Lab problem is graded by the simulator.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
"g_m/I_D = 2/V_ov, so a small overdrive gives unlimited efficiency."
That is the square law. The device saturates at about 1/(n·U_T), 25 to 28 V⁻¹ for the sky130 1.8 V NMOS, once it enters weak inversion.
Source ASIC Point lesson E2.5 (measured; Jespers and Murmann, as cited)
Half-Truth
"Always bias at the highest g_m/I_D to save power."
High g_m/I_D needs wide devices with large capacitance, so the transistor gets slow. The choice is a trade between current, area and speed.