Control unit
The control unit is the command and control center of the whole CPU, consisting of Instruction Register IR(Instruction Register), instruction Decoder ID(Instruction Decoder), Operation Controller OC(Operation Controller), etc. It is very important to keep the whole computer in order. According to the user’s preprogrammed program, it takes out each instruction from the memory in turn, puts it in the instruction register IR, determines what operation should be carried out through instruction decoding (analysis), and then sends out the microoperation control signal to the corresponding component through the operation controller OC, according to the determined time sequence. Operation controller OC mainly includes beat pulse generator, control matrix, clock pulse generator, reset circuit and power off circuit control logic.
Arithmetic unit
Is the core of the computer. You can perform arithmetic operations (including basic operations such as addition and subtraction multipliers and their additional operations) and logical operations (including shifts, logical tests, or comparisons of two values). Relative to the control unit, the computer accepts the command of the control unit and carries out the action, that is, all the operations carried out by the arithmetic unit are commanded by the control signal issued by the control unit, so it is the executive component.
Storage unit
These include in-chip caches and register banks, which are temporary stores of data in the CPU that are waiting to be processed or that have already been processed. The CPU spends less time accessing registers than it does accessing memory. The use of registers can reduce the number of times the CPU accesses the memory, thus improving the CPU working speed. However, due to the limited chip area and integration degree, the capacity of the register bank cannot be very large. Register groups can be divided into special registers and general registers. The function of special registers is fixed, respectively storing the corresponding data. General purpose registers are versatile and can be specified by the programmer. The number of general purpose registers varies from microprocessor to microprocessor