COMPUTER STRUCTURE Flashcards
Relationship between data, address bus and the maximum amount of amount of memory
1) width of data bus determines the number of bits hat can be stored in each address
2) width of address bus determines the number of locations available
3) max memory is
2address * databus = answer in bits
2 types of rom
PROM - programmable ROM
EPROM - erasable programmable ROM
RAM VS ROM
Can edit RAM can’t edit ROM
Lose data in RAM, don’t lose data is ROM
Ways to improve system performance
1) Increase clock speed (processes more instructions per second)
2) increase width of data bus (more data processed per cycle)
3) increase size of cache (less slower F/E from RAM and more fast cache which is closer to CPU)
4) increase number of registers (less slower F/E from RAM as registers are in the cpu)
What is cache
- Fast temporary storage between CPU and RAM
* Cache stores frequently used instructions
How does cache improve system performance
Less slower F/E from RAM cycle. fast cache which is closer to the CPU
Give a situation where cache would not improve system performance
When are instructions are not in cache and main memory must be accessed
Differences between main memory and cache
- main memory is directly addressable by programmes, cache is not
- first level cache is typically on board processors, where as main memory is on completely separate chips
Advantage and disadvantage of dynamic ram
ADV:
Cheaper, use less power
DISAD:
Slower and need to be continuously refreshed
Give an advantage and disadvantage of static ram
ADV: faster access memory
DISAD:
more expensive and more complex