Lecture 10 Processors Microcomputer Processors CPU The CPU
- Slides: 35
Lecture # 10 Processors Microcomputer Processors
CPU Ø The CPU is the computer’s “brain” that manipulates data. Ø It is located on the motherboard. Ø Single or multiple processing chips.
CPU’s Two Basic Parts 1. Control unit 2. Arithmetic logic unit
Control Unit Ø Manages all the computer’s resources Ø The control unit directs the flow of data through the CPU and to and from other devices. Ø The control unit stores the CPU's microcode, which contains the instructions for all the tasks the CPU can perform.
Arithmetic Logic Unit Ø Performs the CPU’s arithmetic and logical operations. Ø Arithmetic: Addition, subtraction, multiplication, division. Ø Logical: Comparisons(<, >, <=, >=, !=) Ø The ALU is connected to a set of registers—small memory areas in the CPU, which hold data and program instructions while they are currently being processed.
Machine Cycle Ø The completed series of steps the CPU takes to execute an instruction. Ø Two Cycles: • Instruction cycle • Execution cycle
Instruction Cycle Ø Fetching Ø Decoding During the instruction cycle, the CPU "fetches" a command or data from memory and "decodes" it for the CPU
Execution Cycle Ø Executing Ø Storing During the execution cycle, the CPU carries out the instruction, and may store the instruction's result in memory.
The CPU performance measurement Millions of Instructions Per Second (MIPS) Billions of Instructions Per Second (BIPS)
Pipelining Ø The control unit begins a new machine cycle before the current cycle is completed Ø Executions are performed in stages: When the first instruction completes the “Fetching" stage, it moves to the “Decode” stage and a new instruction is fetched.
Memory Ø Allows the CPU to store and retrieve data quickly. Ø Two Kinds of built-in Memory: • Non-volatile Memory (Permanent) • Volatile memory (Non-Permanent)
Memory Read-only memory (ROM): nonvolatile ØOnly Read and Used, not CHANGED ØIt holds instructions that run the computer when the power is first turned on. ØPROM Chips– Instructions that power the devices. Random-access memory (RAM): volatile ØRAM stores data and program code needed by the CPU. ØThe contents of RAM change rapidly and often. ØSIMMs and DIMM Chips
Memory Address is a number that indicates a location on the memory chips. To Request a byte of data, the CPU sends a memory address to RAM.
Other Kinds of RAM Static & Dynamic Ø Dynamic RAM (DRAM) chips must be recharged with electricity very frequently, or they will lose their contents. Ø Static RAM (SRAM) does not need to be recharged as often as DRAM, and can hold its contents longer. Ø Another type of RAM, called flash memory, can store its contents after power is turned off. • Used in Digital cameras, MP 3 players, USB storage Device.
Factors Affecting Processing Speed Ø Registers – temporary memory area – 32 bit, 64 bit. Ø Memory and computing power - RAM Ø System clock – Hz – cycles per second – GHz (Billions of Cycles per second), 3 GHz Ø The bus – the highway Ø The data bus – Connect CPU & devices Ø The address bus – Connect CPU & RAM Ø Cache memory – L 1(CPU resident), L 2 (External
More RAM = Better Performance! minimize “swapping
Bus Types Ø Industry standard architecture (ISA) bus is a 16 bit data bus – connect devices to the CPU. Ø Local bus – To connect faster devices to CPU. Internal bus. Ø Peripheral Component Interconnect (PCI) bus – fast 32 and 64 bit, audio, Video and graphics. Ø Accelerated Graphics Port (AGP) bus -video Ø Universal Serial Bus (USB) – fast – hot-swappable Ø IEEE 1394 (Fire. Wire)- fast –cameras.
Data Transfer Rate Ø The amount of data buses can transfer in a second. Ø Measured in megabits per second (Mbps) or megabytes per second (MBps)
Cache memory Ø It speeds processing by storing frequently used data or instructions in its high-speed memory. Ø It is present in several places in a computer. Ø L 1 cache: CPU Resident cache, 256 KB built-in, holds instructions that have recently run. Ø L 2 cache: Earlier present on motherboard, now on CPU, 512 KB or 1024 KB, holds upcoming instructions. Ø L 3 cache: Motherboard Resident, not necessary, holds possible instructions
Microcomputer Processors
Microcomputer Processors Ø Intel Ø Advanced Micro Devices (AMD) Ø Motorola processors Ø RISC Ø Parallel Processing
Intel Processors Ø Since 1978, Intel's processors have evolved from the 8086 and the 8088 to the 80286, 80386 and 80486, to the Pentium family of processors. All are part of the 80 x 86 line. Ø Intel's Pentium family of processors includes the Pentium, Pentium Pro, Pentium with MMX, Pentium III, IV, Celeron, and Xeon processors. Ø The earliest Intel processors included only a few thousand transistors. Today's Pentium processors include 9. 5 million transistors or more.
Latest Technology - Intel Ø Speed doubles every 18 months. Ø Pentium 4 - up to 3. 2 GHz, 50 Million transistors Ø Pentium III /Xeon- up to 2. 0 GHz, 50 Million transistors. Ø Celeron- up to 1. 8 GHz, 40 Million transistors Ø Itanium- up to 2 GHz, 32 bit. Ø Centrino Mobile Technology.
CPUs Used in Personal Computers – AMD Processors Ø Advanced Micro Devices was long known as a provider of lower-performance processors for use in low-cost computers. Ø With its K 6 line of processors, AMD challenged Intel's processors in terms of both price and performance. Ø With the Athlon, AMD broke the 1. 0 GHz barrier, claiming the fastest processor title for the first time in IBM-compatible computers.
CPUs Used in Personal Computers – Motorola Processors Ø Motorola makes the CPUs used in Macintosh (680 x 0) and Power. PC computers. Ø Macintosh processors use a different basic structural architecture than IBM-compatible PC processors. Ø With the release of the G 3 and G 4 Power. PC processors, Macintosh computers set new standards for price and performance. Ø New G 5, 64 -bit.
Apple’s G 4 computers are based on Motorola processors
CPUs Used in Personal Computers - RISC Processors • Most PCs are based on complex instruction set computing (CISC) chips which contain large 200 -300 instruction sets. • Reduced Instruction Set Computing (RISC) processors use smaller instruction sets. This enables them to process more instructions per second than (CISC) chips. • RISC processors are found in Apple's Power. PC systems, workstations. Popular in minicomputers (AS/400), and mainframes.
Compaq’s Alpha Server computers are based on RISC processors
CPUs Used in PC’s - Parallel Processing or Symmetric multiprocessing (SMP) • In parallel processing, multiple processors are used in a single system, enabling them to share processing tasks. ØIn a Massively Parallel Processor (MPP) system, many processors are used. ØSome MPP systems utilize thousands of processors simultaneously.
- Plc vs microprocessor
- Feature of micro computer
- 707
- Characteristics of minicomputer
- Microcomputer architecture
- 01:640:244 lecture notes - lecture 15: plat, idah, farad
- What is conditional macro expansion
- Embeded processors
- Characterization of query processors
- Programming massively parallel processors
- Difference lan wan
- Gas processors association
- Handler classification
- Difference between vliw and superscalar processor
- Embedded innovator winter 2010
- Parallel processors from client to cloud
- Difference between linear and nonlinear pipeline processors
- Programming massively parallel processors, kirk et al.
- Gstreamer architecture
- Digital camera processors
- Function of macro processor
- Programming massively parallel processors
- Interrupt handling in arm processors
- Ece 526
- Microprocessor advantages and disadvantages
- Comparison of word processors
- Language and processors for requirement
- David kirk nvidia
- The history of cpu
- Thiếu nhi thế giới liên hoan
- Phối cảnh
- Các châu lục và đại dương trên thế giới
- Một số thể thơ truyền thống
- Thế nào là hệ số cao nhất
- Ng-html
- Sơ đồ cơ thể người