The CPU basics
What are the components of a real PC?
- CPU
- Memory
- Buses & I/O (input output)
- BIOS & Bus control circuitry
Are all the fundamental components of a real server the same as a PC?
Yes
Why do we need a cpu?
- It performs operations and redirects data
- Without the CPU the other components of a computer would be made redundant
What can the CPU do?
describe the following
Arithmetic operations
Adding, multiplying, subtracting, dividing
Memory access
Read and write data to / from memory
Decision making
Comparing numbers and letters, decide what to do next from that outcome
Control
Control the rest of the machine
What are the operations of a CPU?
give exsamples of the following
Memory operations
- load
- store
- move
- jump
- offset
Arithmetic operations
- add
- subtract
Comparison operations
- ==
- ≠
- >
- <
Branch operations
- Branch if 0
- Branch if not 0
What are the three 'views' of a CPU?
Who would consern them selves with these topics and what do they involve
Hardware
- Chip designers view
- They care about the logic and packaging technology
- Gates, cells, CMOS
Complementary Metal-Oxide-Semiconductor (method used to build circuits)
Microarchitecture
- Processor designer view
- Designing the logical organization so that would implement the Instruction Set Architecture
- Pipelining, function units, caches, physical registers
Instruction Set Architecture (ISA)
- Programers or compliers view
- Instructions visible to the (system) programmer
- Opcode. addressing modes, architectural registers...
What are the design principles that most manufacturers follow?
- All the instructions should be executed by the hardware
- Maximize rate that instructions are fetched
- Instructions should be quick and easy to decode
- Only loads and stores should reference memory
- Provide plenty of registers
Which is the lowest level view?
HARDWARE VIEW
What architecture do most computers follow?
Von Neumann
must learn the following block
What controls what the CPU is capable of executing?
The microarchitecture level defines what the CPU is capable of and what its instruction set is
explain what the following is
Accumulator CPU
This CPU has a single operand
Stack-based CPU
This CPU has a single operand and will work with a stack control
Register-based CPU
This CPU has two or more operands and will work with a stack control
VLIW
Very Long Instruction Word
SIMD
Single Instruction Multiple Data
MIMD
Multiple Instruction Multiple Data
RISC
Reduced instruction set computing
CISC
Complex instruction set computing
Von-Newman
What does the control unit do?
This controls the flow of data around the computer
Controls the operation of circuits
What does the arithmentic and logic unit do?
This performs arithmetic and logic operations
What does memory do?
Stores data for long periods of time, and is very large
What is a bus?
This is a set of bitwise connections
For example would like the ALU to the registers
