Processing Unit - PowerPoint PPT Presentation

1 / 50
About This Presentation
Title:

Processing Unit

Description:

??????????????????????????????????????????????????????????????????????????? ? ... ????????????????????????? (Motherboard) Memory. Motherboard CPU & Memory ... – PowerPoint PPT presentation

Number of Views:143
Avg rating:3.0/5.0
Slides: 51
Provided by: pijarnch
Category:

less

Transcript and Presenter's Notes

Title: Processing Unit


1
Processing Unit
?????????????
IT201 Computer Information Technology
2
Processing Unit CPUMemory
CPU
Register
Control U
ALU
Memory
Processor
3
??????????? (Memory)
  • ?????????????????????????????????????????????????
    ??????????????????????????? ??????????????????????
    ????????? ??????????????????????????
  • ???????????? ??????????????
  • ????????????? Memory ?????????????????? RAM
  • Memory ???????????????????????? (chip)
    ????????????????????????????????????????
    (Motherboard)

4
Memory
5
Motherboard CPU Memory
6
??????????????????
  • ?????????????????? 2 ???????? ???
  • 1. ?????????????? (ROM Read-Only Memory)
  • 2. ?????????????? (RAM Random Access Memory)

7
ROM (Read-Only Memory)
  • ??????????????????????????????????
    ????????????????????????????????????????????????
    ???????????????????????????? Bootstrap Loader
  • ?????????????????????? ROM ???????????????????????
    ???? ???????????????????????????????

8
ROM (Read-Only Memory)
  • ??????????? Nonvolatile ??????????????????????????
    ?????????????????????????? ???????????????????????
    ????????????????????????????

9
RAM (Random Access Memory)
  • ???????????????????????????????????????/??????????
    ??????????????? ??????????????????????????????????
  • ??????????????? RAM ??????????????????????????????
    ??? ?????????????? Random Access Memory
  • ??????????? Volatile ??? ????????????????????????
    ????????????? ??????????? ??????????????????????
    RAM ????????

10
How does RAM work?
  • ?????????????????????? ????????
  • 1 ?????????????? 1 Byte (???? 1 ????????)

11
??????? RAM
  • ??????? 2 ???????? ???
  • Static RAM (SRAM) -- ???????????????????????????
    ?????????????? (???????????????)
  • Dynamic RAM (DRAM) -- ??????????????????????????
    ??????????????? (??????????????????)
  • SRAM ???????????????? DRAM ?????????????? DRAM

12
DRAM Technologies
single in-line memory module (SIMM)
dual in-line memory module (DIMM) Rambus Inline
Memory Module (RIMM)
  • FPM-DRAM
  • 30 ??????????????? (SIMM) 200 MBps 386 468
    computer
  • EDO-DRAM
  • 72 ????????????? (DIMM) 264 MBps
  • SDRAM
  • 168 ????????????? (DIMM) 528 MBps
  • DDR-SDRAM
  • 184 ????????????? (DIMM) 1-3.2 GBps
  • RDRAM
  • 184 ????????????? (RIMM) 1.6-10.7 GBps

13
Example of memory speed
14
Main memory trends
Try pantip market price
15
RAM
16
Central Processing Unit(?????????????????)
  • CPU ?????????????????????????????? ?????????
    ????????????????????????????

17
????????????? Central Processing Unit
  • Control Unit (???????????)
  • Arithmetic and Logic Unit (?????????????????)
  • Register (???????????????????????????)

18
Control Unit (???????????)
  • ??????????????? RAM ?????????????????????
  • ????????????????????????????????????????????
    ???????? ALU ??? Registers

19
Arithmetic and Logic Unit (?????????????????)
  • ??????????????????????????????????????????????????
    ? (???? ??? ?? ??? ???) ?????????????????????????
    ?? (???? ????????????????????? ???????? ????
    ??????? )
  • ???????? CPU ????? ALU ???????????????
    (?????????????????????????)

20
Register
  • ???????????????????????????????????????? CPU
    ????? ALU ????????? ?????????????????????????????
    ? ???????

21
Memory Comparison
22
????????????????????
  • ?????????????????????????????? CPU
    ??????????????????????????????????? ????????????
    Machine Cycle
  • ????? Machine Cycle ?????????? 2 ??????????? ???
    Instruction cycle ??? Execution cycle

23
????????????????????
  • ???????????? Instruction cycle ??????????????? 2
    ???????????
  • 1. Fetch ????????????????????? RAM ???????
    Control Unit
  • 2. Decode - Control Unit ?????????
    ?????????????????? ?????????????? Register
    ???????????????????

24
???????????????????? (???)
  • ????????????????? Execution cycle ??????????????
  • 3. Execute - ?????????????????????? ????
  • ?????????????????? Register
  • 4. Store - ????????????????????????????????? ??
    RAM (???? Register ??????????????? ??????????????
    ???????????????)

