You are on page 1of 38

3.

Processing Devices
• Processing devices are computer parts that are used to develop instructions,

control the flow of information through the computer system and perform

calculations.

‫• وسایل تحلیل و تجزیه کننده‬

‫وسایل است که معلومات وارد شده توسط وسایل ورودی را در داخل کمپیوتر تحلیل وتجزیه نموده و به‬

CPU ‫ مانند پروسیسور یا‬.‫ تبدیل میکند‬Information ‫ را به‬Data ‫ یا وسایل است که‬،‫نتایج تبدیل مینماید‬

1
‫‪Processor Technology‬‬
‫‪• The CPU is a complicated, highly integrated chip that‬‬
‫‪performs many different, immediate functions.‬‬

‫‪Heart‬‬ ‫‪Brain‬‬

‫پروسیسور را میتوان به قلب و مغزانسان تشبیه کرد‪ .‬چون در نبود قلب‪ ،‬انسان زنده نیست و هیچ کاری‬
‫را انجام داده نمیتواند و در نبود مغز‪ ،‬انسان هیچ تصمیم درست را گرفته نمیتواند‪ .‬کمپیوتر هم در نبود‬

‫‪2‬‬ ‫پروسیسور به همین مشکالت فوق دوچارمیشود‬


Transistors

• A transistor is a small electronic device that allows a small current


to control a larger current. Without the transistor, computers
would not be what they are today. Microprocessors are made of
thousands of transistors all incorporated into one chip.

Off ‫ و‬On ‫ترانزستور یک نیمه هادی است که برق را در خود ذخیره میکند و حالت‬
‫یک بیت را نشان میدهد‬
• Transistor is a Simi conductor “nima hadi”. Bit on and off is shown by transistor. Previously, vacuum
tubes were used who got on and off when the bits were 0 and 1.

3
Vacuum Tube

4
‫کمپیوتر های دوره اول ‪1958 -1946‬‬
‫کمپیوتر های دوره اول ‪1958 -1946‬‬ ‫‪.1‬‬
‫در کمپیوتر های دوره اول از تکنالوژی‬
‫المپ های خال (‪)Vacuum Tubes‬استفاده‬
‫شده بود‪.‬کمپیوتر های این دوره دارای‬
‫صفات ذیل بودند‪.‬‬

‫چون حجم المپ های خال تقریبا مساوی به‬


‫حجم گروپ های برق بود به همین‬
‫سبب حجم کمپیوتر های این دوره نیز‬
‫زیاد بود‪.‬‬
Integrated Circuit (IC)
• An integrated circuit is an electronic device consisting of
many tiny transistors and other circuit elements. The first
integrated circuits were developed in the late 1950s. As
manufacturing technologies have improved, so have integrated
circuits. The ability to make circuits smaller and smaller
allows more devices to be placed on the same chip.

‫سرکت کامل یا بسته کامل‬


‫مجموعه ترانزستور هاست که یک وظیفه خاصرا انجام میدهد مانند کنترول کردن برق‬

6
Integrated Circuit

7
‫‪Parts of CPU‬‬
‫پروسیسور کمپیوتر به صورت عمومی از‬
‫چهار بخش تشکیل شده است‪:‬‬

‫نتروـ‪:‬ل‬
‫خش ک ـ‬
‫‪ CU .1‬اـی ـ بــ‬
‫این بخش تمام عملیاترا کنترول میکند‬

‫‪Clock‬‬
‫‪CU‬‬
‫منطق‬
‫‪:‬‬ ‫ب‬
‫خش حـاسـ و‬
‫‪ ALU .2‬اـیـ بــ‬
‫تمام عملیات حسابی و منطقی در این‬
‫بخش اجرا میگردد‬

‫رگاهـ‪:‬‬
‫‪ Register .3‬اـیـ حـافظهـ انتاـظـ‬

‫‪Register ALU‬‬ ‫دیتا که فعال درحال پروسس است بشکل‬


‫موقت در خود ذخیره میکند‬

