Pengantar Organisasi Komputer - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Pengantar Organisasi Komputer

Description:

MDRout, IRin. Fetch operand #1 (isi lokasi memori yg ditunjuk oleh R3) R3out, MARin, Read ... MDRout, IRin. PCout, Yin , If N=0 then End // take the branch? ... – PowerPoint PPT presentation

Number of Views:875
Avg rating:3.0/5.0
Slides: 23
Provided by: bobbyn4
Category:

less

Transcript and Presenter's Notes

Title: Pengantar Organisasi Komputer


1
IKI20210Pengantar Organisasi KomputerKuliah
Minggu ke-5b Prosesor
Sumber1. Hamacher. Computer Organization,
ed-4.2. Materi kuliah CS152, th. 1997, UCB.
9 Oktober 2002 Bobby Nazief (nazief_at_cs.ui.ac.id)J
ohny Moningka (moningka_at_cs.ui.ac.id) bahan
kuliah http//www.cs.ui.ac.id/iki20210/
2
  • Waktu Eksekusi

3
Waktu Eksekusi Gate Delay
  • When input 0 ? 1, output 1 ? 0 but NOT instantly
  • Output goes 1 ? 0 output voltage goes from Vdd
    (5v) to 0v
  • When input 1 ? 0, output 0 ? 1 but NOT instantly
  • Output goes 0 ? 1 output voltage goes from 0v to
    Vdd (5v)
  • Voltage does not like to change instantaneously

Voltage
1 gt Vdd
0 gt GND
Time
4
Waktu Eksekusi Series Connection
Vdd
V1
Vin
G1
G2
G1
G2
C1
Voltage
Vdd
V1
Vout
Vin
Vdd/2
d1
d2
GND
Time
  • Total Propagation Delay Sum of individual
    delays d1 d2
  • Capacitance C1 has two components
  • Capacitance of the wire connecting the two gates
  • Input capacitance of the second inverter

5
Waktu Eksekusi Registers Delay
Clk
  • Setup Time Input must be stable BEFORE the
    trigger clock edge
  • Hold Time Input must REMAIN stable after the
    trigger clock edge
  • Clock-to-Q time
  • Output cannot change instantaneously at the
    trigger clock edge

6
Waktu Eksekusi
R2out, Add, Zin
Turn-on time for 3-state driver
Transmission time
Propagation delay through ALU
Setup time
Hold time
7
  • Langkah-langkah
  • Pengeksekusian Instruksi

8
Tahapan Eksekusi Instruksi
  • Instruksi
  • Add R1,(R3) R1 ? R1 MR3
  • Langkah-langkah
  • Fetch instruksi
  • PCout, MARin, Read, Clear Y, Set carry-in to ALU,
    Add, Zin
  • Zout, PCin, WMFC
  • MDRout, IRin
  • Fetch operand 1 (isi lokasi memori yg ditunjuk
    oleh R3)
  • R3out, MARin, Read
  • R1out, Yin, WMFC
  • Lakukan operasi penjumlahan
  • MDRout, Add, Zin
  • Simpan hasil penjumlahan di R1
  • Zout, R1in, End

9
1. Fetch instruksi
Add R1,(R3) R1 ? R1 MR3
Control lines
Address lines
Data lines
00000000
Add
1
Carry-in
PC1
10
2. Fetch operand 1
Add R1,(R3) R1 ? R1 MR3
Address lines
Data lines
11
3. Lakukan operasi penjumlahan
Add R1,(R3) R1 ? R1 MR3
Address lines
Data lines
Add
Carry-in
Zin
12
4. Simpan hasil penjumlahan
Add R1,(R3) R1 ? R1 MR3
Address lines
Data lines
13
Tahapan Eksekusi Branching
  • Unconditional
  • PCout, MARin, Read, Clear Y, Set carry-in to ALU,
    Add, Zin
  • Zout, PCin, WMFC
  • MDRout, IRin
  • PCout, Yin
  • Offset-field-of-IRout, Add, Zin // PC ? PC
    Offset
  • Zout, PCin, End
  • Conditional (contoh branch-on-negative)
  • PCout, MARin, Read, Clear Y, Set carry-in to ALU,
    Add, Zin
  • Zout, PCin, WMFC
  • MDRout, IRin
  • PCout, Yin , If N0 then End // take the branch?
  • Offset-field-of-IRout, Add, Zin // PC ? PC
    Offset
  • Zout, PCin, End

14
  • Pengendalian Eksekusi Instruksi
  • Hardwired Control

15
Interaksi Control ? Datapath
  • STEP CONTROL SIGNALS
  • 1. PCout, MARin, Read, Clear Y, Set carry-in to
    ALU, Add, Zin
  • 2. Zout, PCin, WMFC
  • 3. MDRout, IRin
  • 4. R3out, MARin, Read
  • 5. R1out, Yin, WMFC
  • 6. MDRout, Add, Zin
  • 7. Zout, R1in, End

16
Organisasi Unit Pengendali
17
Pemisahan Decoder Encoder
18
Contoh Struktur Encoder untuk sinyal Zin
  • Fungsi Logika
  • Zin T1 T6 ? ADD T5 ? BR
  • Zin akan terjadi pada
  • T1 untuk setiap instruksi (instruksi
    berikut PC1)
  • T5 untuk instruksi ADD
  • T6 untuk instruksi BR

19
Interaksi Prosesor ? Memori
t2
t3
t4
t5
t1
20
Implementasi Unit Pengendali pada VLSI
  • PLA (Programmable Logic Array)
  • Struktur gerbang logika yang terdiri dari
    kelompok AND OR
  • Pola interkoneksi yang teratur sehingga padat ?
    VLSI

21
Struktur Internal PLA
22
Interaksi Memori ? Control,Datapath
Control
Ideal Instruction Memory
Control Signals
Conditions
Instruction
Rd
Rs
Rt
5
5
5
Instruction Address
A
Data Address
Data Out
32
Rw
Ra
Rb
32
Ideal Data Memory
32
Registers
Next Address
Data In
B
Clk
Clk
32
Datapath
Write a Comment
User Comments (0)
About PowerShow.com