Draw circuits for 6T SRAM and 1T1C DRAM cells. Explain why SRAM needs cross-coupled inverters for bistability while DRAM needs a capacitor and refresh cycles due to leakage.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
This is a comprehensive question about semiconductor memory cells. Let me break this down systematically:
6T SRAM (Static Random Access Memory) cell
1T1C DRAM (Dynamic Random Access Memory) cell
Explanation of why each architecture is needed
Let me design clear circuit diagrams and explanations.
6T SRAM Cell
The 6T SRAM consists of:
2 cross-coupled inverters (4 transistors)
2 access transistors (2 transistors)
2 bit lines and 1 word line
Components:
M1, M3: Pull-up PMOS transistors in inverters
M2, M4: Pull-down NMOS transistors in inverters
M5, M6: Access NMOS transistors
WL (Word Line): Select signal
BL, BL_bar: Complementary bit lines
1T1C DRAM Cell
Components:
M1: Access transistor (NMOS)
C1: Storage capacitor
WL (Word Line): Select signal
BL (Bit Line): Read/write line
Now let me explain the principles:
Why SRAM needs cross-coupled inverters for bistability:
Bistability: Two stable states (0 and 1) due to positive feedback
Non-volatile storage: Data is maintained as long as power is on
Static behavior: No refresh needed
Fast access: No charge redistribution, direct data access
The cross-coupled configuration means:
If left node is High (1), it drives the right inverter output Low (0), which drives left node Low - creating stable state
If left node is Low (0), it drives right inverter output High (1), which drives left node High - another stable state
Why DRAM needs a capacitor and refresh:
The capacitor stores charge to represent data, with higher charge indicating a 1 and lower charge indicating a 0. A single access transistor makes the design far more compact than SRAM, but leakage currents—both junction leakage and subthreshold conduction—gradually discharge the capacitor over time. This necessitates periodic refresh cycles where the stored data is read and rewritten to restore the charge. Without these refresh operations or continuous power supply, the data becomes corrupted and is ultimately lost.
1. BISTABLE EQUILIBRIUM
═════════════════════
State 1: Q=1, Q_bar=0
┌─────────────────┐
│ Q=1 (HIGH) │
│ drives inverter│
│ output Q_bar=0 │──→ Drives Q back to 1
│ creating stable│
│ feedback loop │
└─────────────────┘
State 2: Q=0, Q_bar=1
┌─────────────────┐
│ Q=0 (LOW) │
│ drives inverter│
│ output Q_bar=1 │──→ Drives Q back to 0
│ creating stable│
│ feedback loop │
└─────────────────┘
2. POSITIVE FEEDBACK
═════════════════
Any perturbation is regenerated:
Q tries to rise → Q_bar tries to drop
→ But inverter amplifies this
→ Q rises further → Rapid restoration
This makes SRAM ROBUST and STABLE
3. ADVANTAGES
═════════════
✓ No refresh needed (static storage)
✓ Fast access times
✓ Deterministic behavior
✓ Immune to soft errors (temporarily)
✗ Larger area (6 transistors)
✗ Higher power consumption
DRAM: Why Capacitor + Refresh are Necessary
code
1. CHARGE STORAGE MECHANISM
════════════════════════
Logic "1": Capacitor charged to VDD
┌──────────────────┐
│ Q = VDD ~ 1.5-3V │ (High voltage = "1")
│ Charge = C×V │
└──────────────────┘
Logic "0": Capacitor discharged to 0V
┌──────────────────┐
│ Q = 0V │ (Low voltage = "0")
│ Charge = 0 │
└──────────────────┘
2. LEAKAGE PROBLEM
════════════════
CHARGE DECAY OVER TIME
VDD │ ●
│ \●
│ \●●
1/2 VDD│─────────● ← Still readable?
│ \●●
│ \●
0 │───────────────●
└────┬────┬────┬─────→ Time
1ms 10ms 100ms
Leakage sources:
• Junction reverse saturation current
• Subthreshold leakage through M1 gate
• Gate-induced drain leakage (GIDL)
Loss: ~1-10 mV per millisecond typical
3. REFRESH OPERATION REQUIRED
══════════════════════════
Timeline:
Before refresh: Q = 1.2V (degraded)
Read operation:
• Sense amplifier compares Q vs. (Q_bar or ref)
• Detects as "1" (still > threshold)
↓
Rewrite operation:
• M1 conducts full VDD back to capacitor
• Restores Q = VDD (3.0V fully charged)
Afterward: Q = VDD (restored)
Typical refresh period: 64 ms (DDR3/DDR4)
• All rows refreshed repeatedly
• This is MANDATORY for operation
4. ADVANTAGES vs. DISADVANTAGES
═════════════════════════════
✓ Compact (1 transistor vs. 6)
✓ Lower cost per bit
✓ Higher density
✗ Requires refresh circuitry
✗ Volatile (loses data without power)
✗ Slower than SRAM
✗ Destructive read (capacitor discharges)
Read/Write Operation Comparison
SRAM Read Operation
code
1. Equalize bit lines: BL = BL_bar = ½ VDD
2. Assert word line: WL = VDD
3. M5, M6 connect storage nodes to bit lines
4. Regenerative feedback amplifies small difference
5. Sense amplifier detects Q vs. Q_bar
Example - Reading "1":
├─ Q ≈ VDD
├─ Q_bar ≈ 0
├─ Access transistors turn on
├─ BL discharges slightly (Q_bar pulls it down)
├─ BL_bar charges slightly (Q pulls it up)
├─ Sense amp detects this differential
└─ Output: "1"
Non-destructive: Cell retains state
DRAM Read Operation
code
1. Precharge: BL ← VDD/2 (or GND)
2. Assert word line: WL = VDD
3. M conducts, shares charge between C and BL
Voltage division:
V_final = VDD/2 + (V_C - VDD/2)/(1 + C_BL/C_storage)
4. Sense amplifier detects ΔV on BL
5. Regenerates full logic level
Example - Reading "1":
├─ Capacitor had Q = 3.0V
├─ After charge sharing: V_BL ≈ 1.6V
├─ Sense amp compares to reference (1.5V)
├─ Detects > ref → "1"
└─ Restores both to full values
DESTRUCTIVE: Charge redistributes
Must refresh (write back) after every read
PHYSICS CONSTRAINTS
═══════════════════
SRAM Choice:
• Need fast, reliable volatile memory
• Bistability requires feedback (inverters)
• 6T is minimum practical configuration
• 4T SRAMs exist but require careful design
DRAM Choice:
• Need HIGH DENSITY memory (charge on capacitor)
• Leakage is FUNDAMENTAL (quantum tunneling, band-to-band)
• Cannot avoid—must manage with refresh
• Refresh overhead worth the massive density gain
(10-100x more bits per unit area)
Cost-Performance Tradeoff:
┌─────────────────────────────────────┐
│ SRAM │ Fast, small cost in │
│ (Cache) │ small quantity, but │
│ │ expensive at scale │
├─────────┼─────────────────────────┤
│ DRAM │ Moderate speed, huge │
│ (Main) │ volume, refresh │
│ Memory │ overhead manageable │
└─────────────────────────────────────┘
This architectural separation reflects the fundamental physics and economics of semiconductor memory design.