IAE Academy

GATE 2018 CS Q.23: solution and answer

GATE 2018 · CSQ.23 · 1 mark · NAT

A 32-bit wide main memory unit with a capacity of 1 GB is built using 256M × 4-bit DRAM chips. The number of rows of memory cells in the DRAM chip is . The time taken to perform one refresh operation is 50 nanoseconds. The refresh period is 2 milliseconds. The percentage (rounded to the closest integer) of the time available for performing the memory read/write operations in the main memory unit is ____________.

See the question in the paper

Answer and solution

ANSWER

The correct answer is 59.

Official answer: 59.0 to 60.0Source: Official answer key, GATE 2018 CS (IIT Guwahati)

  1. Chip capacity. Each DRAM chip is bits (1 Gbit) per chip.

  2. Number of chips. Total memory capacity bits. Number of chips . This also matches the width requirement: a 32-bit-wide bus built from 4-bit chips needs chips placed side by side to form one word.

  3. Rows and refresh operations. The chip has rows. Because all 8 chips are driven by the same row/column address lines (they only differ in which 4 of the 32 data bits they hold), one refresh cycle refreshes the same row number in all 8 chips at once. So only distinct refresh operations are needed for the entire memory unit — not .

  4. Total refresh time. .

  5. Time left for read/write. Refresh period , so time available for read/write .

  6. Percentage available. , which rounds to .

KEY IDEA

All chips in a memory bank that together form the data-bus width are driven by the same address lines and are refreshed in parallel, so the number of refresh operations equals the number of rows in ONE chip, not (rows × number of chips). Refresh time competes with read/write time inside a fixed refresh period, so the fraction of the period left for read/write is .

WATCH OUT FOR

Multiplying the row count by the number of chips (treating each chip as needing its own separate refresh pass), which gives refresh operations instead of , and lands on an answer far below the key.

From the GATE 2018 CS paper. Every question of this paper · Download the full paper · All 22 Memory & cache questions, with notes

More Memory & cache questions