SlideShare a Scribd company logo
Computer Organization and Architecture
Presented By:
Vikram Patel
Topics
 Input Output (I/O) ports
 Input Output Mapping
 Memory map techniques
 Interrupt driven I/O
 DMA based Input Output
 Input Output Processor
Input-Output ports ( I/O Ports)
 Input : Information or data to the computer
 Output : Information or data from computer
 Computers are based on the fundamental idea that every input results in an
output.
What is Input and Output ?
What are Input-Output Ports?
 They are what connect input and output devices (Keyboard, Mouse,
Printer, Scanner, Monitor etc.) to the computer.
Types of Input-Output (I/O) ports
 Serial Port
 PS/2
 Parallel Printer Port
 LAN Port
 Audio Port
 Universal serial Bus (USB)
Input output in computer Orgranization and architecture
Input Output Mapping
Input Output Mapping
 Memory Mapped I/O
 Isolated I/O
There are two types of Input Output Mapping
 Memory & I/O Share the entire address range of processor.
 Any machine instruction that can access memory can be used to
transfer data to or from an I/O device.
 Memory control signals, used to control read & write I/O operations.
Memory Mapped I/O
 Processor Provide separate Address Range for Memory & I/O.
 Input Output control signals are used to control read and write
input output operations.
Isolated I/O
Memory Map Techniques
Memory Map Techniques
There are 3 types of Memory map Techniques
 Direct Mapping
 Fully Associative Mapping
 Set – Associative Mapping
 Simplest way of mapping.
 Main memory is divided in blocks.
 Maps each block of main memory into only one possible cache line.
Direct Mapping
Direct Mapping
Fully Associative Mapping
 In associative cache mapping, the data from any location in
RAM can be stored in any location in cache.
 When the processor wants an address, all tag fields in the
cache as checked to determine if the data is already in the
cache.
 Each tag line requires circuitry to compare the desired
address with the tag field.
 All fields are checked in parallel.
Fully Associative Mapping
 Set associative mapping is a mixture of direct and associative mapping.
 The cache lines are grouped into sets.
 The number of lines in a set can vary from 2 to 16.
 A portion of the address is used to specify which set will hold an
address.
 The data can be stored in any of the lines in the set.
Set-Associative Mapping
Set Associative Mapping
V-Set Associative
Mapping
Set Associative Mapping
K-Set Associative
Mapping
Interrupt Driven I/O
What is Interrupt?
 Event that disrupts the normal execution of a program and causes the
execution of special instructions.
Interrupt Driven I/O
 In Interrupt Driven I/O approach, the processor issues an I/O command
to a module and then go on to do some other useful work.
 The I/O module with then interrupt the processor to request service
when it is ready to exchange data with the processor. The processor
then executes resumes its former processing.
Simple Interrupt Processing
Advantages of Interrupt Driven I/O
 I/O is important aspect for communicating.
 Interrupt adapts to the processor speed and I/O device, automatically.
Drawbacks of Interrupt Driven I/O
 The I/O transfer rate is limited by the speed with which the processor
can test and service a device.
 Needs continues intervention of processor, so it consumes time.
DMA Based I/O
What is DMA?
 DMA – Direct Memory Access
 In this method the input and output devices read/write information from
the main memory without interference of the CPU through the system
bus.
Block Diagram of DMA
DMA Operation
 The processor issues a command to DMA module
 Read or write
 I/O device address using data lines
 Starting memory address using data lines – stored in address
register
 Number of words to be transferred using data lines – stored in
data register
DMA Operation (Cont.)
 The processor then continues with other work.
 DMA module transfers the entire block of data – one word at a time –
directly to or from memory without going through the processor.
 DMA module sends an interrupt to the processor when complete.
Configuration of DMA
Single-bus, Detached DMA
Single-bus, Integrated DMA
I/O Bus
Advantages of DMA
 Fast transfer of data.
 CPU and DMA run concurrently under cache mode.
 DMA can trigger an interrupt, which frees the CPU so the speed
increases.
Input Output Channels and
Processors
Input Output Channels and Processors
 I/O processor is an extension of the concept of DMA. The I/O
processor can execute specialized I/O program residing in the memory
without intervention of the CPU.
 CPU only needs to specify a sequence of I/O activity to I/O processor
 An advanced I/O processor can have its own memory, enabling a large
set of I/O devices to be controlled without much involvement from the
CPU.
Types of I/O channels
 Controls multiple high-speed devices
 Dedicated to the transfer of data with one of the devices
 Each device handled by a controller or I/O module
 I/O channel controls these I/O controllers
 1.) Selector Channel
Types of I/O channels
 2.) Multiplexor Channel
 Can handle multiple devices at the same time
 Byte multiplexor – used for low-speed devices
 Block multiplexor – interleaves blocks of data from several devices.
Advantages I/O channels
 Makes transfers less visible to CPU, spreads the complexity
 Can Improve speed
 Can improve device organization flexibility
Conclusion
 Input output devices gets connected to computer through I/O Ports.
 There are Direct mapping, Fully Associative and Set-Associative
