Semiconductor memories: memory organisation and chip expansion, ROM types and ROM as a logic block, the 6T SRAM cell, the 1T1C DRAM cell with charge sharing and refresh, and how they compare.
1. Memory organisation and building larger memories
A memory of stores words of bits each. It needs address lines and data lines. Capacity bits. Remember , .
Control inputs: chip select (CS, or chip enable) activates the chip; read/write (R/ or write enable) chooses the operation. A deselected chip puts its data pins in high impedance, so many chips can share a data bus.
Building a memory from chips:
Width (word size) expansion: put chips side by side with the same address and CS; each supplies part of the word.
Depth (number of words) expansion: stack rows of chips. The low address bits go to every chip; the remaining high bits drive a decoder whose outputs are the chip selects.
Inside a chip the cells form a 2-D array. A row decoder selects one word line; a column decoder/multiplexer picks the bits. A square array of cells needs two -to- decoders instead of one huge -to- decoder.
A 2ⁿ × m memory chip: n address lines, m data lines, chip select and read/write control
2. ROM and ROM as a logic circuit
A read-only memory is non-volatile: it keeps data without power. Types by how data is written:
Type
Programmed by
Erased by
Mask ROM
manufacturer (mask)
cannot
PROM
user, once (fuses blown)
cannot
EPROM
user, electrically
UV light, whole chip
EEPROM
user, electrically
electrically, byte by byte
Flash
user, electrically
electrically, block by block
EPROM, EEPROM and flash store charge on a floating gate of a MOSFET.
ROM as combinational logic. A ROM is an -to- decoder (a fixed AND array generating every minterm) followed by a programmable OR array. Any functions of variables fit in it: write each function's truth table into the ROM.
Outputs that are always 0, or equal to an input, need not be stored, which can shrink .
Device
AND array
OR array
ROM
fixed (all minterms)
programmable
PLA
programmable
programmable
PAL
programmable
fixed
A 4 × 2 ROM as a decoder plus OR array, programmed as a half adder: S = m1 + m2, C = m3
3. SRAM: the 6T cell
A static RAM cell is a latch: two cross-coupled CMOS inverters (four transistors) hold and , and two access transistors connect them to the bit lines BL and when the word line WL is high. Total: six transistors (6T).
Hold: WL low; the inverters keep regenerating the stored value as long as power is on. No refresh is needed.
Read: both bit lines are precharged high, WL is raised, and the side storing 0 pulls its bit line down slightly. A sense amplifier detects the difference. The read is non-destructive.
Write: the bit lines are driven to the new value and its complement, WL is raised, and the strong drivers overpower the cell.
Properties: fast access, no refresh, low standby power, but volatile (data lost when power is removed) and large (six transistors per bit), so low density and high cost per bit. SRAM is used for cache memories and registers.
For correct operation the transistors are sized so that a read does not flip the cell (read stability) and a write can flip it (writability).
6T SRAM cell: cross-coupled inverters store Q and QB; two access transistors on word line WL connect them to BL and BLB
4. DRAM: the 1T1C cell, charge sharing and refresh
A dynamic RAM cell is one access transistor and one capacitor (1T1C). A charged stores 1, a discharged one stores 0. The cell is tiny, so DRAM has the highest density and lowest cost per bit; it is used for main memory.
Read by charge sharing. The bit line (capacitance ) is precharged to . When WL rises, the cell and bit line share charge:
is only tens of millivolts, so a sense amplifier is essential. The read is destructive: the cell charge is disturbed, so the sense amplifier writes the value back.
Refresh. Charge leaks away through the transistor and junction, so every row must be read and rewritten within the refresh period (typically a few tens of ms).
Distributed refresh: one row every .
Fraction of time lost to refresh .
Address multiplexing. DRAM sends the row address and then the column address on the same pins, latched by and . A -cell square array then needs only address pins.
SRAM
DRAM
ROM (flash)
Cell
6 transistors
1T + 1C
1 floating-gate MOSFET
Volatile?
yes
yes
no
Refresh?
no
yes
no
Read
non-destructive
destructive
non-destructive
Speed
fastest
slower
slow write
Density
low
high
high
Use
cache
main memory
firmware, storage
1T1C DRAM cell: the access transistor connects the storage capacitor Cs to the bit line, whose capacitance CBL is much larger
Formulas to remember
Capacityn address lines, m data lines
Chips neededTarget W × B from w × b chips; a log₂(W/w)-to-(W/w) decoder selects chip rows
ROM for a logic functionn inputs, m outputs
DRAM charge sharing
Bit-line swingBit line precharged to
Refresh interval per row
Refresh overhead
Common mistakes
Mixing up words and bits: a 2K × 8 chip holds 2048 words of 8 bits, that is 16 Kbit, not 2 Kbit.
Counting only depth or only width when finding the number of chips; multiply both ratios.
Saying SRAM needs refresh; only DRAM does, because its capacitor leaks.
Forgetting that a DRAM read is destructive and must be followed by a write-back.
Using the full supply voltage instead of the precharge level in the charge-sharing equation.
Halving the address pins for SRAM as well; row and column address multiplexing is a DRAM feature.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Building a 64K × 16 memory from 16K × 8 chips
numerical
How many chips are needed for a memory? How many address lines does the system need, how many go to each chip, and what decoder selects the chips?
Step 1: Count the chips.
Try it on paper first.
Example 2: ROM that squares a 4-bit number
numerical
A ROM must output the square of a 4-bit unsigned input ( to ). Find the ROM size needed directly, and the smallest size if trivial output bits are not stored.
Step 1: How many output bits?
Try it on paper first.
Example 3: DRAM read signal by charge sharing
numerical
A DRAM cell has and its bit line has . and the bit line is precharged to . Find the bit-line voltage change when the cell stores a 1 ().
Step 1: Apply charge conservation.
Try it on paper first.
Example 4: Refresh interval and overhead
numerical
A DRAM has 8192 rows and must refresh every row within . Each row refresh takes . With distributed refresh, find the interval between row refreshes and the fraction of time spent refreshing.
Step 1: Find the interval.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.