Hardware and Virtual Machines
Advanced hardware concepts and virtualisation.
Topics
- RISC vs CISC Processors
- Parallel Processing
- Virtual Machines
- Pipelining
Key terms
15.1 Processors, parallel processing and virtual machines
- RISC
- Reduced Instruction Set Computer. A processor with a small set of simple instructions that each take one clock cycle.
- CISC
- Complex Instruction Set Computer. A processor with a large set of complex instructions, some of which take several cycles.
- Pipelining
- Starting the next instruction before the current one has finished, by overlapping the stages of the fetch-execute cycle.
- Pipeline hazard
- A problem when an instruction depends on the result of one still in the pipeline, such as after a branch.
- Parallel processing
- Using several processors or cores to work on different parts of a task at the same time.
- Flynn's taxonomy
- A way of classifying computer architectures by the number of instruction streams and data streams.
- SISD
- Single Instruction, Single Data: a basic single-core processor.
- SIMD
- Single Instruction, Multiple Data: one instruction is applied to many data items at once, as in graphics processing.
- MISD
- Multiple Instruction, Single Data: several instructions work on the same data, which is rare in practice.
- MIMD
- Multiple Instruction, Multiple Data: several processors run different instructions on different data.
- Massively parallel computer
- A system with a very large number of processors working together on one problem.
- Virtual machine (VM)
- Software that behaves like a complete computer, so that an operating system can run on it.
- Emulation
- Software making one type of system behave like another.
15.2 Boolean algebra and logic circuits
- Full adder
- A circuit that adds two bits plus a carry-in, producing a sum and a carry-out.
- Flip-flop
- A circuit that can store one bit, and is the basic building block of memory and registers.
- SR flip-flop
- A flip-flop with Set and Reset inputs that holds its value until one is triggered.
- JK flip-flop
- A flip-flop that fixes the invalid state of an SR flip-flop. With J and K both 1 it toggles its output.
- Karnaugh map (K-map)
- A grid used to simplify Boolean expressions by grouping adjacent 1s.
- K-map grouping rules
- Groups must be rectangles whose size is a power of 2 (1, 2, 4, 8) and may wrap around the edges. Larger groups give simpler expressions.
- Gray code
- A sequence in which only one bit changes between neighbours. K-map rows and columns are ordered this way.
- Minterm
- A product (AND) term in which every variable appears once, covering exactly one row of a truth table.
- Sum of products
- A Boolean expression made of AND terms joined by OR.
Practice questions for Hardware and Virtual Machines