method techniques for mapping the memory.
 There are various method of transferring data from Input output
devices to the memory or memory to Input Output devices.
Like : Interrupt Driven I/O, DMA Based I/O, Input Output
Processors.
 Book : Computer Organization and Architecture by William Stallings
 Images : Google Images
Reference
Any Queries?
Thank You
Ad

More Related Content

What's hot (20)

Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
Mazin Alwaaly
 
Asynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptxAsynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptx
ArunaDevi63
 
Array Processor
Array ProcessorArray Processor
Array Processor
Anshuman Biswal
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
Tushar B Kute
 
Cache memory
Cache memoryCache memory
Cache memory
chauhankapil
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Kamal Acharya
 
Cache memory
Cache memoryCache memory
Cache memory
Faiq Ali Sayed
 
1.prallelism
1.prallelism1.prallelism
1.prallelism
Mahesh Kumar Attri
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
Mazin Alwaaly
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
Sanjeev Patel
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
Yong Heui Cho
 
Microoperations
MicrooperationsMicrooperations
Microoperations
Rakesh Pillai
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
priya Nithya
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
RAMESHBABUA3
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
Mazin Alwaaly
 
Computer Systems Organization
Computer Systems OrganizationComputer Systems Organization
Computer Systems Organization
LiEdo
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory system
Mazin Alwaaly
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
Mazin Alwaaly
 
Asynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptxAsynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptx
ArunaDevi63
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
Tushar B Kute
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
Mazin Alwaaly
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
Sanjeev Patel
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
Yong Heui Cho
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
priya Nithya
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
Mazin Alwaaly
 
Computer Systems Organization
Computer Systems OrganizationComputer Systems Organization
Computer Systems Organization
LiEdo
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory system
Mazin Alwaaly
 

Similar to Input output in computer Orgranization and architecture (20)

Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
EktaVaswani2
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
faria_khan
 
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
info998421
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
cauuthovohoaichau
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
Er. Nawaraj Bhandari
 
Unit 5
Unit 5Unit 5
Unit 5
sowndaryaM5
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
Jeanie Delos Arcos
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
MuhammadRobeel3
 
Co notes
Co notesCo notes
Co notes
Dr. Nandkumar Khachane
 
IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
GaganaPurshothama
 
I/O Channel IBM 370
I/O Channel IBM 370I/O Channel IBM 370
I/O Channel IBM 370
Äkshäý M S
 
CO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptxCO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptx
ahmedsalik057
 
inputoutput_organization__Morrismano.ppt
inputoutput_organization__Morrismano.pptinputoutput_organization__Morrismano.ppt
inputoutput_organization__Morrismano.ppt
SeliMohapatra1
 
Computer organization I/O organization details
Computer organization I/O organization detailsComputer organization I/O organization details
Computer organization I/O organization details
423ec0007
 
I/O Management
I/O ManagementI/O Management
I/O Management
Keyur Vadodariya
 
Cpi unit 01
Cpi unit 01Cpi unit 01
Cpi unit 01
Gurpreet Singh
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
Hariharan Anand
 
COMPUTER ARCHITECTURE REGISTER TRAN.pptX
COMPUTER ARCHITECTURE REGISTER TRAN.pptXCOMPUTER ARCHITECTURE REGISTER TRAN.pptX
COMPUTER ARCHITECTURE REGISTER TRAN.pptX
Shwetamaurya36
 
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
AnzaDar3
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
EktaVaswani2
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
faria_khan
 
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
info998421
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
cauuthovohoaichau
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
MuhammadRobeel3
 
CO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptxCO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptx
ahmedsalik057
 
inputoutput_organization__Morrismano.ppt
inputoutput_organization__Morrismano.pptinputoutput_organization__Morrismano.ppt
inputoutput_organization__Morrismano.ppt
SeliMohapatra1
 
Computer organization I/O organization details
Computer organization I/O organization detailsComputer organization I/O organization details
Computer organization I/O organization details
423ec0007
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
Hariharan Anand
 
COMPUTER ARCHITECTURE REGISTER TRAN.pptX
COMPUTER ARCHITECTURE REGISTER TRAN.pptXCOMPUTER ARCHITECTURE REGISTER TRAN.pptX
COMPUTER ARCHITECTURE REGISTER TRAN.pptX
Shwetamaurya36
 
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
AnzaDar3
 
Ad

Recently uploaded (20)

Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
Engage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdfEngage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdf
TechSoup
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
Nguyen Thanh Tu Collection
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
Engage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdfEngage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdf
TechSoup
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
BỘ ĐỀ TUYỂN SINH VÀO LỚP 10 TIẾNG ANH - 25 ĐỀ THI BÁM SÁT CẤU TRÚC MỚI NHẤT, ...
Nguyen Thanh Tu Collection
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Ad

