Abstract
- The path that data takes to flow through the CPU. The path consists of the following CPU components
| CPU Component | Description |
|---|---|
| Multiplexer | Consolidate multiple inputs(多路) into one single output(复用). Gives the flexibility of picking one of the inputs based on the Instruction’s opcode. |
| ALU | Performs arithmetic and logic operations on the data. |
| Register File | Provides the fastest reading and writing of data. |
| Adder | Often used for incrementing program counter or calculating Memory Address. |
| Clock | Synchronises the operations of the CPU by providing a timing signal. |
| Instruction Memory | Main Memory that stores the instructions that are fetched and executed by the CPU. |
| Data Memory | Main memory that stores data that can be read from or written to by the CPU during program execution. |
MIPS Datapath

