Presentation is loading. Please wait.

Presentation is loading. Please wait.

D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless.

Similar presentations


Presentation on theme: "D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless."— Presentation transcript:

1 D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless otherwise stated Prepared 2/9/03

2 In this lecture we will examine the various components of the Central Processing Unit (CPU).

3 This is the “classic” diagram of a CPU. It is not based on any particular model, but most will have these seven components.

4 The CPU contains of a number of registers. A register is an area for storing information in a binary format. They are typically made of tiny capacitors (a component capable of holding an electrical charge). Capacitors can be either charged (1) or discharged (0) allowing the storage of binary values. Various types of capacitor, used for different purposes. An old name for a capacitor is a condenser.

5 The Control Unit. An average, modern Control Unit uses about 27 million transistors and capacitors. It will also contain a Decoder unit and the System Clock.

6 The clock is a tiny crystal of pure silicon, with an electrical current passed across it. This makes it oscillate at very high speeds - in a 1 GHz processor it will vibrate 1,000,000,000 times per second. The decoder consists of transistors and capacitors. When it receives a program instruction, it interprets the binary code.

7 The CU needs a “workspace” where it can decode any instructions it receives. This is called the Instruction Register.

8 Whenever a program is about to be run, the binary code is first loaded into the RAM (Random Access Memory). The CU then “imports” it’s instructions from the RAM.

9 But the CPU needs to know from which address in the RAM - the Memory Address Register points to the right one.

10 But how does the MAR know where to point? (Sometimes) the Program Counter tells it. The Program Counter also keeps track of what point in the program we have reached.

11 The data and instructions may only enter or leave the CPU by one “portal” or buffer. This is the Memory Data (Memory Buffer) Register.

12 When performing calculations or Boolean logic, data is sent to the Arithmetic and Logic Unit. The ALU also consists of capacitors and transistors. It is usually depicted as a “V” shape in diagrams.

13 Like the CU, the ALU needs a “workspace” to manipulate values. This is called the Accumulator.

14 The seven components shown are essential to the CPU. Different models will have many, more registers in addition to those shown here.

15 Summary The CPU contains a number of registers. These consist of capacitors and transistors. The CU is the overall controller. It decodes instructions held in the IR. It also contains the system clock. The PC and MAR are pointer registers. They keep track of where the program has reached and which RAM cell is being currently addressed. The MDR acts as a point of entry/exit to/from the CPU. The ALU performs arithmetic and logic operations. It manipulates data in the Acc.


Download ppt "D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless."

Similar presentations


Ads by Google