computer architecture Flashcards
What are the components of the three box model of a computer system?
The processor, main memory and I/O all connected by a bus
What is hardware?
Electrical circuits that a computer is assembled from, the platform on which software executes
What does the processor do?
Executes programs and supervises the function of other parts of the system
(essentially a very big finite state machine)
What is a microprocessor?
A processor on a single chip
What is a chip?
An integrated circuit (IC) encased in plastic
What is CPU?
Central processing unit, the processor as well as the main memory
However since microprocessors were invented it often refers to just a microprocessor
What is the main memory?
The memory directly addressable by the processor
What is another name for main memory?
Immediate access store (IAS)
What is the main memory used for?
Storing program instructions and data
How are values stored in main memory?
Each BYTE is stored in a separate MEMORY LOCATION
What is main memory made up of?
RAM chips
can also include one or more ROM chips
What is a memory location?
A separately addressable area of main memory
What does RAM stand for?
random access memory
What does random access mean?
Locations can be accessed in any order without having to cycle through each location from the start (ie not serial)
What is RAM?
volatile random access memory
What is volatile memory?
Data stored will be lost when power is turned off
What does ROM stand for?
read only memory
What is ROM?
non volatile main memory which cannot be written over once set up
What does EEPROM stand for?
electronically erasable programmable main memory
What is EEPROM?
Contents may be altered but writing is ~100x slower than reading
How are the main three components connected within a system?
Through the system/external bus
What does the system/external bus include?
- data bus
- address bus
- control bus
What is a computer bus (generally and physically)?
A set of parallel wires that connect independent components of a computer system in order to pass signals between them
What is the data bus?
A bi-directional bus, typically with 32 wires, transports data between components
What is the address bus?
A uni-directional bus, typically with 32 wires, addresses memory and I/O locations
What is the control bus?
A bi-directional bus, typically with 8 wires, transports control signals between components
What does I/O stand for?
input/output
What kind of signals does the control bus carry?
- clock signal for timing
- reset signal for initialising components
- Memory read for asserting that the memory loaction in use is being read
- memory write
- I/O used to show that processor wants to use an I/O not main memory (when they share memory addresses)
Which is the uni-directional bus?
Address bus
What are peripherals?
Any computer device not part of the CPU (processor and main memory)
How are peripherals connected to the processor?
The system bus is connected to an I/o controller and the I/O controller is connected to the device
What does I/O do?
Allows the CPU to communicate with peripherals
Give examples of peripherals
keyboard visual display unit magnetic disk CD-R and DVD-R drives network cards speakers etc