Designing a 32K × 32-bit RAM using 128 × 8-bit RAM Chips

Designing a 32K × 32-bit RAM using 128 × 8-bit RAM Chips

Verified Sources
Nov 4, 2026

To build a larger RAM from smaller RAM chips, you match two dimensions:

  1. Depth (number of addressable words) and 2) Width (number of bits per word).

We are given chips of size 128 × 8:

  • Each chip contains 128 word locations (depth) and each location is 8 bits wide (width). Memory depth Memory width

We want a target RAM of 32K × 32:

  • Depth = 32K words
  • Width = 32 bits per word

A common rule for combining RAMs:

  • To increase width, connect chips in parallel (same address lines), using chip outputs to form a wider word.
  • To increase depth, connect chips in series / via decoding (use additional address bits and chip-select decoding) so only one bank is active for a given address.

The final number of chips is: chips=(32 bits8 bits per chip)×(32K words128 words per chip)\text{chips}=\left(\frac{32\text{ bits}}{8\text{ bits per chip}}\right)\times\left(\frac{32K\text{ words}}{128\text{ words per chip}}\right)

Key concepts (first used here):

  • Chip-select decoding
  • Parallel data bus
  • Address mapping

Note: This approach assumes standard RAM organization with independent chips that can be placed into width-parallel and depth-decoded banks.

How to Build a Larger RAM from Smaller RAM Chips (Depth & Width)

Compute required number of 128×8 chips for a 32K×32 RAM

  1. 1
    Step 1

    Each chip contributes 8 bits, so the number of chips in parallel for width is 32/8=432/8=4.

  2. 2
    Step 2

    Each chip provides 128 word locations, so the number of chips in series (decoded banks) for depth is 32K/12832K/128.

  3. 3
    Step 3

    32K=32×1024=3276832K=32\times1024=32768. Then 32768/128=25632768/128=256 banks are needed along depth.

  4. 4
    Step 4

    Total chips =4×256=1024=4\times256=1024.

  5. 5
    Step 5

    Option (iii) is 10241024.

Why 4times2564 \\times 256 is correct (visual intuition)

A 32-bit word can be split into four 8-bit slices:

  • bits [7:0][7:0] from chip bank A
  • bits [15:8][15:8] from chip bank B
  • bits [23:16][23:16] from chip bank C
  • bits [31:24][31:24] from chip bank D

So we need 4 chips per word address at a given depth location.

Then, because each chip only holds 128 word addresses, we need 256 such depth locations (decoded using higher address bits), meaning 256 depth banks, each containing 4 chips for width, hence 4×256=10244 \times 256 = 1024.

Chip count breakdown: width vs depth

Compute chips needed for a 32K×32 RAM using 128×8 chips.

Common memory-design pitfall

Don’t add factors. Chips for width are in parallel, chips for depth are in decoded banks—so you multiply the factors.

Watch the interpretation of “32K”

In digital design problems, “K” typically means 10241024. So 32K=3276832K=32768 addresses.

Quick check vs options

Knowledge Check

Question 1 of 4
Q1Single choice

For a target memory of 32K × 32, using chips of 128 × 8, what is the required number of chips?