Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.22 MB, 29 trang )
<span class='text_page_counter'>(1)</span><div class='page_container' data-page=1>
<b>(Central Processing Unit )</b>
<b>Tạm dịch là đơn vị xử lý trung tâm </b>
<b>Có thể được xem như là não bộ của máy tính</b>
<b>Một trong những phần tử cơ bản nhất của máy tính</b>
<b>Nhiệm vụ: Xử lý các chương trình trong bộ nhớ</b>
<b>Chương trình gồm có Lệnh và Số liệu</b>
<b>Lệnh được bộ xử lý trung tâm (CPU) giải mã để biết </b>
<b>cách thức xử lý số liệu </b>
<b>Có nhiều kiểu dáng khác nhau qua nhiều thế hệ khác </b>
<b>nhau</b>
<b>Đặc trưng cơ bản:</b>
<b>Tốc độ xung nhịp </b>
<b>Bộ nhớ Cache</b>
<b>(Central Processing Unit )</b>
<b>các bộ phận chủ yếu sau: </b>
<b>Bộ điều khiển (CU: Control Unit): Lấy lệnh từ bộ nhớ, </b>
<b>giải mã lệnh.</b>
<b>Bộ số học và luận lý (ALU: Arithmetic Logic Unit): Thực </b>
<b>hiện các phép tính số học và luận lý.</b>
<b>Các thanh ghi (Register): Bộ nhớ tốc độ cao, dung </b>
<b>lượng nhỏ dùng dể lưu trữ các kết quả tạm thời và các </b>
<b>thông tin điều khiển.</b>
<b>Bộ xử lý trung tâm thực hiện một chương trình bằng </b>
<b>cách lặp lại các bước sau :</b>
<b>Đọc lệnh từ bộ nhớ.</b>
<b>Giải mã lệnh & đọc tốn hạng (nếu có)</b>
<b>Thực hiện lệnh</b>
<b>(Central Processing Unit )</b>
<b>các bộ phận chủ yếu : </b>
<b>(Central Processing Unit )</b>
<b>Cấu trúc CPU : </b>
<b>B</b>
<b>Ộ</b>
<b>Đ</b>
<b>I</b>
<b>Ề</b>
<b>U</b>
<b>K</b>
<b>H</b>
<b>I</b>
<b>Ể</b>
<b>N</b>
Thanh ghi
Các thanh ghi đa dụng
Các toán hạng
<b>ALU</b>
Cờ
Thanh ghi đoạn
(Segment Register)
Thanh ghi đếm lệnh
(PC)
Kiểm soát Bus và
Phát địa chỉ
Đuôi lệnh
Bus đa hợp
<b>Có nhiều loại CPU qua các thế hệ CPU như CPU 80xxx, </b>
<b><sub>The single processor chip found in personal </sub></b>
<b>computers</b>
<b>Sometimes called a microprocessor</b>
<b>Processors identified by </b>
• <b>Manufacturer</b>
• <b>Model name or </b>
<b>model number</b>
<b>Pentiumđ 4</b>
ã<b>Who are the personal computer processor manufacturers?</b>
•<b>Note: Apple Computer, Inc began using Intel microprocessors in 2005</b>
<b>Pentium®<sub> II </sub></b>
<b>with </b>
<b>MMX™</b>
<b>Celeron™</b>
<b>Xeon™</b>
<b>Itanium™</b>
<b>Used in PCs</b>
<b>Used in PCs</b>
•
A microprocessor is a small calculating device usually used in our
home PCs which can easily fit in the palm of your hand. A
• There are many microprocessor companies in market
• but the two well recognized are Intel and AMD
<b>Processor</b>
<b>Processor</b>
<b>Control </b>
<b>Control </b>
<b>Logic Unit (ALU)</b>
<b>Logic Unit (ALU)</b>
<b>Arithmetic </b>
<b>Arithmetic </b>
<b>Logic Unit (ALU)</b>
<b>Logic Unit (ALU)</b>
<b>Input</b>
<b>Input</b>
<b>Devices</b>
<b>Devices</b>
<b>Storage</b>
<b>Storage</b>
<b>Output</b>
<b>Output</b>
<b>Devices</b>
<b>Devices</b>
<b>Memory</b>
<b>Memory</b>
<b>Data</b>
<b>Data</b> <b>InformationInformation</b>
<b>Informatio</b>
<b>Informatio</b>
<b>n</b>
<b>n</b>
<b>Data</b>
<b>Data</b>
<b>Informatio</b>
<b>Informatio</b>
<b>n</b>
<b>n</b>
<b>Informatio</b>
<b>Informatio</b>
<b>n</b>
<b>n</b>
<b>Data</b>
<b>Data</b>
<b>Informatio</b>
<b>Informatio</b>
<b>n</b>
<b>n</b>
<b><sub>Control unit</sub></b><sub> directs </sub>
and coordinates
operations in computer
<b><sub>Arithmetic logic unit </sub></b>
<b>(ALU)</b> performs
arithmetic, comparison,
and logical operations<sub></sub> <b><sub>Also called the</sub></b>
<b>Processor</b>
<b>Control Unit</b>
<b>Memory</b>
<b>ALU</b>
<b>Step 1. Fetch</b>
Obtain program instruction or
<b>Step 2. </b>
<b>Decode</b>
Translate
instruction into
commands
<b>Step 4. Store</b>
Write result to memory
<b>Step 3. Execute</b>
Carry out command
<b>Stores location </b>
<b>Stores location </b>
<b>from where instruction </b>
<b>from where instruction </b>
<b>was fetched</b>
<b>was fetched</b>
<b>Stores </b>
<b>Stores </b>
<b>instruction while it is </b>
<b>instruction while it is </b>
<b>being decoded</b>
<b>being decoded</b>
<b>Stores data </b>
<b>Stores data </b>
<b>while ALU </b>
<b>while ALU </b>
<b>computes it</b>
<b>computes it</b>
<b>Stores results </b>
<b>Stores results </b>
<b>of calculation</b>
<b>of calculation</b>
• What is thesystem clock ?
[Not the real-time clock!]
<b>Each tick </b>
<b>Each tick </b>
<b>is a </b>
<b>Pace of system </b>
<b>Pace of system </b>
<b>clock is </b>
<b>clock is clock speedclock speed</b>
<b>Most clock speeds are </b>
<b>Most clock speeds are </b>
<b>in the gigahertz (GHz) </b>
<b>in the gigahertz (GHz) </b>
<b>range (1 GHz = one </b>
<b>range (1 GHz = one </b>
<b>billion ticks of system </b>
<b>billion ticks of system </b>
<b>clock per second)</b>
<b>clock per second)</b>
<b>Processor speed can </b>
<b>Processor speed can </b>
<b>also be measured in </b>
<b>also be measured in </b>
<b>m</b>
<b>millions of iillions of instructions nstructions </b>
<b>per er ssecond econd (MIPS)(MIPS)</b>
<b>Controls timing of all computer operations</b>
<b>Generates regular electronic pulses, or ticks, that set </b>
• <b>Overclocking is the process of making your computer </b>
• <b>run faster than it was when you first bought it.</b>
• <b>Warning: Don’t do this if you a Pentium 4 w/HT because </b>
• <b>you will burn up the processor !</b>
• <b>If you bought a Pentium 4 running at 3.2 GHz and you </b>
• <b>want it to run faster, you could overclock the processor </b>
<b><sub>The faster the processor, the more expensive the computer</sub></b>
<b>Celeron</b>
<b>Itanium or Xeon </b>
<b>Pentium family</b>
1.3 GHz and up
3.0 GHz and up
2.4 GHz to 3.0 GHz
Up to 2.4 GHz
2.2 GHz and up
• How do personal computer processors compare?
<b>Comparison of Widely Used</b>
<b>Personal Computer Processors</b>
<b>Name</b> <b>Date</b> <b>Clock</b> <b>Introduced</b> <b>Speed</b>
Itanium 2 2002 1.3–1.5 GHZ
Xeon 2001 1.4–3.06 GHZ
Itanium 2001 733–800 MHZ
Pentium 4 2000 1.4–3.2 GHZ
Pentium III Xeon 1999 500–900 MHZ
Pentium III 1999 400 MHZ–1.4 GHZ
Celeron 1998 266 MHZ–2.6 GHZ
Operon 2003 2–2.4 GHZ
Insert the
chip.
Lift the lever on
the socket.
<b>lever</b>
<b>Step 3.</b>
Push the lever
down.
<b>lever</b>
<b>heat sink fan</b>
<b>heat sink</b>
<b>Using multiple processors simultaneously to execute a </b>
<b>program faster</b>
<b>Requires special software to divide problem and bring </b>
<b>Sockets supporting Intel processors</b>
<b>Socket 6 - 80486DX4 </b>
<b>Socket 7 - Intel Pentium and Pentium MMX, AMD K6 </b>
<b>and some Cyrix CPUs) </b>
<b>Socket 8 - Intel Pentium Pro </b>
<b>Slot 1 - Intel Pentium II, older Pentium III, and </b>
<b>Celeron processors (233 MHz - 1.13 GHz) </b>
<b>Slot 2 - Intel Xeon processors based on Pentium II/III </b>
<b>cores </b>
<b>Socket 370 - Celeron processors and newer </b>
<b>Pentium IIIs (800 MHz - 1.4 GHz) </b>
<b>Socket 423 - Intel Pentium 4 and Celeron processors </b>
<b>Sockets supporting Intel processors </b>
<b>Socket 478 - Intel Pentium 4 and Celeron processors </b>
<b>(based on Northwood, Prescott, and Willamette cores) </b>
<b>Socket 479 - Intel Pentium M and Celeron M </b>
<b>processors (based on the Banias and Dothan cores) </b>
<b>Socket 480 - Intel Pentium M processors (based on the </b>
<b>Yonah core) </b>
<b>Socket 603/604- Intel Xeon processors based on the </b>
<b>Northwood and Willamette Pentium 4 cores </b>
<b>Socket LGA 775 (Land Grid Array) - Intel Pentium 4 </b>
<b>Sockets supporting AMD CPUs</b>
<b>Slot A - original AMD Athlon processors </b>
<b>Socket 462 (aka Socket A) - newer AMD Athlon, Athlon </b>
<b>XP, Sempron, and Duron processors </b>
<b>Socket 754 - lower end AMD Athlon 64 and Sempron </b>
<b>processors with single-channel memory support </b>
<b>Socket 939 - AMD Athlon 64, AMD Athlon 64 FX, AMD </b>
<b>Athlon 64 X2, and AMD Opteron processors with </b>
<b>dual-channel memory support </b>
<b>Socket 940 - AMD Opteron and early AMD Athlon FX </b>
<b>processors </b>
<b>Socket AM2 - Sempron, AMD Athlon 64, AMD Athlon 64 </b>
<b>Nâng cấp CPU</b>
<b>Thay thế CPU “mạnh” hơn về tốc độ xử lý và dung </b>
<b>lượng Cache </b>
<b>Một số lưu ý khi nâng cấp CPU: Xem kỹ tài liệu về bo </b>
<b>mạch chính đang sử dụng:</b>
<b>Tốc độ CPU có thể hoạt động </b>
<b>Điện thế lõi </b>
<b>Dạng đế cắm</b>
<b>Một số vấn đề phát sinh khi thay thế CPU</b>
<b>Thay thế bo mạch chính</b>
<b>Thay thế Ram</b>
<b>Thay thế cấp nguồn</b>
<b>Thay thế ổ đĩa cứng</b>
<b>Chân CPU dễ bị gãy </b>
<b>Cẩn thận, nhẹ nhàng, tránh làm rơi CPU </b>
<b>CPU thường bị hỏng do quá nóng hoặc sai điện thế </b>
<b> V core cung cấp cho CPU</b>
<b>Trước khi thay thế cần xem xét nguyên nhân gây hỏng </b>
<b>CPU:</b>
<b>Điện thế ra của bộ nguồn</b>