SlideShare a Scribd company logo
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Chapter 10
Input/Output Organization
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Chapter Outline
• Asynchronous data transfers
• Programmed I/O
• Interrupts
• Direct Memory Access
• I/O Processors
• Serial Communication
• Serial Communication Standards
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Data Transfers
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Source-initiated Data Transfer
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Destination-initiated Data
Transfer
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Source-initiated Data Transfer
with Handshaking
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Destination-initiated Data
Transfer with Handshaking
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Programmed I/O
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Example
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Example
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Example
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Example
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Example
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
New Instructions
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
New Control Signals
• IO differentiates I/O and memory
accesses
– IO = 1 for I/O access
– IO = 0 for memory access
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
New States and RTL Code
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
• Modify register section
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
• Modify register section
• Modify ALU
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
• Modify register section
• Modify ALU
• Modify control unit (hard-wired)
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
• Modify register section
• Modify ALU
• Modify control unit (hard-wired)
• Register and ALU sections unchanged
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
• Modify register section
• Modify ALU
• Modify control unit (hard-wired)
• Register and ALU sections unchanged
• One new micro-operation: DR  Input
Port
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Control Unit Changes
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Control Unit Changes - INC
and CLR signals
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Control Unit Changes - INC
and CLR signals
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Control Unit Changes -
Memory Read Signal
• Memory Read = READ ^ IO’
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Interrupts
• Polling
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Interrupts
• IRQ - Interrupt Request
• IACK - Interrupt Acknowledge
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Types of Interrupts
• External
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Types of Interrupts
• External
• Internal
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Types of Interrupts
• External
• Internal
• Software
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Processing Interrupts
• Do nothing (until the current instruction
has been executed)
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Processing Interrupts
• Do nothing (until the current instruction
has been executed)
• Get handler address (vectored)
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Processing Interrupts
• Do nothing (until the current instruction
has been executed)
• Get handler address (vectored)
• Invoke handler routine
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Vectored Interrupt Hardware
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Non-vectored Interrupt
Hardware
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Multiple Non-vectored
Interrupts
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Daisy Chaining
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
IACKin and IACKout
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Parallel Priority Interrupts
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Interrupt States
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Direct Memory Access
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
DMA Controller
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
DMA Transfer Modes
• Block/Burst Mode
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
DMA Transfer Modes
• Block/Burst Mode
• Cycle Stealing Mode
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
DMA Transfer Modes
• Block/Burst Mode
• Cycle Stealing Mode
• Transparent Mode
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications - Micro-
operations
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications - Micro-
operations
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
CPU Modifications
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
I/O Processors
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
I/O Processors - operations
• Block transfer commands
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
I/O Processors - operations
• Block transfer commands
• ALU operations
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
I/O Processors - operations
• Block transfer commands
• ALU operations
• Control commands
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
• bps - Bits Per Second (baud rate)
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
• bps - Bits Per Second (baud rate)
• start bit
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
• bps - Bits Per Second (baud rate)
• start bit
• parity bit
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
• bps - Bits Per Second (baud rate)
• start bit
• parity bit
• stop bit(s)
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
• bps - Bits Per Second (baud rate)
• start bit
• parity bit
• stop bit(s)
• bit time
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Asynchronous Serial
Communication
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Synchronous Serial
Communication - HDLC
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Universal Asynchronous
Receiver/Transmitters
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
UART Internal Configuration
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
• Request To Send
• Clear To Send
• Transmission Data
• Data Terminal Ready
• Data Set Ready
• Received Data
• Data Carrier Detect
• Ring Indicator
• Ground
RS 232C Standard - Signals
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
RS 232C Standard -
Connection
• Use RTS, CTS, DTR, and DSR to verify
that both devices are active
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
RS 232C Standard -
Connection
• Use RTS, CTS, DTR, and DSR to verify
that both devices are active
• Use RI to indicate call status
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
RS 232C Standard -
Connection
• Use RTS, CTS, DTR, and DSR to verify
that both devices are active
• Use RI to indicate call status
• Use DCD to establish connectivity
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
RS 232C Standard -
Connection
• Use RTS, CTS, DTR, and DSR to verify
that both devices are active
• Use RI to indicate call status
• Use DCD to establish connectivity
• Use TD and RD to transfer data, and
RTS and CTS to coordinate transfers
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
RS 422 Standard - Signals
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Universal Serial Bus Standard
• Connects one port to several devices
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Universal Serial Bus Standard
• Connects one port to several devices
• Transfers data in packets
– Token packets
– Data packets
– Handshake packets
– Special Packets
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
USB Packet Formats
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Summary
• Asynchronous data transfers
• Programmed I/O
• Interrupts
• Direct Memory Access
• I/O Processors
• Serial Communication
• Serial Communication Standards

