Architecture of the central processing unit (CPU): Difference between revisions

From Computer Science Wiki
Line 12: Line 12:
== Major parts of a CPU ==  
== Major parts of a CPU ==  


Below we see a diagram describing the overall architecture of a CPU.  You must be able to outline the architecture of the central processing unit (CPU) and the functions of the arithmetic logic unit (ALU) and the control unit (CU) and the registers within the CPU.
Below we see a '''simplified''' diagram describing the overall architecture of a CPU.  You must be able to outline the architecture of the central processing unit (CPU) and the functions of the arithmetic logic unit (ALU) and the control unit (CU) and the registers within the CPU.


[[File:Cpu diagram.png]]<ref>https://en.wikibooks.org/wiki/IB/Group_4/Computer_Science/Computer_Organisation#von_Neumann_Architecture</ref>
[[File:Cpu diagram.png]]<ref>https://en.wikibooks.org/wiki/IB/Group_4/Computer_Science/Computer_Organisation#von_Neumann_Architecture</ref>

Revision as of 05:07, 23 August 2016

Exclamation.png This is an important concept. You should fully understand this.

This is a basic concept in computer science

A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output (I/O) operations specified by the instructions. [1]


Major parts of a CPU[edit]

Below we see a simplified diagram describing the overall architecture of a CPU. You must be able to outline the architecture of the central processing unit (CPU) and the functions of the arithmetic logic unit (ALU) and the control unit (CU) and the registers within the CPU.

Cpu diagram.png[2]


Please know and understand:

  • Memory holds both data and instructions.
  • The arithmetic/logic gate unit is capable of performing arithmetic and logic operations on data.
  • The input unit moves data into the CPU via a bus
  • The output unit moves results out of the CPU via a bus
  • The control unit controls the flow of data within the CPU - which is the Fetch-Execute cycle described above


These videos are truly superb to help you understand parts of a CPU, and how they work.



Do you understand this topic?[edit]

  • Describe the function of the ALU
  • Describe the function of the control unit
  • Describe the function of the program counter
  • Describe the function of the clock
  • Describe the function of an instruction
  • Define instruction register
  • What does a bus do?

Do you have an advanced understanding about this topic?[edit]

See Also[edit]

References[edit]