6.2. The ProcessorΒΆ

This basic model of a computer as a processing unit that takes input, communicates with a memory and produces output is know as the von Nuemann architecture after the early computer scientist John von Neumann. In this architecture, the processor itself consists of multiple specialized parts:

CPU Structure

Modern computers vary add many layers of complexity to this basic model. One such modification seen in the picture above is multiple busses - in the diagram on the previous page and the original von Neumann architecture, there is only one system bus that can carry messages from one component to another. This means that the processor and memory would have to take turns talking: “CPU: Please send me the data at address 1 in memory”; “Memory: OK, the data at 00001 is 01010111.”; “CPU: Please send me the data at address 2 in memory”... Having multiple busses avoids this bottleneck by allowing the CPU tell memory the next address it wants at the same time memory sends data back to the CPU.

The ALU

ALU

The arithmetic logic unit is the circuits that can do math and logic. Early processors could only do very simple operations - add an subtract numbers, compare two numbers to see which is larger, and perform manipulations using Boolean logic rules (being able to say do logical OR on two input patterns). More complex operations, like say multiplication might have to be performed via simpler operations that the ALU can do directly. Instead of multiplying two numbers, a very simple computer would have to add them repeatedly.

As components became smaller, more and more logic could be built into ALUs - from circuits to do multiplication, to circuits to work with floating point decimals or process text. Now days, almost every processor has multiple ALUs that work in parallel and are often specialized for specific jobs.

Materials on this page adapted with permission from:
Microprocessor Tutorial by Matthew Eastaugh