Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cpu

6,157 views

Published on

cpu, processor notes

Published in: Education, Technology, Business
  • Be the first to comment

Cpu

  1. 1.
  2. 2. The Central processing Unit Machine Cycle Information processing cycle
  3. 3. The Central processing Unit <ul><li>The CPU interprets instructions to the computer, performs the logical and arithmetic processing operations, and causes the input and output operations to occur. </li></ul><ul><li>consists of hundreds of thousands or millions of electronic circuits. </li></ul><ul><li>In today's PCs the CPU is contained in a single silicon chip called a microprocessor chip </li></ul><ul><li>It is considered the “brain” of the computer. </li></ul><ul><li>Also called the CPU as PROCESSOR & MICROPROCCESSOR </li></ul>
  4. 4. CS1BA3-L5 Intel Pentium D AMD Athlion 64 Intel Pentium M
  5. 5. <ul><li>Pentium D </li></ul><ul><ul><li>Pentium I-IV </li></ul></ul><ul><ul><li>Pentium M </li></ul></ul><ul><ul><li>Celeron </li></ul></ul><ul><ul><li>Core i7 </li></ul></ul><ul><ul><li>Core 2 Duo </li></ul></ul>
  6. 6. <ul><li>AMD </li></ul><ul><ul><li>Athelon 64 X2 </li></ul></ul><ul><ul><li>Athelon 64 </li></ul></ul><ul><ul><li>Turion 64 </li></ul></ul><ul><ul><li>Sempron </li></ul></ul>
  7. 9. HOW THESE COMPUTER WORKS? Storage (Pimary/Secondary Memory) Input Procesor Monitor, Printer CPU must be connected to input device, output device and storage device to carry out the activities Data Information INFORMATION PROCESSING CYCLE Data Information Output
  8. 10. Processor / CPU <ul><li>The Control processing unit (CPU) controls all activities within the system. For every instruction, the control unit repeats a set of four basic operations called the MACHINE CYCLE </li></ul><ul><li>A CPU consists of two subcomponents:- </li></ul><ul><li>Control Unit (CU) </li></ul><ul><li>Arithmetic Logic Unit (ALU). </li></ul>
  9. 11. Machine Cycle FETCHING EXECUTING STORING DECODING
  10. 12. Machine Cycle <ul><li>4 step in Machine Cycle : </li></ul><ul><li>Step 1: Fetch – retrieve an instruction from memory </li></ul><ul><li>Step 2: Decode – translate instruction in a form ALU can understand (command ) </li></ul><ul><li>Step 3: Execute – Carry out instruction </li></ul><ul><li>Step 4: Store – copy results to Memory </li></ul>CS1BA3-L5
  11. 13. How it’s work ? Step 1. Fetch Calls an instruction into memory. User want to calculate 2 +2 Step 2. Decode Translate instruction into commands (to binary form) Eg : 1110000 Step 4. Store Write result to memory Step 3. Execute Does the decoded instruction Add 2+2 <ul><ul><li>Four operations of the CPU comprise a machine cycle </li></ul></ul>Processor Control Unit MEMORY ALU
  12. 14. Control Unit <ul><li>Control Unit’s main function in CPU to process data. </li></ul><ul><li>The Control Unit extracts instructions from memory and decodes and executes them. </li></ul><ul><li>Manages all resources of a computer </li></ul><ul><li>Manages a 4-step basic operation which is called a machine cycle or processing cycle. </li></ul>CS1BA3-L5
  13. 15. The Arithmetic-Logic Unit and Control Unit <ul><li>An arithmetic logic unit (ALU) and control unit is one of the core components of all central processing units. </li></ul><ul><li>Arithmetic operations : e.g., add, subtract, multiply, divide, square root, cosine, etc. </li></ul><ul><li>Logical operations : e.g., compare two numbers to see which is greater, check whether a true/false statement is true, etc. </li></ul><ul><li>Comparison operation : e.g:AND, OR, NOT, NAND, NOR, XOR and equacalence (=) </li></ul>
  14. 16. Factors Affecting Processing Speed <ul><ul><li>Clock rate of the CPU </li></ul></ul><ul><ul><li>Computer word size </li></ul></ul><ul><ul><li>Bus speed </li></ul></ul><ul><ul><li>Main memory size </li></ul></ul><ul><ul><li>Cache memory size </li></ul></ul><ul><ul><li>instruction set complexity </li></ul></ul><ul><ul><li>Number of processing units </li></ul></ul>CS1BA3-L5
  15. 17. Which computer should I buy? Desktop

×