Follow TV Tropes

Following

Useful Notes / Central Processing Unit

Go To

The Central Processing Unit (CPU or processor) is, in the most laid of layman's terms, the brain of a computer. That which, like the human mind, is responsible for performing all the fine functions, executing relayed instructions, working out basic arithmetic, logic, control, input and output operations, among other responsibilities. Need to get something done? Without a CPU, your computer's nothing more than an elaborate menagerie of entangled wires, circuitry, and electrical conductivity.

Overview

Overall, most central processing units contain:
  • A fetcher to grab instructions or data
  • A decoder that maps the instructions to the CPU's operation codes.
  • An execution unit, which at the minimum is an Arithmetic and Logic Unit (ALU). Modern ones may include a floating point unit (FPU) as well.
  • A memory management unit, which one of its functions is to store the results of an operation.
  • Registers to hold important bits of information.

All processors have a basic vocabulary known as an Instruction Set Architecture (ISA). Programs can run on different processors made for the same or similar ISA with little, if any, performance penalty. If the processor has a different ISA, then the same program can be run via emulation with a performance hit. Examples of widely used ISAs today are the x86/x64, POWER/PowerPC, ARM and MIPS.

The performance of a CPU can be increased by either increasing its Clock Speed, how many bits it can crunch at once, adding small amounts of high speed memory called cache, or by carefully engineering how it handles instructions on the ISA, in particular with branching and instruction issuing. All these components however take up space and increasing the frequency also increases the heat output of the part. By shrinking the transistors that make up the CPU, more can be put in less space and at the same time up the frequency, as smaller transistors allow faster operation while outputting less heat. As of 2023, the smallest transistors made for production using the 3nm process takes up around 67 square nanometers, which the average width of a human hair is around 22,000 times wider.

A brief History

Early programmable computers were built with individual components, starting with vacuum tubes until discrete transistors were invented in the late 1950s. It wasn't until 1971 when Busicom and Intel developed the first fully integrated (one chip) microprocessor, the Intel 4004. During the 1980s, microprocessor companies were finding more and more things to integrate into the same package until it evolved into the processor that exists today. Extensions of this include the microcontroller, which contains a CPU core with many peripherals such as timers, analog sampling, serial communication, and general purpose IO, to drive small embedded devices. The microcontroller later evolved into the System-on-a-Chip (SoC), which can be considered a self-contained computer. These power a lot of today's portable electronics.

See the analysis page for more in-depth information.

Top