Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pertemuan 19 External Memory: I

Similar presentations


Presentation on theme: "Pertemuan 19 External Memory: I"— Presentation transcript:

1 Pertemuan 19 External Memory: I
Matakuliah : T0324 / Arsitektur dan Organisasi Komputer Tahun : 2005 Versi : 1 Pertemuan 19 External Memory: I

2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menghubungkan konsep eksternal memory dalam mendesain sistem komputer ( C4 ) ( No TIK : 9 )

3 Chapter 5. External Memory: I

4 SUM := for j:= to 9 do SUM := SUM + A(0,j) end A VE := SUM / 10 for i:= 9 do wn to do A(0,i) := A(0,i) / A VE end Figure Task for example in Section

5 Figure 5.20. Contents of a direct-mapped data cache in Example 5.1.
Contents of data cache after pass: Block j = 1 j = 3 j = 5 j = 7 j = 9 i = 6 i = 4 i = 2 i = position A(0,0) A(0,2) A(0,4) A(0,6) A(0,8) A(0,6) A(0,4) A(0,2) A(0,0) 1 2 3 4 A(0,1) A(0,3) A(0,5) A(0,7) A(0,9) A(0,7) A(0,5) A(0,3) A(0,1) 5 6 7 Figure Contents of a direct-mapped data cache in Example 5.1.

6 Contents of data cache after pass:
Block j = 7 j = 8 j = 9 i = 1 i = position A(0,0) A(0,8) A(0,8) A(0,8) A(0,0) 1 A(0,1) A(0,1) A(0,9) A(0,1) A(0,1) 2 A(0,2) A(0,2) A(0,2) A(0,2) A(0,2) 3 A(0,3) A(0,3) A(0,3) A(0,3) A(0,3) 4 A(0,4) A(0,4) A(0,4) A(0,4) A(0,4) 5 A(0,5) A(0,5) A(0,5) A(0,5) A(0,5) 6 A(0,6) A(0,6) A(0,6) A(0,6) A(0,6) 7 A(0,7) A(0,7) A(0,7) A(0,7) A(0,7) Figure Contents of an associative-mapped data cache in Example 5.1.

7 Contents of data cache after pass:
j = 3 j = 7 j = 9 i = 4 i = 2 i = A(0,0) A(0,4) A(0,8) A(0,4) A(0,4) A(0,0) A(0,1) A(0,5) A(0,9) A(0,5) A(0,5) A(0,1) Set 0 A(0,2) A(0,6) A(0,6) A(0,6) A(0,2) A(0,2) A(0,3) A(0,7) A(0,7) A(0,7) A(0,3) A(0,3) Set 1 Figure Contents of a set-associative-mapped data cache in Example 5.1.

8

9 Processing units L1 instruction L1 data cache cache Bus interface unit System bus Cache bus Main L2 cache Input/Output memory Figure Caches and external connections in Pentium III processor.

10 Figure 5.25. Addressing multiple-module memory systems.
k bits m bits Module Address in module MM address ABR DBR ABR DBR ABR DBR Module Module Module i n - 1 (a) Consecutive words in a module m bits k bits Address in module Module MM address ABR DBR ABR DBR ABR DBR Module Module Module i 2 k - 1 (b) Consecutive words in consecutive modules Figure Addressing multiple-module memory systems.

11 Pertemuan 20 External Memory: II
Matakuliah : T0324 / Arsitektur dan Organisasi Komputer Tahun : 2005 Versi : 1 Pertemuan 20 External Memory: II

12 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menghubungkan konsep eksternal memory dalam mendesain sistem komputer ( C4 ) ( No TIK : 9 )

13 Chapter 5. External Memory: II

14

15 + Figure 5.27. Virtual-memory address translation.
Virtual address from processor Page table base register Page table address Virtual page number Offset + PAGE TABLE Control Page frame bits in memory Page frame Offset Physical address in main memory Figure Virtual-memory address translation.

16 Figure 5.28. Use of an associative-mapped TLB.
Virtual address from processor Virtual page number Offset TLB Virtual page Control Page frame number bits in memory No =? Yes Miss Hit Page frame Offset Physical address in main memory Figure Use of an associative-mapped TLB.

17 Figure 5.30. Organization of one surface of a disk.
Sector 0, track 1 Sector 3, track n Sector 0, track 0 Figure Organization of one surface of a disk.

18 Figure 5.31. Disks connected to the system bus.
Processor Main memory System bus Disk controller Disk drive Disk drive Figure Disks connected to the system bus.

19 1 1 1 1 1 1 Figure 5.32. Optical disk. Aluminum Acrylic Label Pit Land
Polycarbonate plastic (a) Cross-section Pit Land Reflection Reflection No reflection Source Detector Source Detector Source Detector (b) Transition from pit to land 1 1 1 1 1 1 (c) Stored binary pattern Figure Optical disk.

20 Figure 5.33. Organization of data on magnetic tape.
File File mark File mark 7 or 9 bits File gap Record Record Record Record gap gap Figure Organization of data on magnetic tape.


Download ppt "Pertemuan 19 External Memory: I"

Similar presentations


Ads by Google