Perkuliahan 5 - Organisasi Dan Arsitektur Komputer - IO
Perkuliahan 5 - Organisasi Dan Arsitektur Komputer - IO
Perkuliahan 5 - Organisasi Dan Arsitektur Komputer - IO
4/4/2021
Input Output
Human readable
Screen, printer, keyboard
Machine readable
Monitoring and control
Communication
Modem
Network Interface Card (NIC)
Address
Lines Input External Data
Output Device
Data Interface Status
Logic
Lines Logic Control
S1/Semester 2/TI 04/04/2021
9
I/O Module Decisions
Programmed
Interrupt driven
Direct Memory Access (DMA)
Read/Write
Module transfers data via buffer from/to device
Isolated I/O
Separate address spaces
Need I/O or memory select lines
Special commands for I/O
Limited set
Basic Operation
CPU Viewpoint
Design Issues
(1)
(2)
Multiple Interrupts
Example - PC Bus
Sequence of Events
PC Interrupt Layout
8259A 8086
IRQ0
IRQ1
IRQ2
IRQ3 INTR
IRQ4
IRQ5
IRQ6
IRQ7
Foreground Reading
http://www.pcguide.com/ref/mbsys/res/irq/func.ht
m
DMA Function
DMA Operation
Cycle Stealing
Aside
DMA Main
CPU Memory
Controller
I/O Channels
Interfacing
Interface (SCSI)
Parallel interface
8, 16, 32 bit data lines
Daisy chained
Devices are independent
Devices can communicate with each other as well
as host
SCSI - 1
Early 1980s
8 bit
5MHz
Data rate 5MBytes.s-1
Seven devices
Eight including host interface
SCSI - 2
1991
16 and 32 bit
10MHz
Data rate 20 or 40 Mbytes.s-1
Reset
Command,
Bus Data,
Arbitration (Re)Selection
free Status,
Message
Configuring SCSI
FireWire Configuration
Daisy chain
Up to 63 devices on single port
Really 64 of which one is the interface itself
Up to 1022 buses can be connected with bridges
Automatic configuration
No bus terminators
May be tree structure
Physical
Transmission medium, electrical and signaling
characteristics
Link
Transmission of data in packets
Transaction
Request-response protocol
Fair arbitration
Urgent arbitration
Foreground Reading