Unit 5 - Computer Organisation and Architecture Flashcards
What is a computer system?
A computer system is any device that can take a set of inputs and process them into useful outputs
What components does the computer base unit contain?
Processor
Main memory
Address, control and data buses
Input/Output (I/O) controllers
What are the I/O controllers?
External devices such as printers, scanners, microphones etc. are produced by different manufacturers
They cannot be directly connected to the processor
An I/O controller for each peripheral device acts as an interface between the device and the computer
What are device drivers?
The software that interacts directly with the I/O controller is called a device driver
When you install a new device (e.g. a new printer) you must install the device driver for it
What are the tasks of an I/O controller?
The controller converts the signals received from a peripheral device into a format the computer can process, and vice versa
It receives I/O requests from the CPU, and then sends device-specific control signals to the device it is controlling
It also manages the data flow to and from the device, freeing the CPU to get on with other tasks
What is the job of the control bus?
The control bus is used to send control signals between each I/O controller and the processor, as well as between the processor and memory
What is the job of the address bus?
The address bus sends memory addresses from the processor to CPU components
What is the job of the data bus?
The data bus sends data between CPU components
What are some control signals?
Memory read
Memory write
Bus request
Bus grant
Clock
What is memory read?
Memory read: causes data from the addressed location to be placed on the data bus
What is memory write?
Memory write: causes data on the data bus to be written into the addressed location
What is bus request?
Bus request: indicates that a device is requesting use of the data bus
What is bus grant?
Bus grant: indicates that the CPU has granted access to the data bus
What is the clock?
Clock: used to synchronise operations
What is a bus?
Buses in a computer consist of a series of wires that transfer data signals between internal components
They typically consist of 8, 16, 32 or 64 lines
What are words?
Memory is divided up in equal units called words
Word length is usually 8, 16, 32 or 64 bits
Each word has a separate memory address
How does the width of the data bus affect system performance?
The width of the data bus is defined by the number of wires or lines it contains
If the data bus is the same width as a computer word, data can be transferred to and from memory in a single operation
If it is 16 lines and a word is 32 bits, it will require two memory access and data transfer operations
Bus width affects overall system performance
Is the data bus bi-directional or only one direction?
The data bus is bi-directional as data can be sent both ways along the bus
Is the address bus bi-directional or only one direction?
This bus carries the address of a memory location in one direction from the processor to I/O controllers and memory
What does the width of the address bus determine?
The width of the address bus determines the maximum possible memory addresses of the system
A 32-bit bus can carry 2^32 (4GiB) addresses
What does main memory store?
Main memory stores data and instructions that are to be processed
What is the smallest addressable unit called?
A word
What is a general purpose computer?
A general purpose computer can perform many different tasks at different times
Their programming is not fixed
What is the stored program concept?
This concept involves storing program instructions in the computer’s memory alongside the data.
Machine code instructions are loaded into main memory to be executed by the processor
The instructions are fetched one at a time and executed immediately by the processor in a sequential order