Computer and Memory Organization Flashcards
What are the 3 main components of a computer system?
- CPU (central processing unit)
- Main memory
- I/O Devices
What is included in the system bus?
- Address bus
- Data bus
- Control bus
What does the size of the address bus determine determine?
- The width of the address bus determines how many bytes the processor can access
- Arm has 32-bit address bus
- The amount of physical memory that the processor can addresss is 232 bytes (4GB)
What does the width of the data bus determine?
The width determines the size of data transferried between process / memory
What is the control bus and what does it do?
- the control bus consists of a set of control signals
- These signals indicate what type of action is taking place on the system bus
- read/ write
- interrupt request
- interrupt acklnowledge
- bus request
- bus grant
What is bus congestion?
- If the processor and I/O wants to access the memroy at the same time
- only one device can access the memory and the other access request must be suspended until the cycle is completed
What is the program counter?
A special register which saves the address of the first instruction
What are the different levels of memory organization and which is the fastest?
- CPPU regusters
- Cache memory
- Main memory
- Secondary storage
1 ->4 most expensive to least expensive
1-> 4 fastest processing to slowest processing
What is byte addressable memory?
Each byte can be identified by its sequene number starting with zero
How many bits do the ARM Addresses require?
32 addresses x 8 bits = 256bits required for the addresses.
Hows does the number of address lines impact the size of memory?
Each word in the memory is assigned an identification number, the selection of a specific word inside memory is done by applying the k-bit address to the address lines.
1024 (210 or 1K) words requires 10 address bits
4G (232) words requires 32 address bits
What operations does the memory unit support?
Read and write, bitch!
What two metrics are used to categorize memory?
- Access time: the amount of time required to retreive the addressed location
- Memory cycle time: the minimum time between succesive memory operations
What are the 5 steps of a read cycle?
- Place the address of the location to be written on the address bus
- Place the data to be written on the data bus
- Activate the memory write control signal on the control bus
- Wait for the memory to store the data
- Stop the memory write control signal
What are the 5 steps of the write cycle?
- Place the address to be written to on the address bus
- Place the data to be written on the data bus
- Activate the memory write control signal on the control bus
- Wait for the memory to store the data at the addressed llocation
- Stop the memory write signal