Designing a 32K × 32-bit RAM using 128 × 8-bit RAM Chips
To build a larger RAM from smaller RAM chips, you match two dimensions:
- 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:
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
- 1Step 1
Each chip contributes 8 bits, so the number of chips in parallel for width is .
- 2Step 2
Each chip provides 128 word locations, so the number of chips in series (decoded banks) for depth is .
- 3Step 3
. Then banks are needed along depth.
- 4Step 4
Total chips .
- 5Step 5
Option (iii) is .
Why is correct (visual intuition)
A 32-bit word can be split into four 8-bit slices:
- bits from chip bank A
- bits from chip bank B
- bits from chip bank C
- bits 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 .
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 . So addresses.
Quick check vs options
Knowledge Check
For a target memory of 32K × 32, using chips of 128 × 8, what is the required number of chips?