Unit 5 - Computer Organisation and Architecture Flashcards
What is a computer system?
A computer system is any device which takes in an input, processes it and returns an output.
What are the four components of the CPU (Central Processing Unit)?
- Processor
- I/O Controllers
- Address bus, data bus, control bus
- Main memory (RAM)
What are the components in a processor?
- Control unit
- ALU (Arithmetic Logic Unit)
- Registers
Define one of the components of a processor.
A register is a special memory cell operating at a very high speed. All arithmetic and logical operations from the ALU take place in registers.
Define another component of a processor.
ALU (Arithmetic Logic Unit) is a component of a processor which carries out arithmetic operations involving adding, subtracting, multiplying and dividing. It also carries out logical operations with AND, OR, NOT and XOR gates, as well as shift operations.
What is a bus?
Buses are sets of parallel wires connected to each components of the CPU. They use parallel transmission.
Describe the third component of the processor.
The control unit is another component of the processor, carrying out the fetch-decode-execute cycle:
The processor fetches an instruction
The instruction is decoded
and finally the instruction is executed.
Each step is synchronized by the system clock.
How does the processor use the buses?
When the CPU needs the address of an instruction, it requests the address and memory location in main memory. The address bus responds by sending the address to the CPU. The data bus gives the data of the address to the CPU and control signals are sent by the control bus.
Define an I/O controller.
An I/O controller is a controller which provides an interface for input and output devices, interfacing between input and output devices on one side and the processor and computer on the other. Each I/O device has a seperate I/O controller, and the processor will send requests to input and output devices by sending them to the controller. The I/O controller will translate the requests for the devices.
Describe the control bus.
The control bus is a type of system bus and component of the CPU. It is bi-directional, meaning that the control signals it transmits, are carried in both directions between components. To ensure no disruption occurs towards the data and address buses, and no conflict occurs, the control bus has control lines, with 8, 16, 32, or 64 bits.
What is the role of the control bus?
The control bus’s main purpose is to transmit command, timing or special status information between components.
Describe the data bus.
The data bus is another component of the CPU, and although it isn’t bi-directional itself, its data does travel in a bi-directional pathway between components. The width of the data bus is an important factor of overall system performance. This is because if the data bus is 6 bits wide and an instruction is 12 bits wide, then the data bus has to go through main memory twice to fetch the instruction.
What is the address bus?
The address bus is another type of bus and component of the CPU, and it transfers the address of an instruction from the processor to the I/O controller and main memory (RAM). The width of the address bus determines the maximum possible memory capacity/addresses; if the width of the address bus is n bits, then the memory addresses are 2^n.
What is a word?
In terms of memory addresses, the smallest addressable unit is a word.
What is the stored program concept?
The stored program concept is where computers store program instructions and data in main memory, and the processor will fetch each instruction one-by-one, executing them in a sequential order.
Describe the Von Neumann architecture.
The Von Neumann architecture is a computer architecture involving program instructions and data being stored together in main memory and a single shared bus.
Describe the Harvard architecture.
The Harvard architecture is a computer architecture where program instructions and data are stored seperately in individual memory and different buses. Sometimes this may cause the instructions and data to be stored in unequal amounts or there may be different sized words and memory spaces.
What is the Von Neumann architecture used for?
The Von Neumann architecture is commonly used in general purpose computers such as desktop computers, laptops, tablet computers…
What is the Harvard architecture used for?
The Harvard architecture is used for Digital Signal Processing (DSP) in embedded computer systems, where speed is emphasized over design.
What is the system clock?
The system clock is a part of the processor which regularly signals ON/OFF to help synchronise operations of the processor (ensure the operations all happen at the same time).
Give an example of a general purpose register.
An accumulator.
Give the names of the special purpose registers.
- Program Counter (PC)
- Current Instruction Register (CIR)
- Memory Address Register (MAR)
- Memory Buffer Register (MBR)
- Status Register (SR)
Define the PC.
The program counter is a dedicated register which holds the next instruction to be executed.