‫عت‬
‫سـ ‪:‬‬
‫‪ Clock .4‬اـی ـ اـ‬
‫دو وظیفه عمدهرا انجام میدهد‬
‫‪ )a‬سرعت پروسیسوررا تعین میکند‬
‫‪ )b‬همچنان عملیاترا هماهنگ میکند‬
‫‪8‬‬
‫‪Cache Memory‬‬
‫‪• When a CPU goes to get either its program instructions or data, it always has to get‬‬
‫‪them from main memory.‬‬
‫‪• However, in some systems, there is a small amount of very fast SRAM memory,‬‬
‫‪called cache memory, between the processor and main memory, and it is used to‬‬
‫‪store the most frequently accessed information.‬‬
‫‪• Because it’s faster than main memory and contains the most frequently used‬‬
‫‪information, cache memory will increase the performance of any system.‬‬
‫حافظه مخفی‬
‫پروسیسور کمپیوتر دیتا را از حافظه اصلی (رم) گرفته و آنرا پروسس مینماید‪ .‬اما مشکل اینست که سرعت‬ ‫•‬
‫پروسیسور نظر به رم بسیار زیاد است و رم نمیتواند به همان سرعت که پروسیسور دیتا را کار دارد ارسال‬
‫نماید‪.‬‬
‫بخاطر حل این معزله یک حافظه دیگر که بنام حافظه مخفی (‪ )Cache Memory‬یاد میشود و بین حافضه‬ ‫•‬
‫رم و پروسیسور قرار دارد ‪ .‬این حافظه سرعت عالی دارد‪ .‬رم یک معلومات را به حافظه مخفی ارسال‬
‫مینماید و حافظه مخفی با سرعت زیاد همان معلومات را به پروسیسور ارسال نموده تا سکتگی در عملیات‬
‫رخ ندهد‪.‬‬
‫در اکثریت کمپیوتر ها از رم ثابت یا ‪ SRAM‬که سرعت بیشتر نظر به ‪ DRAM‬دارد بحیث حافظه مخفی‬ ‫•‬
‫استفاد میگردد‬

‫‪9‬‬
‫‪How Cache memory works‬‬

‫وقتی یک فایرا باز می‬


‫کنیم در قدم اول این فایل‬
‫به حاـفظه رم آمده‪ ،‬بعدا‬
‫به حافظه مخفی میرود و‬
‫بعد از آن درراجستر‬
‫پروسیسور قرار مگیرد‬
‫وبالخره توسط پروسیسور‬
‫پروسس میگردد‬
‫‪10‬‬
Types of Cache Memory‫صورت عمومی دو نوع حافظه مخفی‬
:‫داریم‬

1. on-chip (also called internal or L1 Cache ) ‫پـــوـسیسـورـقرـار دـارد‬


‫ر‬ ‫ رـوـیچیپ‬:L1
2. off-chip (also called external or L2 Cache).
‫ در چیپجداـگانـهـ قرـار دـارد‬:L2

• Internal cache memory is found on Intel Pentium, Pentium Pro, and Pentium II processors, as well as
on other manufacturer’s chips
• The register is a small set of data holding places that are part of a computer processor . A register may
hold a computer instruction , a storage address, or any kind of data (such as a bit ..."

11
‫‪How Cache memory works‬‬

‫اگر یک فایلرا از حافظه ذخیره وی مانند هارد دیسک بازکنیم ‪ ،‬مراحل ذیلرا طی خواهد کرد‬

‫از هارد دیسک به حافظه رم آمده‪ ،‬بعد به بخش سوم حافظه مخفی که بنام ‪ L3‬یاد میشود میرود‪ ،‬بعداز آن‬
‫به بخش دوم حافظه مخفی یا ‪ L2‬و بعدا به ‪ L1‬و بآلخره درراجستر قرار گرفته تا توسط پروسیسور تحلیل‬
‫وتجزیه گردد‬
‫‪12‬‬
Clock CU

Register ALU

fer Cache

13
History of Processors
• Microprocessors have developed from the first
8088 to today’s high-speed core 2 due.

• Four basic elements have customarily been


used to measure the performance of each new
chip design.

14
Speed
The maximum number of clock cycles measured in MHz
(megahertz).
Higher speed means more commands executed in less time.

External Data Bus


As data bus size increases, so does the amount and complexity of
code (information) that can be transferred between all devices in
the computer.

15
What Is a Bus

• …is a set of signal pathways that allow information and signals

to travel between components inside or outside of a computer.

: ‫ یا گذرگاه‬Bus •
‫ و آدرس ها را بین پرزده جات‬،‫ چارج‬،‫عبارت از لین های باریک است که روی بورد اصلی قرار دارند معلومات‬
‫مختلف بورد اصلی انتقال میدهند‬

16
Types of Bus
Four types:
• External Bus
allows the CPU to talk to the other devices in the computer and vice versa. It is called that because it’s external to
the CPU
• Address Bus
When the CPU wants to talk to a device, it uses the address bus to do so. It will select the particular memory address that the
device is using and use the address bus to write to that address.

• Data Bus
When the device wants to send information back to the microprocessor, it uses the data bus
 Power Bus
Carries power to difference chips and slots of motherboard

‫عنوان فوق در سالید بعد تشریح شده است‬

17
‫انواع بس ها یا گذرگاها‬

‫‪ )1‬بس های خارجی‬


