[Explained] Main Components of CPU and their Functions


Hey, let's see the main components of CPU and their functions. In this article, you will find a detail explanation of the main CPU Components. CPU is the main part or brain of any programmable device such as Computer, Laptop, smartphones, etc. CPU stands for Central Processing Unit. In a smart programmable device, only the CPU performs the main task to complete the aim of that device. Others components or circuits just helps to give input and output.
  

Functions of CPU


1. All the instruction and data are stored in memory. So at first, the CPU fetches or takes the data and instruction from the memory.



2. When we give any instruction through input devices then, the input signals are taken by the CPU through the input unit or input module.

3. After fetching the data or instruction, CPU decodes those instructions into binary to understand what the task is to be performed.

4. After decoding the instruction, CPU starts executing the program. CPU performs arithmetic and logical calculations, moving of data, etc.

5. After executing the program CPU gives output to the output module and then the output module generates the appropriate signal to the output devices. CPU also store the data in memory after completion of the task.

So the main functions of CPU are Fetch of data, decode, execute, and store.


Main Components of CPU


The main components of CPU are,

1.      Control Unit
2.      Arithmetic and Logic Unit or ALU
3.      Memory or Storage Unit

The CPU Components are shown in the below figure.

Components of CPU, Function of CPU


The function of Each Component of CPU


As you see in the above figure, the CPU has the main three components. Their functions are explained below.




Control Unit


The control unit or control unit contains many controlling circuits, some of them shown in the above figure such as Clock Circuit, Latch Circuit, Reset Circuit, etc. The main function of the control unit is to provide the required controlling signal to each part and individual circuits of the CPU. It provides hold, reset, the clock signal to each part of the CPU. In simple words, the control unit fulfills the all requirement of the CPU to perform a task.

For example, the data is to be fetched from the cache memory to ALU. So in this case, the control unit provides a synchronized clock signal to both for properly movement of data.

ALU( Arithmetic and Logic Unit)


As its name suggests that it has two sections, one is Arithmetic Unit another is Logic Unit. We know that the CPU performs both arithmetic and logic operations.

The Arithmetic unit in ALU performs all the arithmetic operations such as Addition, Subtraction, Multiplication, Division, etc. 

The interesting point is that the CPU performs all the tasks using addition technique. For example, if we give instruction to perform (2*3). It solves this problem by (2+2+2)= 6

CPU performs all the complex operations using the above arithmetic operations.

Another Unit that is Logic Unit performs all the logical operations such as Rotate operation, AND operation, OR operation, comparing, selecting, etc.

Memory Unit


This is the Storage unit where the data and instructions are stored. The older CPU has only Registers as the memory but modern CPUs also contains the Cache Memory which is very fast semiconductor memory. 

The memory size inside the CPU is very small and very fast. mainly all the data and instructions are stored in primary (RAM, ROM) and secondary memory(Hard Disk). CPU  fetches the data from those memories and store into its own memory(registers and cache memory) during the operation.




Read Also:

Thank you for visiting the website. keep visiting for more updates.

[Explained] Main Components of CPU and their Functions [Explained] Main Components of CPU and their Functions Reviewed by ETechnoG on 09:08 Rating: 5
Powered by Blogger.