Memory organization

Memory is notated as Length * Width.
So, would mean memory that is 4M long and each location has 8bits.

Memory can be thought of as a matrix with rows and columns. The row number represents the address of the word. The word is just one full row.
Memory organization 2024-05-08 21.23.54.excalidraw.svg

Addressing

  • A word can have more than one byte in it. So, when we say byte addressable, we mean that each byte has its own address, and the starting byte's address being the address of the word.
  • Word addressable just means that each word has an address, and the address increments by one from word to word, and not from byte to byte.

Memory interleaving

  • If there is only one memory module, then memory access will be sequential.
  • We will have to wait for successive memory operations.
  • Instead, if we split up the memory into smaller modules, we parallelize this process.
    Click the heading to know more.

Byte storage

Bytes can be represented in two ways - Little and Big endian. Click the heading to know more.