Memory Technologies
Subject: Hardware Chapter: 4.1 Memory Technologies Level: 2 — Recall / Standard Problems Time Limit: 30 minutes Total Marks: 50
Instructions: Answer all questions. Show working for numerical items. Use notation where appropriate.
Q1. State how many transistors form a standard SRAM cell and a standard DRAM cell, and name the storage element in each. (4 marks)
Q2. Explain why DRAM requires periodic refresh while SRAM does not. State what physically happens to stored data if a DRAM row is not refreshed. (4 marks)
Q3. Define the following ROM-family terms in one line each: (4 marks) (a) PROM (b) EPROM (c) EEPROM (d) Mask ROM
Q4. Compare NOR and NAND flash across three properties: random read access, storage density, and typical use case. (6 marks)
Q5. A DDR4 module runs at a bus (I/O) clock of with a 64-bit data path. (a) Explain why "DDR" doubles the effective data rate. (2 marks) (b) Calculate the peak data transfer rate in MT/s (mega-transfers per second). (2 marks) (c) Calculate the peak bandwidth in GB/s. (3 marks)
Q6. Briefly describe the operation of a floating-gate transistor: how a bit is stored, and how the stored charge changes the threshold voltage . (5 marks)
Q7. Define MLC, TLC, and QLC flash by the number of bits stored per cell, and state one trade-off that increases as bits-per-cell increases. (5 marks)
Q8. Explain the purpose of wear leveling in a flash controller and why it is needed (refer to erase/program cycle limits). (4 marks)
Q9. A memory system uses a SECDED ECC scheme (72 stored bits, 64 data bits). (a) How many check (parity) bits are used? (1 mark) (b) What error scenarios can this scheme handle? (2 marks) (c) Using the Hamming bound , verify that check bits suffice for data bits for single-error correction. (3 marks)
Q10. Name three emerging non-volatile memory technologies and state, for each, the physical mechanism used to store a bit. (6 marks)
End of Paper
Answer keyMark scheme & solutions
Q1. (4 marks)
- SRAM: 6 transistors (6T) — 1 mark. Storage element: a cross-coupled pair of inverters (bistable latch) — 1 mark.
- DRAM: 1 transistor + 1 capacitor (1T1C) — 1 mark. Storage element: the capacitor charge — 1 mark. Why: SRAM latches actively hold state; DRAM stores charge passively on a capacitor.
Q2. (4 marks)
- DRAM stores data as charge on a tiny capacitor which leaks away through junction/transistor leakage — 2 marks.
- Refresh periodically reads and rewrites each row to restore full charge (typically every ~64 ms) — 1 mark.
- SRAM's latch is continuously driven by power, so it holds state as long as powered — no leakage of state — 1 mark.
- If not refreshed: charge decays below the sense threshold and data is lost/corrupted — 1 mark (within cap).
Q3. (4 marks — 1 each)
- (a) PROM: programmable once by the user (e.g. blowing fuses); not erasable.
- (b) EPROM: erasable by UV light (whole chip), then reprogrammable electrically.
- (c) EEPROM: electrically erasable and reprogrammable, byte-addressable.
- (d) Mask ROM: contents fixed at manufacture via masking; cannot be changed.
Q4. (6 marks — 1 per correct cell)
| Property | NOR | NAND |
|---|---|---|
| Random read access | Fast, true random access (byte) | Slow, page-based (sequential) |
| Storage density | Lower (larger cell) | Higher (compact array) |
| Typical use | Code/execute-in-place (XIP), firmware | Mass storage (SSD, USB, SD) |
Q5. (7 marks)
- (a) DDR transfers data on both rising and falling edges of the clock, giving 2 transfers per clock cycle — 2 marks.
- (b) MT/s — 2 marks.
- (c) Bandwidth transfers/s × bytes/transfer B/s — 3 marks. (64-bit path = 8 bytes.)
Q6. (5 marks)
- A floating gate is an electrically isolated gate buried in oxide between control gate and channel — 1 mark.
- Programming: electrons are forced onto the floating gate (via Fowler–Nordheim tunneling / hot-electron injection) — 1 mark.
- Trapped negative charge raises the threshold voltage of the transistor — 1 mark.
- Reading applies a fixed control-gate voltage; whether the cell conducts depends on stored charge (high/low ⇒ programmed "0"/erased "1") — 1 mark.
- Charge is retained without power (non-volatile); erase removes electrons — 1 mark.
Q7. (5 marks)
- MLC = 2 bits/cell (4 levels) — 1 mark.
- TLC = 3 bits/cell (8 levels) — 1 mark.
- QLC = 4 bits/cell (16 levels) — 1 mark.
- Trade-off increasing with bits/cell (any one, 2 marks): lower endurance / reduced reliability / smaller noise margin / slower writes as more voltage levels must be distinguished.
Q8. (4 marks)
- Flash blocks tolerate a limited number of program/erase (P/E) cycles before wearing out — 2 marks.
- Wear leveling distributes writes evenly across all blocks so no single block is repeatedly cycled — 1 mark.
- This extends overall device lifetime and prevents premature failure of hot blocks — 1 mark.
Q9. (6 marks)
- (a) Check bits — 1 mark.
- (b) SECDED = corrects any single-bit error and detects (but not corrects) any double-bit error — 2 marks.
- (c) For single-error correction we need . With : try : ✓ (7 bits already suffice for SEC) — 2 marks. The 8th bit is the extra overall parity that upgrades SEC to SECDED — 1 mark.
Q10. (6 marks — 1 name + 1 mechanism each)
- MRAM: stores bit as magnetic orientation of a tunnel junction (resistance changes with magnetization).
- ReRAM (RRAM): stores bit as resistance state set by forming/rupturing a conductive filament in a dielectric.
- PCM: stores bit via phase change of chalcogenide material between crystalline (low-R) and amorphous (high-R) states.
[
{"claim":"DDR4 1600MHz bus gives 3200 MT/s","code":"bus=1600; mt=bus*2; result = (mt==3200)"},
{"claim":"DDR4-3200 x64 peak bandwidth = 25.6 GB/s","code":"mt=3200e6; bytes=8; bw=mt*bytes/1e9; result = (abs(bw-25.6)<1e-6)"},
{"claim":"72-64 SECDED uses 8 check bits","code":"result = (72-64 == 8)"},
{"claim":"k=7 satisfies Hamming SEC bound for m=64","code":"m=64; k=7; result = (2**k >= m+k+1)"}
]