Bit-Width Expansion (Parallel Chips)
In real systems, a single memory chip often provides only a small data width per access (e.g., 4/8/16 bits), while a CPU data bus is typically 32 or 64 bits. A basic solution is parallel chip organization: multiple chips share the same address/control signals and together provide the full word width.
The idea of a rank
Section titled “The idea of a rank”A rank is a logical group of chips that operate in parallel, sharing address/control signals and collectively providing a full data width.
- If each chip is ×8, then 8 chips can form a 64-bit rank.
- If each chip is ×16, then 4 chips can form a 64-bit rank.
Parallel organization increases word width, not the number of addressable words.
Experiment: Parallel organization of memory chips
Section titled “Experiment: Parallel organization of memory chips”Objectives
Section titled “Objectives”- Understand the width limitation of a single chip.
- Build a wider logical memory using parallel RAM blocks.
- Observe that chips in a rank read/write the same address simultaneously.
Principles
Section titled “Principles”Parallel chips share address/control. Each chip stores/outputs a subset of the word bits; data lines are concatenated logically.
Environment
Section titled “Environment”- Simulator: Logisim Evolution
Procedure
Section titled “Procedure”- Place two RAM blocks
- Place two RAMs:
RAM_LandRAM_H. - Set each to data bits = 8, address bits = 4.
- Place two RAMs:
- Share address and write-enable
- Place a 4-bit address input pin
ADDRand connect it to both RAM address ports. - Place
WEand connect to both RAMs.
- Place a 4-bit address input pin
- Split and join the data bus
- Place a 16-bit data input (CPU write data).
- Use a splitter to separate low 8 bits and high 8 bits.
- Low 8 →
RAM_Ldata; high 8 →RAM_Hdata. - Join the outputs into a 16-bit read data bus.
- Verify
- Write 16-bit data (e.g., 0xABCD) to an address.
- Confirm
RAM_Hstores 0xAB andRAM_Lstores 0xCD. - Read back and confirm the reconstructed 16-bit value matches.
- Repeat for at least two addresses.
Results
Section titled “Results”- Screenshot of the parallel RAM circuit.
- At least two test cases (different addresses and values).
- A brief explanation of how both RAMs participate in one access.
Questions
Section titled “Questions”- If you replace two ×8 RAMs with four ×4 RAMs, how do address and data wiring change?
- Does parallel organization change the number of addressable words? Why?
- To extend 16-bit to 32-bit, how many ×8 RAMs are needed?