SlideShare una empresa de Scribd logo
1 de 53
William Stallings  Computer Organization  and Architecture Chapter 6 Input/Output
Input/Output Problems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Input/Output Module ,[object Object],[object Object],[object Object]
External Devices ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
I/O Module Function ,[object Object],[object Object],[object Object],[object Object],[object Object]
I/O Steps ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
I/O Module Diagram Data Register Status/Control Register External Device Interface Logic External Device Interface Logic Input Output Logic Data Lines Address Lines Data Lines Data Status Control Data Status Control Systems Bus Interface External Device Interface
I/O Module Decisions ,[object Object],[object Object],[object Object],[object Object],[object Object]
Input Output Techniques ,[object Object],[object Object],[object Object]
Programmed I/O ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programmed I/O - detail ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
I/O Commands ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Addressing I/O Devices ,[object Object],[object Object],[object Object]
I/O Mapping ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interrupt Driven I/O ,[object Object],[object Object],[object Object]
Interrupt Driven I/O Basic Operation ,[object Object],[object Object],[object Object],[object Object],[object Object]
CPU Viewpoint ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design Issues ,[object Object],[object Object],[object Object]
Identifying Interrupting Module (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identifying Interrupting Module (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Multiple Interrupts ,[object Object],[object Object],[object Object]
Example - PC Bus ,[object Object],[object Object],[object Object]
Sequence of Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PC Interrupt Layout 8086 INTR 8259A IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7
ISA Bus Interrupt System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ISA Interrupt Layout 80x86 INTR 8259A IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 8259A IRQ0 (8) IRQ1 (9) IRQ2 (10) IRQ3 (11) IRQ4 (12) IRQ5 (13) IRQ6 (14) IRQ7 (15) (IRQ 2)
Foreground Reading ,[object Object],[object Object]
Direct Memory Access ,[object Object],[object Object],[object Object],[object Object]
DMA Function ,[object Object],[object Object]
DMA Operation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DMA Transfer Cycle Stealing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Aside ,[object Object],[object Object]
DMA Configurations (1) ,[object Object],[object Object],[object Object],[object Object],CPU DMA Controller I/O Device I/O Device Main  Memory
DMA Configurations (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],CPU DMA Controller I/O Device I/O Device Main  Memory DMA Controller I/O Device
DMA Configurations (3) ,[object Object],[object Object],[object Object],[object Object],[object Object],CPU DMA Controller I/O Device I/O Device Main  Memory I/O Device I/O Device
I/O Channels ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interfacing ,[object Object],[object Object],[object Object],[object Object]
Small Computer Systems Interface (SCSI) ,[object Object],[object Object],[object Object],[object Object],[object Object]
SCSI - 1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SCSI - 2 ,[object Object],[object Object],[object Object],[object Object],[object Object]
SCSI Signaling (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SCSI Signaling (2) ,[object Object],[object Object],[object Object],[object Object]
SCSI Bus Phases Arbitration Bus  free (Re)Selection Command, Data,  Status, Message Reset
SCSI Timing Diagram
Configuring SCSI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IEEE 1394 FireWire ,[object Object],[object Object],[object Object],[object Object],[object Object]
FireWire Configuration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FireWire v SCSI
FireWire 3 Layer Stack ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FireWire - Physical Layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FireWire - Link Layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FireWire Subactions
Foreground Reading ,[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Design an I/O system
Design an I/O systemDesign an I/O system
Design an I/O systemAARTHI SEETHA
 
Lesson three hardware basics
Lesson three hardware basicsLesson three hardware basics
Lesson three hardware basicsMik Endale
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Input output systems ppt - cs2411
Input output systems ppt - cs2411Input output systems ppt - cs2411
Input output systems ppt - cs2411Geerthik Varun
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer OrganizationOm Prakash
 
Presentation007
Presentation007Presentation007
Presentation007ajaytank
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3Mujaheed Sulantingan
 
Chapter 13 - I/O Systems
Chapter 13 - I/O SystemsChapter 13 - I/O Systems
Chapter 13 - I/O SystemsWayne Jones Jnr
 
Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputPeter Tröger
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer ArchitectureMaruf Abdullah (Rion)
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)Zubair Khalid
 

La actualidad más candente (20)

Input output
Input outputInput output
Input output
 
Design an I/O system
Design an I/O systemDesign an I/O system
Design an I/O system
 
Lesson three hardware basics
Lesson three hardware basicsLesson three hardware basics
Lesson three hardware basics
 
Input & Output
Input & OutputInput & Output
Input & Output
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
Input output systems ppt - cs2411
Input output systems ppt - cs2411Input output systems ppt - cs2411
Input output systems ppt - cs2411
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
Presentation007
Presentation007Presentation007
Presentation007
 
IO Management
IO ManagementIO Management
IO Management
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
 
Chapter 13 - I/O Systems
Chapter 13 - I/O SystemsChapter 13 - I/O Systems
Chapter 13 - I/O Systems
 
Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / Output
 
DMA operation
DMA operationDMA operation
DMA operation
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
i/o interface
i/o interfacei/o interface
i/o interface
 

Similar a Chapter 6

Ch 3 System Buses
Ch 3 System BusesCh 3 System Buses
Ch 3 System BusesNestleJuco
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionCésar de Souza
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3Mujaheed Sulantingan
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2) Ajeng Savitri
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfinfo998421
 
Ch13 OS
Ch13 OSCh13 OS
Ch13 OSC.U
 
6.1_IO-Principles.ppt
6.1_IO-Principles.ppt6.1_IO-Principles.ppt
6.1_IO-Principles.pptdedanndege
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREHariharan Anand
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing HardwarePatty Ramsey
 
Computer organization part 2
Computer organization part 2Computer organization part 2
Computer organization part 2Hhhh85105
 
Itc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interfaceItc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interfaceAnzaDar3
 

Similar a Chapter 6 (20)

03 Buses
03 Buses03 Buses
03 Buses
 
Ch 3 System Buses
Ch 3 System BusesCh 3 System Buses
Ch 3 System Buses
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and Interconection
 
Ch 3 95
Ch 3 95Ch 3 95
Ch 3 95
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
Counit2 2
Counit2 2Counit2 2
Counit2 2
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2)
 
Io system
Io systemIo system
Io system
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdf
 
OSCh13
OSCh13OSCh13
OSCh13
 
OS_Ch13
OS_Ch13OS_Ch13
OS_Ch13
 
Ch13 OS
Ch13 OSCh13 OS
Ch13 OS
 
PCT SLIDE3
PCT SLIDE3PCT SLIDE3
PCT SLIDE3
 
Os
OsOs
Os
 
6.1_IO-Principles.ppt
6.1_IO-Principles.ppt6.1_IO-Principles.ppt
6.1_IO-Principles.ppt
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
 
Computer organization part 2
Computer organization part 2Computer organization part 2
Computer organization part 2
 
Itc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interfaceItc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interface
 

Chapter 6

  • 1. William Stallings Computer Organization and Architecture Chapter 6 Input/Output
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. I/O Module Diagram Data Register Status/Control Register External Device Interface Logic External Device Interface Logic Input Output Logic Data Lines Address Lines Data Lines Data Status Control Data Status Control Systems Bus Interface External Device Interface
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. PC Interrupt Layout 8086 INTR 8259A IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7
  • 25.
  • 26. ISA Interrupt Layout 80x86 INTR 8259A IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 8259A IRQ0 (8) IRQ1 (9) IRQ2 (10) IRQ3 (11) IRQ4 (12) IRQ5 (13) IRQ6 (14) IRQ7 (15) (IRQ 2)
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. SCSI Bus Phases Arbitration Bus free (Re)Selection Command, Data, Status, Message Reset
  • 45.
  • 46.
  • 47.
  • 49.
  • 50.
  • 51.
  • 53.