25
Machine Cycle
Fetch Instruction RAM to Control Unit
Place Result in Memory ALU to RAM
Instruction Time
Decode Instruction Control Unit
Execution Time
Execute Instruction ALU
26
( Note ) - ?????????? 1 ???????????
1 Machine Cycle - 1 Machine Cycle
Instruction cycle Execution cycle
Fetch Time Decode Time Execute Time
Store Time
27
???????????????????? CPU
  • ?? 2 ??? ???
  • ????????????????????????????????????1 Machine
    Cycle ??????????????????????????????????????
    ??????
  • ???????? ??? second (1 ??????) , millisecond
    (10-3), microsecond (10-6), nanosecond (10-9),
    picosecond (10-12)

28
???????????????????? CPU (???)
  • ??????????????? Machine Cycle ??? CPU
    ?????????????????????? 1 ??????
    ?????????????????????????
  • ????????????????
  • 100 MIPS (Millions of Instructions Per Second)
  • 1200 MIPS (Millions of Instructions Per Second)

29
???????????? (System clock)
  • ???????????????????? ???????????????????????????
  • ??????????? (Quartz Crystal) ?????????????????????
    ????
  • ???????? ???? Control unit ??? ALU
    ????????????????????????????????? System clock
  • ???????????????????????? CPU ???????????
    ??????????? System clock
  • ??????????? Hz ???? P4 3.2 GHz

30
??????????????????????????????????????????????????
?
31
?????????????????????????????
  • CISC (Complex Instructions Set Computing)
  • ?????????????????????? (More tools)
  • RISC (Reduced Instructions Set Computing)
  • ??????????????????????
  • ??????????????????????????? ?????????

32
????????????????????????????
  • ????????????? (Nanotechnology)
  • ???????????????? (Bus bandwidth)
  • ??? (Cache)
  • ???????? (Pipeline)
  • ?????????????????? (Parallel Processing)

33
????????????????????????????
  • ?????????????
  • Pentium ??? ???????????? ???? 0.35 ?????? ?????
    3.3 ???????
  • Pentium 4 ??? ???????????? ???? 0.13 ?????? ?????
    42 ???????
  • ??????????????????? ???????????? ???? 0.09 ??????
    ???? 9 ????????

34
????????????????????????????
  • ?????????????????????
  • Bus ??? ??????????????????????????????????????????
    ????????????????

35
Bus Lines
  • A bus line ????????????????????????????????
    ????????????????? ? ??????

???????????????????????????? 1 ??????
??????????????????????? Megabits per second
(Mbps)
36
????????????????????????????
  • ??? (Cache)
  • ?????????????????????????? Static RAM
    ??????????????????????????????????
  • ?????????????? CPU ??? Memory

37
?????????????????? Cache
38
????????????????????????????
  • Pipelining
  • 1 Machine Cycle ????????
  • Fetch
  • Decode
  • Execute
  • Store
  • ???????????????????????????

39
Example of Pipelining
Original Process - 3 sequences of 4 stages each
1 ??
????????
Original process takes 12 cycles Pipelined
process takes 6 cycles
????????
??????????????????? ?????????????????
???????????
??????????????
4 ??
40
Example of Pipelining
Original Process - 3 sequences of 4 stages each
1 ??
Fetch
Original process takes 12 cycles Pipelined
process takes 6 cycles
Decode
??????????????????? ????????????????? ??? 20
????????????? ?
Execute
Store
4 ??
41
???????????????????????????? Parallel Processing
  • ?????????? Processor (CPU) ????????????????????
  • 1 ??? ?????????????????? ?????????????????????????
    ?? processor ???????

42
???????????????????????????????????
  • Port ????????????????????????????????????????????
    ???????????????????????????? ?????????????????????
    ??? ???? ????????? ????? ????? ????????????
    ??????????? ???????
  • ??????????????????? ??????
  • Serial port
  • Parallel port
  • USB Port

43
Ports
44
Ports
45
Serial Port
??????????????????????????????????????? (bit)
???????????????????????? ???????????? Port
??????????????? Mouse ??? MODEM (Transfer Rate
?????? 115 kbps)
46
Parallel Port
  • ??????????????????????????????????????
    ????????????????????? ??????????? 8 ???
  • ?????????????????????????????????????????????????
    ?????????? ???? ???????????? ???????

Transfer Rate ?????? 150 - 1024 kbps
47
Serial and Parallel Ports
48
USB (Universal Serial Bus) Port
  • ???? Serial port ???????????????? (12 Mbps)
    ??????? serial ??? pararell
  • ???????????????? 127 ?????, ?????-???????????????
    ?????????, ???????????????????,
    ???????????????????????

49
IEEE 1394 Fire Wire
  • ???????? 400 Mpbs
  • ????????????? ????? ??? ??????

50
????
  • CPU ?????????????????????????

??????? ??????????????
  • ?????????????????? 4
Write a Comment
User Comments (0)
About PowerShow.com