More Related Content

More from AshokRachapalli1

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
AshokRachapalli1
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...
AshokRachapalli1
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx
AshokRachapalli1
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
AshokRachapalli1
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
AshokRachapalli1
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptx
AshokRachapalli1
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
AshokRachapalli1
 
lec16-memory.ppt
lec16-memory.pptlec16-memory.ppt
lec16-memory.ppt
AshokRachapalli1
 
lecture-17.ppt
lecture-17.pptlecture-17.ppt
lecture-17.ppt
AshokRachapalli1
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptx
AshokRachapalli1
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
AshokRachapalli1
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptx
AshokRachapalli1
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptx
AshokRachapalli1
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptx
AshokRachapalli1
 
Flow Control.pptx
Flow Control.pptxFlow Control.pptx
Flow Control.pptx
AshokRachapalli1
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
AshokRachapalli1
 
intro22.ppt
intro22.pptintro22.ppt
intro22.ppt
AshokRachapalli1
 
osi.ppt
osi.pptosi.ppt
switching.pptx
switching.pptxswitching.pptx
switching.pptx
AshokRachapalli1
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 

More from AshokRachapalli1 (20)

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptx
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
lec16-memory.ppt
lec16-memory.pptlec16-memory.ppt
lec16-memory.ppt
 
lecture-17.ppt
lecture-17.pptlecture-17.ppt
lecture-17.ppt
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptx
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptx
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptx
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptx
 
Flow Control.pptx
Flow Control.pptxFlow Control.pptx
Flow Control.pptx
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
intro22.ppt
intro22.pptintro22.ppt
intro22.ppt
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
switching.pptx
switching.pptxswitching.pptx
switching.pptx
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 

Recently uploaded

Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 

Recently uploaded (20)

Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 

