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
What is SRAM
Static RAM
Holds data as long as the source of power is applied
What is DRAM?
Dynamic RAM
Complex memory device that uses a capacitor to store a bit. Leaks, so it must be refreshed periodically to charge.
Reading DRAM derstroys the charges on the cells, which makes it a destructive read memory
What is little endian
The LSB corresponds to the lowest address number (will be used for this course)
What is big endian
The MSB is stored with the lowest address number
What are process registers?
- Small memories within the CPU
- The fastest memory type
- The registers are referenced directly by specific instructions or by encoding a register number within a computer instruction
What types of process registers are there?
- General Purpose
- Special purpose
- Reserved For System
- Accessible to user programs
*
What is the instruction execute cycle?
- Fetch (read instruction from memory)
- Decode
- Execute
What happens during the fetch cycle?
- Program counter contents > adress bus
- Activate memory read > control bus
- Access time ( wait time during which the memory is read)
- Instruction is placed > data bus
- Processor reads the instruction when it is on the data bus
What happens during decoding?
- Segments of the instruction are identified and interpretted
- After decoding the correct control signals are activated
*
What happens during the execute cycle?
- The ALU performs the arithmetic or logical operations on the operands stored in the ALU registers
- The results are then stored
- Then the Fetch process begins again