You are on page 1of 22

IKI20210 Pengantar Organisasi Komputer Kuliah no.

1: Pendahuluan
Sumber: 1. Hamacher. Computer Organization, ed-5. 2. Materi kuliah CS61C/2000 & CS152/1997, UCB.

14 Februari 2003 Bobby Nazief (nazief@cs.ui.ac.id) Qonita Shahab (niet@cs.ui.ac.id)


bahan kuliah: http://www.cs.ui.ac.id/kuliah/iki20210/

IKI20210

Pengantar Organisasi Komputer

Mata kuliah ini mengajarkan dasar-dasar organisasi komputer sekuensial, yang terdiri dari komponen-komponen: input, output, memori, dan prosesor (kontrol dan datapath), melalui pemrograman dengan bahasa assembly. Pengantar Sistem Digital Konsep Pemrograman I 3 SKS V. Carl Hamacher, dkk. Computer Organization. Edisi ke-5. McGraw-Hill, 2002. David Patterson & John Hennessy. Computer Organization & Design: The Hardware/Software Interface. Morgan Kaufmann Publishers, Inc.

Prasyarat:

Bobot:

Buku Acuan:

ADMINISTRASI PERKULIAHAN

Penilaian:

Tugas: UTS: UAS:

30% 30% 40%

(5 tugas pemrograman + PR)

Jadwal Kuliah:

Rabu: 8:00 9:40 WIB Jumat: 8:00 8:50 WIB UTS: 16 April 2003 UAS: 9 - 20 Juni 2003

Jadwal Ujian:

Organisasi Sistem Komputer

ORGANISASI SISTEM KOMPUTER


Application (Netscape) Operating Compiler System Assembler (Windows 98) Processor Memory I/O system Datapath & Control Digital Design Circuit Design
transistors

20210
Instruction Set Architecture

Software Hardware

Koordinasi dari berbagai tingkat abstraksi

TINGKAT-TINGKAT ABSTRAKSI ORGANISASI KOMPUTER

Application S/W

MS Word computer as electronic type-writer MS Excel computer as electronic calculator Compilers computer as translator (source to executable program) Operating Systems computer as machine that executes programs, stores files, prints content of files to printers, communicate with other computers What basic operations can be carried out What, where, and how data can be stored & retrieved in/from memory How can data be exchanged to the outside world The 5 components: Datapath, Control, Memory, Input, Output

System S/W

Instruction Set

Computer H/W

TINGKAT-TINGKAT BAHASA PEMROGRAMAN


High Level Language Program (e.g., C) Compiler Assembly Language Program (e.g.,AVR) Assembler Machine Language Program (AVR) Machine Interpretation Control Signal Specification

A = 25;

B = 8;
20210 C = A * B;
lds r1, 0x100 lds r2, 0x102 add r1, r2 sts 0x104, r1

0000 1010 1100 0101

1001 1111 0110 1000

1100 0101 1010 0000

0110 1000 1111 1001

1010 0000 0101 1100

1111 1001 1000 0110

0101 1100 0000 1010

1000 0110 1001 1111

ORGANISASI BAHASA PEMROGRAMAN JAVA


Java Language

byte code
Java Virtual Machine
JVM dapat langsung berhubungan dgn h/w

Operating System

Computer H/W

5 KOMPONEN UTAMA KOMPUTER

Computer Processor (active) Control (brain) Datapath (brawn) Memory (passive) Devices Input

Keyboard, Mouse
Disk
(where programs, data live when not running)

(where programs, data live when running)

Output

Display, Printer

Contoh-contoh (Organisasi) Komputer

CONTOH: KOMPUTER BERBASIS PENTIUM

Processor/Memory Bus

PCI Bus

I/O Busses

CONTOH: KOMPUTER BERBASIS SPARCSTATION20

TI SuperSPARCtm TMS390Z50 in Sun SPARCstation20


SuperSPARC
Floating-point Unit Integer Unit L2 $ CC MBus DRAM Controller MBus Module

Inst Cache

Ref MMU

Data Cache Store Buffer

L64852 MBus control


