Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1...
Transcript of Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1...
![Page 1: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/1.jpg)
2.12.1 Components of the CPUComponents of the CPUCentral Processing Unit (CPU) consists of
Control Unit
Arithmetic and Logic Unit
Registers
The components are connected by internal buses.
![Page 2: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/2.jpg)
2.12.1 Components of the CPUComponents of the CPU
![Page 3: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/3.jpg)
Control Unit (CU)“nerve centre” of CPU
send control signals to other components
sense their states to coordinate their operations
Arithmetic and Logic Unit (ALU)perform arithmetical, comparison and logical operation
work closely with the accumulation
2.12.1 Components of the CPUComponents of the CPU
![Page 4: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/4.jpg)
Registerhigh-speed storage locations
temporarily hold data and instructions during processing
2.12.1 Components of the CPUComponents of the CPU
![Page 5: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/5.jpg)
CPU
Machine CycleFetchDecodeExecute
2.12.1 Components of the CPUComponents of the CPU
CUALU
Memory Unit
(1) fetch
(2) decode(3) execute
![Page 6: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/6.jpg)
Fetchingobtaining a program instruction or data item from memory
2.12.1 Components of the CPUComponents of the CPU
![Page 7: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/7.jpg)
Decodingtranslating instructions into commands the computer can execute
2.12.1 Components of the CPUComponents of the CPU
![Page 8: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/8.jpg)
Executingcarrying out the command
2.12.1 Components of the CPUComponents of the CPU
![Page 9: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/9.jpg)
Storingwriting the result to the main memory
2.12.1 Components of the CPUComponents of the CPU
![Page 10: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/10.jpg)
Determining factors of CPU performanceclock rate
word size
size of the cache
integrated circuit technology
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 11: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/11.jpg)
Clock ratenumber of pulses per second generated by an oscillator that sets the tempo for the CPU
measured in MHz or GHz
determine the number of executed instructions per second
not always directly proportional to its performance level
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 12: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/12.jpg)
Word sizenumber of bits the processor can interpret and execute at a given time
e.g. 64-bit processor manipulates 64 bits at a time
larger the word size, more data can be processed in the same amount of time
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 13: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/13.jpg)
Cachesmall amount of high-speed memory located inside or outside of the CPU
supply the processor with the most frequently requested data and instruction
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 14: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/14.jpg)
Integrated circuit technologysmaller process dimension smaller transistor gate lengths faster switching speed of transistor
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 15: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/15.jpg)
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
Complex instruction set Simple instruction set
Longer instruction execution cycle
Allow each instruction to do more
Shorter instruction execution cycle
Allow each instructionto do less
![Page 16: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/16.jpg)
Complex Instruction Set Computer (CISC)computers designed with full set of computer instructionsCISC CPU executes complex instruction more quickly than RISC CPUe.g. Intel Pentium microprocessors
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 17: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/17.jpg)
Reduced Instruction Set Computer (RISC)microprocessor designed to perform a smaller number of simple computer instructionsreduce instructions to those used more frequentlyRISC CPU executes simple instruction more quickly than CISC CPUe.g. PowerPC microprocessor
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 18: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/18.jpg)
Advanced technology used in CPUPipeliningSuperscalarParallel processing
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 19: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/19.jpg)
PipeliningCPU begins executing a second instruction before it completes the first instructionfaster processingeffective only if the CPU execute programs sequentially for most of the time
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 20: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/20.jpg)
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
Fetch Decode Execute Fetch Decode Execute
Instruction 1 Instruction 2
Instruction flow without pipelining
![Page 21: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/21.jpg)
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
Fetch Decode Execute
Instruction flow with pipelining
Instruction 1
Instruction 2
Instruction 3
![Page 22: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/22.jpg)
Superscalarpossible for executing more than one instruction at a time during a single clock cycle
Parallel Processingallocation of program execution to many execution units to execute more than one instruction in one cycle
2.22.2 Performance and Instruction Sets Performance and Instruction Sets of the CPUof the CPU
![Page 23: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/23.jpg)
All the peripherals plug into the main board via various types of connector
Advantages of ATX main boardIntegrated I/O connectors
Reduced overlap between board and drivers
Reduced processor interference with add-on cards
User-friendly power connector
Better cooling conditions
2.32.3 Layouts of the Main BoardLayouts of the Main Board
![Page 24: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/24.jpg)
2.32.3 Layouts of the Main BoardLayouts of the Main Board
PCI slots
BIOS
Battery
Floppy drive
IDE connectors
I/O connectors
Memory
Power supply connector
Southbridge
CPU socket
Northbridge
AGP slot
![Page 25: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/25.jpg)
North Bridgecommunicate with CPU
control interaction with memory, PCI bus, Level 2 cache and AGP
communicate with the processor using Frontside Bus (FSB)
2.42.4 North Bridge / South BridgeNorth Bridge / South Bridge
![Page 26: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/26.jpg)
South Bridgemanage the basic forms of input/output (USB, serial, audio, IDE, ISA)
2.42.4 North Bridge / South BridgeNorth Bridge / South Bridge
![Page 27: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/27.jpg)
PCI (Peripheral Component Interconnect)
interconnection system between a CPU and attached devices
separate bus isolated from the CPU
use all active paths to transmit both address and data signals
2.52.5 I/O Expansion Slots of the Main I/O Expansion Slots of the Main BoardsBoards
PCI expansion slots
![Page 28: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/28.jpg)
AGP (Accelerated Graphics Port)enable 3-D graphics to display quickly and smoothly on ordinary personal computers
useful in gaming, 3-D video, scientific graphic programs
intended exclusively for visual display devices
2.52.5 I/O Expansion Slots of the Main I/O Expansion Slots of the Main BoardsBoards
AGP slot
![Page 29: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/29.jpg)
AGP (Accelerated Graphics Port)offer high-speed data transfer to and from RAM
optimize the use of memory
minimize the amount necessary for high-performance graphics
AGP data transfer rate is much greater than that of PCI video cards.
2.52.5 I/O Expansion Slots of the Main I/O Expansion Slots of the Main BoardsBoards
![Page 30: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/30.jpg)
PCI and AGP
2.52.5 I/O Expansion Slots of the Main I/O Expansion Slots of the Main BoardsBoards
![Page 31: Chapter 2 The CPU and the Main Board 2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU 2.2Performance and Instruction Sets.](https://reader035.fdocuments.net/reader035/viewer/2022081504/56649ea05503460f94ba3faf/html5/thumbnails/31.jpg)
ENDEND