‫معلومات را بین پروسیسور و پرزه جات بیرون از پروسیسورمانند رم ‪ ...‬انتقال میدهد‪.‬‬

‫‪ )2‬بس های آدرس‬


‫آدرس های معلومات که از یک پرزه به پرزه دیگر ارسال میشود به خود انتقال میدهد‪.‬‬

‫‪ )3‬بس های دیتا‬


‫این بس ها معلومات را از یک بخش کمپیوتر به بخش دیگر انتقال میدهد‪ .‬مانند انتقال‬
‫معلومات از پروسیسور به رم ‪ ،‬هارد دیسک ‪ ،‬سی دی رم ‪.....‬‬

‫‪ )4‬بس های برق یا چارج‬


‫وظیفه این بس ها اینست که به یک تعداد پرزه جات روی بورد اصلی مانند رم‪،‬‬
‫پروسیسور‪ ،‬پورت ها‪ ،‬چیپ های وغیره پرزه جات برق میدهد‪.‬‬
‫‪18‬‬
19
8088

20
8086

The 8088 and 8086 are compatible - they can run exactly the same software. The
benefit of using an 8086 is the 16-bit external data bus.
This makes an 8086-based computer execute the same software faster than an 8088
computer with the same clock speed. 21
Features of the 8088/8086:

• 16 K of memory

• Non-graphical colorless monitor

22
80286

23
Features of the 80286

• Ability to use Virtual Memory

• Address 16 MB Memory

• Clock Speeds up to 20 MHz

• Multitasking Abilities

24
‫‪Virtual Memory‬‬
‫‪Virtual Memory can be described as hard disk space, which can be used as‬‬
‫‪additional memory for holding data not immediately required by the processor.‬‬

‫‪This feature was used by the new generation of operating systems such as‬‬
‫‪Windows and OS/2.‬‬
‫حافظه مجازی‬
‫حافظه است که بشکل فزیکی وجود ندارد و قسمت خالی از فضای هارد دسک میباشد که در وقت کمبود حافظه رم از آن‬
‫‪.‬استفاده میگردد‬

‫طوری مثال‪ :‬اگر یک فایل که ظرفیت آن ‪ 70‬میگابایت باشد بخواهیم باز نمائید اما ظرفیت رم کمپیوتر ما ‪ 64‬میگابایت‬
‫باشد درهمچوصورت پروسیسور به اندازه ‪ 6‬میگابایت حافظه را از هارد دسک برای مدت موقت قرض گرفته و قسمت‬
‫متباقی فایل مورد نظر درآن ذخیره میگردد‪ .‬وقتی فایل مربوطه را بسته کردیم‪ ،‬پروسیسور فضای قرض گرفته را پس‬
‫‪.‬تسلیم هارد دسک مینماید‬

‫‪25‬‬
80386
In 1985, Intel introduced the 80386. This processor had two forms

80386DX
This was a full 32-bit processor with a 32-bit external data
bus, 32-bit registers and a 32-bit address bus (enabling 4
GB of memory to be accessed).

The 80386DX can easily be identified with its square


shape, different caption and its blue color.

26
27
80386SX

• This processor was similar to the DX except that it had a


16-bit external data bus and 24-bit address bus (it could
only address 16 MB of memory).

• The 16-bit configuration allowed easy upgrading from


existing 16-bit motherboards, therefore introducing the
next generation of computers.

28
Features of the 80386:
• 32-bit address bus allows up to 4G of addressable
memory;
• · Allows the use of GUI (graphical user interface)
29
80486

• In 1989, the 80486 line of processors was released.

• The 486 processor is the equivalent of an upgraded


386DX.

• Inside the 486 is a faster and more efficient 386


