Memory | ||||||||||||||
How do we get larger amounts of memory? | ||||||||||||||
Think of memory as abstraction | ||||||||||||||
4K memory: like byte array M[4095] | ||||||||||||||
Give memory index of byte, get data value back | ||||||||||||||
Use 4 1K chips | ||||||||||||||
|
||||||||||||||
Each chip has elements C[0] up to C[1023] | ||||||||||||||
Chips are numbered 00, 01, 10, 11 | ||||||||||||||
Each chip contains 1024 of the elements (0 to 1023, 1024 to 2047, etc.) | ||||||||||||||
Where is element M[1025]? | ||||||||||||||
Chip 01 at index 1 | ||||||||||||||
Where is element M[3071]? | ||||||||||||||
Chip 10 at index 1023 | ||||||||||||||