Computer organisation and architecture Flashcards
what is a computer system?
it is any device which is able to take a set of inputs and process them into useful outputs
What is a bus?
they consist of a series of wires that transfer data signals between internal components
what are the main components of a cpu
- processor
- main memory
- address, control and data buses
- I/O controllers
What are I/O controllers used for?
- peripherals cannot directly connect to the CPU
- I/o controller acts as an interface between the device and the computer
what is a device driver?
it is the software that interacts directly with the I/O controller
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 control bus used for?
it is used to send control signals between each I/O controller and the processor, and between the processor and memory
What is the use of the data bus?
sends data between CPU components
What is the use of the address bus?
it sends memory addresses from the processor to CPU components
the system bus comprises of three different buses
What do control signals consist of ?
- Memory read
- Memory write
- Bus request
- Bus grant
- Clock
What does the “memory read” control signal do?
causes data from the addressed location to be placed on the data bus
What does the “memory write” control signal do?
causes data on the data bus to be written into the addressed location
What does the “Bus request” control signal do?
indicates that a device is requesting use of the data bus
What does the “Bus Grant” control signal do?
indicates that the CPU has granted access to the data bus
What does the clock do?
it is used to synchronise operations
Memory is divided up into equal units called …
Words
Properties of the data bus
- it is bi-directional as data can be sent both ways along the bus
- the width of the data bus is defined by the amount of wires it contains
- if the data bus is the Same width as a computer word, data can be transferred in a single operation
- bus width affects overall system performance
Properties of address bus
- carries the address of a memory location in one direction from the processor to I/O controllers and memory
- the width determines the maximum possible memory addresses of the system
- a 32-bit bus can carry 232 addresses
properties of main memory?
- stores data and instructions that are to be processed
- the number of memory addresses is constrained by the width of the address bus
- each address can store a fixed number of bits determined by the type of processor
- smallest addressable unit is a word
What is the stored program concept
- it is when computers are designed to allow data and instructions to be stored
How does the stored program concept work
- Machine code instructions are loaded into main memory to be executed by the processor
- the instructions are fetched one at a time and executed immediatley by the processor in a sequential order
How does the von Neumann architecture use the stored program concept
- instructions and data are stored in a common main memory and transferred using a single shared bus
properties of Harvard architecture
- different sized memory spaces and word lengths can be used for data and instructions
- commonly used in embedded systems performing specialist functions rather than general purpose machines
- used when speed takes over priority over the complexities of design
What is the role of the arithmetic logic unit (ALU)?
- performs arithmetic , logical and shit operations on data
What is the control unit?
it is the part of the processor that coordinates the activity of all other components