Input output in computer Orgranization and architecture

  • 1. Computer Organization and Architecture Presented By: Vikram Patel
  • 2. Topics  Input Output (I/O) ports  Input Output Mapping  Memory map techniques  Interrupt driven I/O  DMA based Input Output  Input Output Processor
  • 3. Input-Output ports ( I/O Ports)  Input : Information or data to the computer  Output : Information or data from computer  Computers are based on the fundamental idea that every input results in an output. What is Input and Output ? What are Input-Output Ports?  They are what connect input and output devices (Keyboard, Mouse, Printer, Scanner, Monitor etc.) to the computer.
  • 4. Types of Input-Output (I/O) ports  Serial Port  PS/2  Parallel Printer Port  LAN Port  Audio Port  Universal serial Bus (USB)
  • 7. Input Output Mapping  Memory Mapped I/O  Isolated I/O There are two types of Input Output Mapping
  • 8.  Memory & I/O Share the entire address range of processor.  Any machine instruction that can access memory can be used to transfer data to or from an I/O device.  Memory control signals, used to control read & write I/O operations. Memory Mapped I/O
  • 9.  Processor Provide separate Address Range for Memory & I/O.  Input Output control signals are used to control read and write input output operations. Isolated I/O
  • 11. Memory Map Techniques There are 3 types of Memory map Techniques  Direct Mapping  Fully Associative Mapping  Set – Associative Mapping
  • 12.  Simplest way of mapping.  Main memory is divided in blocks.  Maps each block of main memory into only one possible cache line. Direct Mapping
  • 14. Fully Associative Mapping  In associative cache mapping, the data from any location in RAM can be stored in any location in cache.  When the processor wants an address, all tag fields in the cache as checked to determine if the data is already in the cache.  Each tag line requires circuitry to compare the desired address with the tag field.  All fields are checked in parallel.
  • 16.  Set associative mapping is a mixture of direct and associative mapping.  The cache lines are grouped into sets.  The number of lines in a set can vary from 2 to 16.  A portion of the address is used to specify which set will hold an address.  The data can be stored in any of the lines in the set. Set-Associative Mapping
  • 17. Set Associative Mapping V-Set Associative Mapping
  • 18. Set Associative Mapping K-Set Associative Mapping
  • 20. What is Interrupt?  Event that disrupts the normal execution of a program and causes the execution of special instructions.
  • 21. Interrupt Driven I/O  In Interrupt Driven I/O approach, the processor issues an I/O command to a module and then go on to do some other useful work.  The I/O module with then interrupt the processor to request service when it is ready to exchange data with the processor. The processor then executes resumes its former processing.
  • 23. Advantages of Interrupt Driven I/O  I/O is important aspect for communicating.  Interrupt adapts to the processor speed and I/O device, automatically.
  • 24. Drawbacks of Interrupt Driven I/O  The I/O transfer rate is limited by the speed with which the processor can test and service a device.  Needs continues intervention of processor, so it consumes time.
  • 26. What is DMA?  DMA – Direct Memory Access  In this method the input and output devices read/write information from the main memory without interference of the CPU through the system bus.
  • 28. DMA Operation  The processor issues a command to DMA module  Read or write  I/O device address using data lines  Starting memory address using data lines – stored in address register  Number of words to be transferred using data lines – stored in data register
  • 29. DMA Operation (Cont.)  The processor then continues with other work.  DMA module transfers the entire block of data – one word at a time – directly to or from memory without going through the processor.  DMA module sends an interrupt to the processor when complete.
  • 30. Configuration of DMA Single-bus, Detached DMA Single-bus, Integrated DMA I/O Bus
  • 31. Advantages of DMA  Fast transfer of data.  CPU and DMA run concurrently under cache mode.  DMA can trigger an interrupt, which frees the CPU so the speed increases.
  • 32. Input Output Channels and Processors
  • 33. Input Output Channels and Processors  I/O processor is an extension of the concept of DMA. The I/O processor can execute specialized I/O program residing in the memory without intervention of the CPU.  CPU only needs to specify a sequence of I/O activity to I/O processor  An advanced I/O processor can have its own memory, enabling a large set of I/O devices to be controlled without much involvement from the CPU.
  • 34. Types of I/O channels  Controls multiple high-speed devices  Dedicated to the transfer of data with one of the devices  Each device handled by a controller or I/O module  I/O channel controls these I/O controllers  1.) Selector Channel
  • 35. Types of I/O channels  2.) Multiplexor Channel  Can handle multiple devices at the same time  Byte multiplexor – used for low-speed devices  Block multiplexor – interleaves blocks of data from several devices.
  • 36. Advantages I/O channels  Makes transfers less visible to CPU, spreads the complexity  Can Improve speed  Can improve device organization flexibility
  • 37. Conclusion  Input output devices gets connected to computer through I/O Ports.  There are Direct mapping, Fully Associative and Set-Associative method techniques for mapping the memory.  There are various method of transferring data from Input output devices to the memory or memory to Input Output devices. Like : Interrupt Driven I/O, DMA Based I/O, Input Output Processors.
  • 38.  Book : Computer Organization and Architecture by William Stallings  Images : Google Images Reference