Sense Amplifiers
Differential sensing, precharging bitlines.
In modern SRAM and DRAM arrays, memory cells store data as very small voltage differences on paired bitlines. Directly reading these tiny differentials through the entire bitline capacitance would be too slow and would consume enormous power. The sense amplifier solves this by detecting a small differential voltage, typically just 50 to 200 mV, and rapidly amplifying it to a full logic level within nanoseconds. Understanding sense amplifiers is central to any serious study of memory design and VLSI.
Core Concept Explanation
A memory bitcell disturbs the bitline (BL) and its complement BL-bar by a tiny amount when a wordline is asserted. Before this, both bitlines are precharged to VDD (or VDD/2 in some designs) by a precharge circuit using PMOS transistors. When the selected cell pulls one bitline slightly lower, a small differential voltage develops between BL and BL-bar.
The sense amplifier is then enabled via the SAE (Sense Amplifier Enable) signal. The cross-coupled inverter pair inside the sense amplifier acts as a positive feedback loop. Whichever bitline is even slightly lower gets pulled all the way to GND, while the other gets pulled fully to VDD. This regenerative action happens in a few hundred picoseconds.
The two main types used in practice are the latch-type sense amplifier (also called a cross-coupled or current-latch SA) and the voltage-mode sense amplifier. The latch type dominates in SRAM because it combines detection and latching in one step, saving both area and power. DRAM typically uses a similar structure but must also account for charge refreshing after sensing.
Mathematical Expression
The sensing time depends on the differential voltage developed before enabling the SA. For a 6T SRAM cell, the voltage drop on the pulled-down bitline can be approximated. If the cell pull-down NMOS has an on-current I_cell and the total bitline capacitance is C_BL, the differential voltage developed in time t is approximately:
delta_V = (I_cell / C_BL) x t
A larger delta_V before SAE is asserted leads to faster and more reliable amplification. However, waiting longer increases access time. This tradeoff defines the timing of the SAE signal in a memory controller. Typical values: C_BL around 50 to 200 fF, I_cell around 10 to 50 uA, t around 1 to 5 ns, giving delta_V of 50 to 200 mV.
The sense amplifier's regeneration time constant is given by tau = C_in / (g_m), where C_in is the input capacitance seen at the SA and g_m is the transconductance of the sensing transistors. Smaller tau means faster sensing, which is why minimum-size transistors with high g_m per unit width are preferred in SA design.
Practical Understanding
In a real memory chip, hundreds or thousands of sense amplifiers are laid out in a row at the bottom of the bitline columns, a region called the sense amplifier bank. Each SA serves one bitline pair. The precharge transistors are placed at the top of the bitlines. Power consumption in a memory read operation is largely dominated by bitline precharge and discharge, which is why low-swing sensing (precharging to VDD/2 instead of VDD) is a common technique to reduce dynamic power.
The quality of a sense amplifier is judged by its offset voltage, which arises from transistor mismatch due to process variation. If two supposedly identical transistors in the cross-coupled pair have a Vth mismatch, the SA may sense incorrectly when delta_V is small. This is called a sense failure and is a major concern in advanced technology nodes where variation is large relative to device dimensions.
Given:
Bitline capacitance C_BL = 100 fF = 100e-15 F
Cell pull-down current I_cell = 20 uA = 20e-6 A
Time before SAE assertion t = 2 ns = 2e-9 s
Why this formula applies:
The bitline differential builds up as charge drains from one bitline through the cell transistor.
delta_V = (I_cell / C_BL) x t
Formula:
delta_V = I_cell * t / C_BL
Substitution:
delta_V = (20e-6 * 2e-9) / 100e-15
Calculation:
delta_V = (40e-15) / (100e-15)
delta_V = 0.4 V
Final Answer:
delta_V = 400 mV (well above the 50 mV minimum needed for reliable sensing)Exam Tip: GATE often asks whether sense amplifier is enabled before or after precharge is released. The correct sequence is: Precharge ON, Precharge OFF, Wordline ON, differential develops, then SAE is asserted. Reversing SAE and wordline order is a common trap in MCQs.
- Both bitlines are precharged to VDD before every read cycle using PMOS precharge transistors.
- When the wordline is asserted, the selected cell discharges one bitline, creating a small differential voltage delta_V.
- The SAE signal is then asserted, connecting the cross-coupled inverter pair to the supply rails.
- Positive feedback rapidly pulls the lower bitline to GND and the higher bitline to VDD.
- The output is then transferred to the data bus or I/O buffer, completing the read cycle.
Quick Revision
- Sense amplifier detects small differential voltage (50 to 200 mV) on BL and BL-bar and amplifies to full logic swing.
- Sequence: Precharge ON, Precharge OFF, Wordline ON, delta_V develops, SAE asserted.
- Key formula: delta_V = I_cell x t / C_BL. Larger current or smaller capacitance gives faster sensing.
- Latch-type (cross-coupled) SA is dominant in SRAM due to speed and area efficiency.
- Transistor mismatch causes offset voltage, leading to sense failures at small delta_V, critical in scaled nodes.
- GATE trap: Do not confuse SAE assertion timing. SAE is always asserted after wordline assertion and after sufficient delta_V has developed.
- Precharging to VDD/2 instead of VDD halves bitline swing and reduces dynamic power by 4x (since E = C V squared).
Sense Amplifiers Quiz
Test your technical knowledge on this topic.