Interconnection Structure Flashcards
Week 2.7 (57 cards)
describe interconnection as a computer component
- the way these components are interconnected defines performance, efficiency & scalability
- a well-designed interconnection structure minimises bottlenecks and enhances reliabiltiy
describe the hardwired configuration
- fixed arrangement of logic components designed for specific computation
- ‘program’ is built into hardware
- changing computation requires physicall modifying the circuit
characteristics of a hardwir3ed configuration
- optimised for speed & efficiency in a dedicated tabke
- lacks flexibility
- used in applications requiring high-performance fixed computations
describe general-purpose configuation
- a flexible set of arithmetic and logic functions controlled by external signals
- the same hardware can perform multiple computations by changing control inputs
- instead of rewiring hardware, control signals determine which operation is performed
characterisitcs of a general-purpose configuration
- programs executed as a sequence of steps, each requiring a new set of control signals
- control unit decodes & generates required control signals
- enables programmable computing - modern processors
define the instruction register
stores the fetched instruction, which the processor decodes & executes
what 4 actions can an instruction perform
- processor-memory
- processor-I/O devices
- data processing - arihtmetic or logic operations
- control - alter the sequency of execution
describe interrupts
- allow I/O and memory modules to signal the processor, temporarily halting normal execution
- reduces CPU idle time - no waiting for slower devices
- no interrupts = waiting for external devices to catch up
what are the 4 classes of interrupts
- program
- timer
- I/O
- hardware failure
what is a program interrupt
- generated by conditions occuring during instruction execution
- arithmetic overflow, division by 0, illegal instruction execution, memory access violation
what is a timer interrupt
triggered by a processor time, allowing the operating system to perform periodic tasks
what is a I/O interrupt
generated by an I/O controller to signal operation completion, request processor service or indicate errors
what is a hardware failure
caused by system failure such as power loss or memory parity errors
what does I/O execution look like without interupts
CPU processing blocked while waiting for the I/O to complete = inefficient
define interrupt handling
temporairly hold execution but the program resumes from the same point eithout special handling
describe the interrupt cycle process
- interrupt cycle added to the instruction cycle
- if an interrupt occurs:
○ the processor suspends execution and saves its current context
○ program counter is updated to the interrupt handler’s address
○ interrupt handler executes, determines the cause, and services the interrupt
○ once complete, execution resumes from where it was interrupted - introduces processing overhead but allows efficient task management
what are the 2 ways handling multiple interrupts
- sequential processing
- nested processing
describe sequential processing
- when an interrupt occurs, the processor disables further interrupts until the handler completes
- any pending interrupts remain and are checked after re-enabling interrupts
- ignores priorty = data loss
define nested processing
high-priority interrupts can interrupt low-priority handlers, ensuring urgent tasks are addressed for
describe exchanges for memory module
- a memory consists of N words of equal length, each with a unique address
- data can be read from or written into the memory based on control signals
- R & W operations specify the target address
describe exchanges for CPU module
- read instructions & data from memory
- write out process data
- uses control signals to manage system operations
- responds to interrupt signals
describe exchanges for the I/O module
- I/O operations - R & W functions
- can control multiple external devices via ports
- data transfer occurs through external data parts for I/O
- I/O modules can send interrupts
what are the 2 structures of interconnection
- bus interconnection
- point-to-point
describe bus interconnection
- dominant method
- bus = shared communciation pathway connecting major components
- only one device can transmit a single at a time to avoid conflicts
- consists of multiple lines: data, address & control groups)
- several lines can transmit data in parallel, ^ speed