Computer Hardware Flashcards
What is an integrated circuit
Millions of transistors interconnected by microscopic wires. A CPU is an example of an integrated circuit
How are CPUs made?
Hundreds of copies of the same integrated circuit are etched onto a wafer of silicon. These copies are tested, and each error-free copy is cut (diced) from the wafer, and called a die. Error-free dies are mounted in a package with the die’s pads connected to the package pins.
How do multi-core processors work?
Multiple independent cores (CPUs) are manufactured on the same integrated circuit
What is Moore’s Law?
Transistor capacity/density doubles every 18-24 months. Power dissipation is a problem, with power required being proportional to the number of transistors switched x the frequency of switching (clock speed)
If we are given a function f(x0, x1, x2, …, xN) : {0, 1}^n => {0, 1}^m, then…
We can build a circuit that computes f using only AND, OR and NOT gates
What does the datapath on a processor do?
Performs data processing operations
Includes the arithmetic logic unit, and registers
What does the control part of a processor do?
Tells the datapath, memory and I/O devices what to do
What is the cache?
Small, fast, relatively expensive on-chip memory
What is the von Neumann architecture?
It means that the program and its data both share the same memory (e.g. Little Man Computer), allowing for self-modifying programs
What is the von Neumann bottleneck?
The limitation of the data transfer rate between the CPU and memory. It led to the use of cache
What is the Harvard architecture?
Instruction memory and data memory are separated, each with their own buses, doubling data bandwidth
What does memory consist of?
Pigeon-holes containing data, each holding 8 bits and having a unique address
Address bus
Carries an address, width determines size of addressable memory
Data bus
Carries contents of memory, width determines the word size
Control bus
Deals with information transfer, specifies whether data is being read or written, signals to input/output devices
External storage, RAM, cache
External storage: cheap, slow, far from the CPU
RAM: Each bit is stored by a capacitor, somewhat slow and cheap, must be refreshed by the memory controller
Cache: expensive, fast, split into Level 1 (small, fast, in the CPU) and Level 2 (slightly larger and slower, either in the CPU or a short distance away), and Level 3. These need to be refreshed