1 / 20

CHAPTER 4

CHAPTER 4. The Central Processing Unit. Chapter Overview. Microprocessors Replacing and Upgrading a CPU. Microprocessor Basics. Components How microprocessors work PC microprocessor developments and features.

muncel
Download Presentation

CHAPTER 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CHAPTER 4 The Central Processing Unit

  2. Chapter Overview • Microprocessors • Replacing and Upgrading a CPU

  3. Microprocessor Basics • Components • How microprocessors work • PC microprocessor developments and features

  4. The External Data Bus- Information is transmitted through a computer using binary code traveling through a bus.- 8 bit data bus: allowed for the transfer of 1 byte of information at a time.- The width of the external data bus increaed to 16, and the 32 current width of conductors. (HW3) is that correct?

  5. The CPU • Performs operations , decodes and executes instructions • Controls computer operation • Includes transistors, integrated circuits, and microprocessors

  6. Note: P4 contains 775 pins HW3: P5 Contains …… Pins

  7. Microprocessor Design • Three subsystems • Control unit (CU): The control unit of the CPU contains circuitry that uses electrical signals to direct the entire computer system to carry out, or execute, stored program instructions . • Arithmetic logic unit (ALU): The arithmetic/logic unit (ALU) contains the electronic circuitry that executes all arithmetic and logical operations. • Input/output (I/O) unit Fetches data from the outside and passes data back to the external bus

  8. Registers: Are temporary memory storage areas used during data manipulation. - Codes ( ASCII) • Clock : • Timing allows the electronic devices in the computer to coordinate and execute all internal commands in the proper order. • Pulse of voltage is called clock cycle. • Every computer command needs at least 2 clock cycles. • Clock speed • The clock rate suggests how many commands can be completed in two cycles. • Adding two numbers would take 4 commands (__?__ clock cycles).

  9. REGISTERS

  10. Control unit components • Program counter (PC): Contains the address of an instruction to be fetched. • Instruction register (IR): Contains the instruction most recently fetched. • Memory address registers (MAR): Contains the address of a location in memory. • Memory buffer register (MBR): Contains a word of data lo be written to memory or the word most recently read. PSW ( take home class test)

  11. Memory

  12. How Microprocessors Work

  13. Adding Two Simple 2 + 2 involves more steps than a man : A = 2 Translated into binary and routed to CU and sent to X location of memory When we press + , it is translated into binary and alerts ALU to be ready for addition B= 2 is translated into binary again ALU sums A and B ALU sends the code for 4 to be stored in an address register Pressing = key is the last user action BUT the = is also translated into machine language Sum is computed

  14. PC Microprocessor Developments and Features • Use the following elements to measure CPU performance: • Speed : max no. of clock cycles measured in MHz • Higher the speed, quicker a command will be executed • Transistors: More switches means more power • Registers: Larger the register size, more complicated command can be processed • External data bus: if large , more and complex can be executed • Address bus: determines the max amount of memory that can be addressed by CPU • Internal cache It is high speed Memory built into the processor. It is the place to store the most frequently used data instead of sending it to the slow speed devices ( HDD , RAM)

  15. Virtual Memory • Is the art of using Hard disk space to hold the data not immediately required by processor

  16. Possible Upgrade Scenarios • 8086/8088 • 80286–80486 • 80386SX • Pentium I • Pentium II • Pentium III

  17. Superscalar Technology • Main components of processor –registers, decoders, and ALU are called Instruction Pipeline • To carryout a single instruction, a processor must: * Read instruction * Decode instruction * Fetch (for math function) * Execute * Write back the result Combining all above steps in a single step is called Pipelining

  18. Pipelining types • Superscalar technology allows the Pentium to have two instruction Pipelines–called U and V. • U Pipeline can execute the full range of Pentium instructions • V Pipeline can execute a limited number • Pentium processor breaks a program into small tasks that are shared b/w pipelines , allowing Pentium to execute two simple Instructions at the same time-known asMultithreading

  19. Inserting a CPU • Low-insertion-force (LIF) • Zero-insertion-force (ZIF) • Single-edge connector (SEC/slot 1)

  20. Chapter Summary • Understanding processor development and progress is essential. • The three key elements for measuring a CPU’s performance are its speed, address bus, and external data bus. • Several key CPU developments have occurred since the 80286 processor. • Today’s standard processor is the Pentium III chip. • Replacing a CPU is usually simple. • You must watch for electrostatic discharge (ESD) and pin damage when handling a CPU.

More Related