Communicating With Devices Interrupts Lecture 10.4 Section 10.6.

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

I/O Organization popo.
I/O Organization popo.
Encoders Module M9.3 Section 6.3. Encoders Priority Encoders TTL Encoders.
Multiplexer. A multiplexer (MUX) is a device which selects one of many inputs to a single output. The selection is done by using an input address. Hence,
Lecture 12 Z80 Interrupt 동국대학교 홍유표 1. Y. Hong & E. Lee Polling vs. Interrupt Polling : Periodically check if an event occurs Interrupt : Event sends a.
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
Programmable Interval Timer
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
8255 – PROGRAMMABLE PARALLEL
I/O Unit.
Processor System Architecture
CS-334: Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
CS 140 Lecture 11 Professor CK Cheng 5/09/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
CS 140 Lecture 12 Professor CK Cheng 11/07/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
1 Interrupts INPUT/OUTPUT ORGANIZATION: Interrupts CS 147 JOKO SUTOMO.
INPUT/OUTPUT ORGANIZATION INTERRUPTS CS147 Summer 2001 Professor: Sin-Min Lee Presented by: Jing Chen.
Decoders and Encoders Discussion D4.2. Decoders and Encoders Binary Decoders Binary Encoders Priority Encoders.
Chapter 8 CPU Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Chapter 7 Input/Output Luisa Botero Santiago Del Portillo Ivan Vega.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Interrupts and DMA CSCI The Role of the Operating System in Performing I/O Two main jobs of a computer are: –Processing –Performing I/O manage and.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Mux 2.1 Multiplexers and De-Multiplexers 2: ©Paul Godin Updated November 2007.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Applications of PPI A/D - Temperature Sensor. Analog to Digital.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Spring EE 437 Lillevik 437s06-l9 University of Portland School of Engineering Advanced Computer Architecture Lecture 9 DMA controller design.
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
Input-Output Organization
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
Modes of transfer in computer
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Multiplexers and De-Multiplexers 1
The computer system’s I/O architecture is its interface to the outside world. This architecture provides a systematic means of controlling interaction.
Module 11 Adapted By and Prepared James Tan © 2001.
PPI-8255.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Multiplexers and De-Multiplexers
IT3002 Computer Architecture
Computer operation is of how the different parts of a computer system work together to perform a task.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
Multiple Interrupts Each interrupt line has a priority Higher priority lines can interrupt lower priority lines If bus mastering only current master can.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
8255:Programmable Peripheral Interface
BIOS and DOS Interrupts Basic Input /Outpu System Disk Operating System.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
A computer consists of five functionally independent main parts.
Multiplexer.
EKT 124 MUX AND DEMUX.
The Multiplexer Multi what?
Peripheral Devices
ECE2030 HW-6.
Jazan University, Jazan KSA
Presentation transcript:

Communicating With Devices Interrupts Lecture 10.4 Section 10.6

Communicating Between Devices Device makes a request to the CPU by bringing request line HIGH

Communicating Between Devices Processor takes the number provided by the encoder and uses it to switch MUX and deMUX

Communicating Between Devices Using this number, CPU acknowledges the communication and ‘conversation’ commences

Communicating Between Devices Processor accepts information on Input lines and sends information on Output lines

Communicating Between Devices Processor ends communication by bringing acknowledge line LOW. Device ends its request

Communicating Between Devices Processor ends communication by bringing acknowledge line LOW. Device ends its request

Communicating Between Devices

68000 Interrupt Logic Peripheral Encoder Decoder IP0 IP1 IP2 A0 A1 A2 IRQA Data Bus IRQ

External Devices Interrupting a CPU

State Diagram for the Interrupt Handler

Interrupt Handler