M-S Adapter STDIO
serial kbd mouse audio RTC Boot PROM Floppy

SBus
SBus
DMA

SCSI Ethernet

Bus Interface

SBus Cards

CONTOH: MICROCONTROLLER AT90S8515

STRUKTUR (UMUM) INTERKONEKSI ANTAR-KOMPONEN


Proc Caches Processor-Memory Bus adapters Memory Controllers I/O Devices: Disks Displays Keyboards I/O Bus

Networks

Semua komponen memiliki organisasi & antar-muka

OUTLINE MATERI KULIAH

Konsep-konsep Dasar

Stored Program Computer Instruction Set

Set Instruksi/Pemrograman Input/Output Memori Aritmatika Prosesor


Datapath Control Unit

Pipeline

GENERASI KOMPUTER

I: 46 57: UNIVAC 1103

II: 58 64: IBM 7094


Bahasa Rakitan Vacuum Tube 40.000 instruksi/detik

III: 65 71: IBM System/360, DEC PDP-8


Bahasa Tingkat Tinggi (Fortran, Cobol), Kompilator Transistor I/O & Processor Parallelism 200.000 instruksi/detik Sistem Operasi Small- & Medium-scale Integrated Circuit (IC) Cache & Virtual Memory, Microprogramming, Pipelining, Parallelism 1.000.000 instruksi/detik Large Scale Integrated Circuit (LSI) Microprocessor, PC 10.000.000 instruksi/detik

IV: 72 77: Apple IIe, IBM PC

IV: 78 : 80286 Pentium IV, MIPS, Sparc, PowerPC


Very Large Scale Integrated Circuit (VLSI) 100.000.000 instruksi/detik

Trend Teknologi

TREN TEKNOLOGI: KAPASITAS MIKROPROSESOR


100000000

10000000

Moores Law
1000000

Pentium i80486

Transistors

i80386 100000 i80286

Alpha 21264: 15 million Pentium Pro: 5.5 million PowerPC 620: 6.9 million Alpha 21164: 9.3 million Sparc Ultra: 5.2 million

i8086 10000 i8080 i4004 1000 1970 1975 1980 1985 Year 1990 1995 2000

2X transistors/Chip Every 1.5 years

Called Moores Law

TREN TEKNOLOGI: KINERJA PROSESOR


900 800 700 600 500 400 300 200 100 0

1.54X/yr

DEC Alpha 21264/600

DEC Alpha 5/500 DEC DEC Alpha 5/300 IBM HP AXP/ SunMIPSMIPS 9000/ DEC Alpha 4/266 500 -4/ M M/ RS/ 750 IBM POWER 100 260 2000 1206000

87 88 89 90 91 92 93 94 95 96 97

Processor performance increase/year, mistakenly referred to as Moores Law (transistors/chip)

TREN TEKNOLOGI: KAPASITAS MEMORI (1 CHIP DRAM)


size

1000000000

100000000

10000000

1000000

100000

year 1980 1983 1986 1989 1992 1996 2000

size(Megabit) 0.0625 0.25 1 4 16 64 256

Bits

10000

1000 1970 1975 1980 1985 Year 1990 1995 2000

Now 1.4X/yr, or doubling every 2 years 4000X since 1980

TEKNOLOGI KOMPUTER PERUBAHAN DRAMATIS

Prosessor

2X lebih cepat setiap 1,5 tahun 100X lebih cepat dalam dekade terakhir Kapasitas DRAM: 2x / 2 years Kecepatan Memori: meningkat 10% per tahun Biaya per bit: membaik 25% per tahun Kapasitas meningkat 64X dalam dekade terakhir Kapasitas disk: > 2X setiap 1,0 tahun Biaya per bit: membaik 100% per tahun Kapasitas meningkat 120X dalam dekade terakhir

Memori

Disk

BICYCLE COMPUTER (EMBEDDED)

Heart Rate

Speed Altitude

P. Brain

wireless heart monitor strap record 5 measures: speed, time, current distance, elevation and heart rate Every 10 to 60 sec. 8KB data 33 hours Stores information so can be uploaded through a serial port into PC to be analyzed

Dramatic change !!!

You might also like