Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

1 IKI10230 Pengantar Organisasi Komputer Pembahasan PR #3, #4, #5 4 Juni 2003 Bobby Nazief Qonita Shahab bahan.

Presentasi serupa


Presentasi berjudul: "1 IKI10230 Pengantar Organisasi Komputer Pembahasan PR #3, #4, #5 4 Juni 2003 Bobby Nazief Qonita Shahab bahan."— Transcript presentasi:

1 1 IKI10230 Pengantar Organisasi Komputer Pembahasan PR #3, #4, #5 4 Juni 2003 Bobby Nazief (nazief@cs.ui.ac.id) Qonita Shahab (niet@cs.ui.ac.id) bahan kuliah: http://www.cs.ui.ac.id/kuliah/iki10230/

2 2 PR #3 1.5.6: Cache design/performance (direct-mapped) 2.5.10: Cache design/performance (set-associative) 3.5.13: Cache mapping comparison 4.5.21: Virtual memory, page-fault 5.5.27: Disk access

3 3 PR #3: 5.6 °Struktur Cache: Direct-mapped, 1 K, 128 word/blok  8 blok °Memori utama: 64 K  29 blok = 512 blok °Pemetaan program  blok: 17 – 22: blok #0 23 – 164: -23 – 127: blok #0 -128 – 164: blok #1 165 – 239: blok #1 240 – 1200: -240 – 255: blok #1 -256 – 1023: blok #2, #3, #4, #5, #6, #7 -1024 – 1151: blok #0 -1152 – 1200: blok #1 1201 – 1500: -1201 – 1279: blok #1 -1280 – 1500: blok #2, #3 °Tmem = 10 t, Tcache = 1 ts

4 4 PR #3: 5.6 °WORD = 7 bit (27 = 128 word) BLOCK = 3 bit (23 = 8 blok) TAG = 16 – (7 + 3) = 6 bit °Pola akses blok: 17-22, 23-164, 20*(165-239), 240-1200, 9*(23-164, 20*(165-239), 240-1200), 1201-1500 °Tprogram =(Tmem + 5*Tcache) +(105*Tcache+(Tmem+36*Tcache)+20*75*Tcache +16*Tcache+7*(Tmem+127*Tcache)+Tmem+49*Tcache +9* (Tmem+104*Tcache+(Tmem+36*Tcache)+20*75*Tcache +16*Tcache+7*(Tmem+127*Tcache)+Tmem+49*Tcache) +79*Tcache+Tmem+127*Tcache+Tmem+93*Tcache

5 5 PR #4 1.6.1: Algoritme Penjumlahan/Pengurangan & Overflow 2.6.6/7: Pemrograman (gunakan bahasa “generik”) 3.6.10: Perancangan Rangkaian Logika 4.6.14: Algoritme Perkalian/Pembagian 5.6.15: Pemrograman (gunakan bahasa “generik”) 6.6.25: Bilangan Pecahan

6 6 PR #5 1.7.3: waktu eksekusi 2.7.5: pengeksekusian instruksi (straight-line) 3.7.10: pengeksekusian instruksi (branching) 4.7.11: pengeksekusian instruksi (call) 5.7.24: microprogramming

7 7 PR #5: 7.5.a a)Add R1, #NUM PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, IRin PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, Yin R1out, Add, SelectY, Zin Zout, R1in, End

8 8 PR #5: 7.5.b b)Add R1, NUM PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, IRin PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, MARin, Read R1out, Yin, WMFC MDRout, Add, SelectY, Zin Zout, R1in, End

9 9 PR #5: 7.5.c c)Add R1, (NUM) PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, IRin PCout, MARin, Read, Select4, Add, Zin Zout, PCin, Yin, WMFC MDRout, MARin, Read R1out, Yin, WMFC MDRout, MARin, Read WMFC MDRout, Add, SelectY, Zin Zout, R1in, End


Download ppt "1 IKI10230 Pengantar Organisasi Komputer Pembahasan PR #3, #4, #5 4 Juni 2003 Bobby Nazief Qonita Shahab bahan."

Presentasi serupa


Iklan oleh Google