Chapter10.ppt

  • 1. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 10 Input/Output Organization
  • 2. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter Outline • Asynchronous data transfers • Programmed I/O • Interrupts • Direct Memory Access • I/O Processors • Serial Communication • Serial Communication Standards
  • 3. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Data Transfers
  • 4. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Source-initiated Data Transfer
  • 5. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Destination-initiated Data Transfer
  • 6. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Source-initiated Data Transfer with Handshaking
  • 7. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Destination-initiated Data Transfer with Handshaking
  • 8. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Programmed I/O
  • 9. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example
  • 10. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example
  • 11. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example
  • 12. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example
  • 13. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example
  • 14. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 New Instructions
  • 15. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 New Control Signals • IO differentiates I/O and memory accesses – IO = 1 for I/O access – IO = 0 for memory access
  • 16. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 New States and RTL Code
  • 17. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications • Modify register section
  • 18. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications • Modify register section • Modify ALU
  • 19. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications • Modify register section • Modify ALU • Modify control unit (hard-wired)
  • 20. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications • Modify register section • Modify ALU • Modify control unit (hard-wired) • Register and ALU sections unchanged
  • 21. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications • Modify register section • Modify ALU • Modify control unit (hard-wired) • Register and ALU sections unchanged • One new micro-operation: DR  Input Port
  • 22. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Control Unit Changes
  • 23. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Control Unit Changes - INC and CLR signals
  • 24. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Control Unit Changes - INC and CLR signals
  • 25. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Control Unit Changes - Memory Read Signal • Memory Read = READ ^ IO’
  • 26. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Interrupts • Polling
  • 27. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Interrupts • IRQ - Interrupt Request • IACK - Interrupt Acknowledge
  • 28. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Types of Interrupts • External
  • 29. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Types of Interrupts • External • Internal
  • 30. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Types of Interrupts • External • Internal • Software
  • 31. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Processing Interrupts • Do nothing (until the current instruction has been executed)
  • 32. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Processing Interrupts • Do nothing (until the current instruction has been executed) • Get handler address (vectored)
  • 33. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Processing Interrupts • Do nothing (until the current instruction has been executed) • Get handler address (vectored) • Invoke handler routine
  • 34. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Vectored Interrupt Hardware
  • 35. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Non-vectored Interrupt Hardware
  • 36. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Multiple Non-vectored Interrupts
  • 37. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Daisy Chaining
  • 38. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 IACKin and IACKout
  • 39. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Parallel Priority Interrupts
  • 40. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications
  • 41. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications
  • 42. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Interrupt States
  • 43. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Direct Memory Access
  • 44. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 DMA Controller
  • 45. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 DMA Transfer Modes • Block/Burst Mode
  • 46. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 DMA Transfer Modes • Block/Burst Mode • Cycle Stealing Mode
  • 47. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 DMA Transfer Modes • Block/Burst Mode • Cycle Stealing Mode • Transparent Mode
  • 48. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications - Micro- operations
  • 49. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications - Micro- operations
  • 50. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications
  • 51. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 CPU Modifications
  • 52. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 I/O Processors
  • 53. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 I/O Processors - operations • Block transfer commands
  • 54. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 I/O Processors - operations • Block transfer commands • ALU operations
  • 55. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 I/O Processors - operations • Block transfer commands • ALU operations • Control commands
  • 56. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication • bps - Bits Per Second (baud rate)
  • 57. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication • bps - Bits Per Second (baud rate) • start bit
  • 58. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication • bps - Bits Per Second (baud rate) • start bit • parity bit
  • 59. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication • bps - Bits Per Second (baud rate) • start bit • parity bit • stop bit(s)
  • 60. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication • bps - Bits Per Second (baud rate) • start bit • parity bit • stop bit(s) • bit time
  • 61. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Asynchronous Serial Communication
  • 62. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Synchronous Serial Communication - HDLC
  • 63. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Universal Asynchronous Receiver/Transmitters
  • 64. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 UART Internal Configuration
  • 65. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 • Request To Send • Clear To Send • Transmission Data • Data Terminal Ready • Data Set Ready • Received Data • Data Carrier Detect • Ring Indicator • Ground RS 232C Standard - Signals
  • 66. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 RS 232C Standard - Connection • Use RTS, CTS, DTR, and DSR to verify that both devices are active
  • 67. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 RS 232C Standard - Connection • Use RTS, CTS, DTR, and DSR to verify that both devices are active • Use RI to indicate call status
  • 68. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 RS 232C Standard - Connection • Use RTS, CTS, DTR, and DSR to verify that both devices are active • Use RI to indicate call status • Use DCD to establish connectivity
  • 69. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 RS 232C Standard - Connection • Use RTS, CTS, DTR, and DSR to verify that both devices are active • Use RI to indicate call status • Use DCD to establish connectivity • Use TD and RD to transfer data, and RTS and CTS to coordinate transfers
  • 70. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 RS 422 Standard - Signals
  • 71. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Universal Serial Bus Standard • Connects one port to several devices
  • 72. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Universal Serial Bus Standard • Connects one port to several devices • Transfers data in packets – Token packets – Data packets – Handshake packets – Special Packets
  • 73. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 USB Packet Formats
  • 74. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Summary • Asynchronous data transfers • Programmed I/O • Interrupts • Direct Memory Access • I/O Processors • Serial Communication • Serial Communication Standards