Designing a 32k × 32 RAM Using 128 × 8 Bit RAM Modules

Designing a 32k × 32 RAM Using 128 × 8 Bit RAM Modules

Verified Sources
Nov 4, 2026

To design a 32k×3232\text{k} \times 32 bit RAM using smaller 128×8128 \times 8 bit RAM chips, we match two dimensions:

  1. Depth (number of addressable words):
    32k32\text{k} words must be formed by stacking chips in the “word-depth” direction (typically using chip-select / address decoding).

  2. Width (bits per word):
    Each chip provides 8 bits per word, so we must combine chips to reach 32 bits per word.

We’ll compute the required chip count as:

  • Number needed for width: 32/832/8
  • Number needed for depth: 32k/12832\text{k}/128

Then total chips = (width chips) × (depth chips).

A helpful way to visualize the construction is:

Key keyword and [keyword]{def="Width: number of bits per stored word (e.g., 32 bits)} must align with the chip’s [keyword]{def="Memory word: one addressable unit of data (e.g., 32 bits)} and the chip organization’s keyword.

Chip-count calculation for 32k×32 from 128×8

  1. 1
    Step 1

    Each chip outputs 8 bits per addressed word, so you need 32/8=432/8=4 chips in parallel to form 32 bits.

  2. 2
    Step 2

    Each chip contains 128 words per address segment, so you need 32k/128=25632\text{k}/128=256 depth segments.

  3. 3
    Step 3

    Total chips = (width chips) × (depth segments) =4×256=1024=4 \times 256 = 1024.

  4. 4
    Step 4

    Since the total is 1024, the correct option is (iii) 10241024.

How width and depth determine the number of chips

Width scaling and depth scaling multiply to give the final chip count.

Interpretation of 128×8128 \times 8

A chip labeled 128×8128 \times 8 means:

  • Depth = 128 addressable locations
  • Word width = 8 bits per location

To build a larger RAM:

  • Parallel chips increase the word width (8 → 32 via 4 chips)
  • Multiple address segments increase the depth (128 → 32k via 256 segments)

Thus, total chips must scale in both dimensions:
N=(328)(32k128)=4×256=1024N = \left(\frac{32}{8}\right)\left(\frac{32\text{k}}{128}\right)=4 \times 256 = 1024

Pro Tip: Always separate width and depth

When the question is like A×BA\times B from C×DC\times D, first compute A/CA/C (depth) and then B/DB/D (width), then multiply. This avoids common mixing mistakes.

Warning: Don’t confuse address space with bit width

The factor for 32k/12832\text{k}/128 comes from how many addressable words a chip can store—not from the number of data bits.

Mental workflow for any RAM-chip composition problem

Read the chip organization

1

Interpret 128×8128\times 8 as 128 words × 8 bits."

Compute width scaling

2

Find how many chips in parallel to reach 32 bits."

Compute depth scaling

3

Find how many depth segments to reach 32k words."

Multiply and choose

4

Total chips = width chips × depth segments."

Answer-check and option verification

RAM composition quick checks

1 / 5
Question · Term

In $128\times 8$, what is the depth?

Click to reveal
Answer · Definition

Depth = 128 addressable words.

Knowledge Check

Question 1 of 4
Q1Single choice

To design a 32k×3232\text{k}\times 32 RAM using 128×8128\times 8 RAM chips, how many chips are required?