Skip to content
BetterDL

Memory bank

Also called: bank, banks, memory banks, chip bank

A group of memory chips placed side by side that share one chip select and together supply the full word width for one block of addresses.

When you need both a wider word and more words, you build in two steps. First, put enough chips side by side to make one full-width word: that group is a bank. Then stack several banks, each covering its own block of addresses.

Inside a bank:

  • all chips share the same address lines
  • all chips share one chip select
  • each chip supplies its own slice of the data bits

Across banks:

  • a decoder on the high address bits produces one select per bank
  • each decoder output drives the chip selects of every chip in that bank

So:

  • chips per bank = wanted word size ÷ chip word size (width expansion)
  • banks = wanted words ÷ chip words (depth expansion)
  • decoder outputs needed = number of banks, not number of chips

In a 64K × 16 system made of 16K × 4 chips there are 4 banks of 4 chips. A15 A14 choose the bank, and the chosen bank's four chips each return 4 bits of the 16-bit word.

A15A14CS0CS1CS2CS3

Worked example

Example

How many chips per select line?

A 32K × 32 memory is built from 8K × 8 chips.

  1. 1.

    Chips per bank: 32 ÷ 8 = 4.

  2. 2.

    Banks: 32K ÷ 8K = 4.

  3. 3.

    Each decoder output drives the CS of 4 chips, one bank.

  4. 4.

    Total chips: 16. Decoder: 2 bits, 4 outputs.

Common mistakes

  • Giving each chip in a bank its own decoder output. The whole bank must be selected together.

  • Counting banks as chips when sizing the decoder. A 16-chip system with 4 banks needs a 2-to-4 decoder.

  • Thinking a bank adds words. A bank widens the word; stacking banks adds words.

Practice Memory bank

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Memory bank is taught in Memory.