processor, an 80387 numeric coprocessor, a cache
controller and an internal 8K cache. This was the first
truly integrated chip.

30
31
‫‪Pentium‬‬
‫‪1993 was a big year as Intel introduced the Pentium.‬‬
‫‪These new chips required the addition of a heat sink and cooling fan as standard equipment.‬‬
‫‪If the cooling fan were to fail, they would literally burn up (or melt down) from the heat‬‬
‫‪generation.‬‬
‫‪3.1 – 3.3 million Transistor‬‬
‫پیــنتیوم‬
‫در سال ‪ 1993‬یک انقالب بزرگ در عرصه کمپیوتر بوجود آمد‪ ،‬وقتی پروسیسور بنام پینتیوم بوجود آمد‪ .‬این‬
‫پروسیسور ها نظر به مادل های قبلی پروسیسور ها (‪ 80386 ،80286 ،8088‬و ‪ )80486‬سرعت فوق العاده زیاد‬
‫داشت‪.‬‬
‫این پروسیسور ها برعالوه سرعت‪ ،‬سیستم خوب سردکن هم داشت‪ .‬برعالوه ‪ Heat Sink‬پکه نیز باالی پروسیسور‬
‫نصب گردیده بود‪ .‬تعداد ترانزستورهائیکه که در این نوع پروسیسور ها استفاده شده بودند بیشتر از ترانزستور های‬
‫بود که در پروسیسور های قبلی استفاده شده بود‪.‬‬

‫‪32‬‬
33
Pentium 1

34
Pentium II
• With the development of the Pentium II processor, the traditional chip and
socket design replaced with slot

• These chips are mounted on their own circuit board and housed in the
new SEC cartridge.

• This cartridge uses a special retention mechanism that is built into the
system board to hold it in place. The cartridge also has a special fan heat
sink module and fan. So, the SEC cartridge houses the CPU, the L2 cache,
heat sink and fan.

35
• These processors speed 300 to 400 MHz

• The core chip has 7.5 million transistors.

• The voltage requirements have also decreased from 2.8v to 2.0v

• Pentium II processors have better performance and capacitor technology than Pentium I processors.

Two ‫خصوصیات پینیوم‬


‫ میگاهرتز‬۴۰۰ ‫ الی‬۳۰۰ ‫ سرعت بین‬
‫ میلیون ترانزستور دارد‬7.5 ‫ به تعداد‬

‫ بهتر است‬One ‫ از لحاظ کیفیت کار نظر به پینتیوم‬

36
‫‪Pentium III‬‬
‫‪Features‬‬

‫‪• 450 MHz/ 500/ 550 up to 1.1 GHz‬‬ ‫خصوصیات پینیوم ‪Three‬‬

‫‪ ‬سرعت بین ‪500‬الی ‪550‬میگاهرتز‬


‫‪• 4) Dual independent bus.‬‬
‫‪ ‬تعداد ترانزستور بین ‪ 9.5‬الی ‪ 28‬میلیون‬
‫‪• 5) 512 Kb cache‬‬ ‫‪ ‬اکیفیت کار بهتر نظر به پینتیوم ‪Two‬‬

‫‪• 6) 8, 64 bit registers.‬‬ ‫‪ ‬بس های دوگانه دارد‬

‫‪ ‬دارای حافظه مخفی ‪ 512‬کیلوبایت‬


‫‪• 9.5 – 28 million Transistor‬‬
‫‪ ‬دارای راجستر ‪ 864‬بیت‬

‫‪37‬‬
‫‪Pentium 4 Features‬‬

‫‪• Over 1.1 GHz‬‬


‫خصوصیات پینیوم ‪Four‬‬

‫‪• Dual independent bus.‬‬ ‫‪ ‬سرعت این پروسیسور الی ‪ 1.1‬گیگا هرتز‬

‫‪ ‬دارای بس های مستقل دوگانه‬


‫‪• Over 512 Kb cache‬‬
‫‪ ‬داشتن حافظه مخفی بیشتر از ‪ 512‬کیلو بایت‬

‫‪• 42 million Transistors‬‬ ‫‪ ‬به تعداد ‪ 42‬میلیون ترانزستور دارد‬

‫‪ ‬از لحاظ کیفیت کار نظر به پینتیوم ‪ Three‬بهتر‬

‫است‬

‫‪38‬‬

You might also like