© Copyright 2004 Dr. Phillip A. Laplante 1 Memory  Memory access  Memory technologies  Memory organization.

Slides:



Advertisements
Similar presentations
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Advertisements

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.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
Microprocessor and Microcontroller
I/O Unit.
Processor System Architecture
COMPUTER ORGANIZATION CHAPTER SUBSYSTEM INTERCONNECTION.
CSCI 4717/5717 Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Computer System Overview Chapter 1. Basic computer structure CPU Memory memory bus I/O bus diskNet interface.
INPUT/OUTPUT ORGANIZATION INTERRUPTS CS147 Summer 2001 Professor: Sin-Min Lee Presented by: Jing Chen.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
CS-334: Computer Architecture
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Interrupts. 2 Definition: An electrical signal sent to the CPU (at any time) to alert it to the occurrence of some event that needs its attention Purpose:
SAP1 (Simple-As-Possible) Computer
MICROPROCESSOR INPUT/OUTPUT
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.
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
THE COMPUTER SYSTEM. Lecture Objectives Computer functions – Instruction fetch & execute – Interrupt Handling – I/O functions Interconnections Computer.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
Top Level View of Computer Function and Interconnection.
Computers Internal Communication. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Lecture 14 Today’s topics MARIE Architecture Registers Buses
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.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
CSE 241 Computer Organization Lecture # 8 Ch. 7 Control Unit Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Structure and Role of a Processor
Processor Organization and Architecture Module III.
I/O: Input-Output By: Tommy Zeng. What is I/O? I/O – short for “Input – Output” How a computer interacts with its users Input – gets information from.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
1 load [2], [9] Transfer contents of memory location 9 to memory location 2. Illegal instruction.
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Micro-Operations A computer executes a program Fetch/execute cycle
William Stallings Computer Organization and Architecture
Dr. Michael Nasief Lecture 2
Chapter 3 Top Level View of Computer Function and Interconnection
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
ECEG-3202 Computer Architecture and Organization
X1 & X2 These are also called Crystal Input Pins.
BIC 10503: COMPUTER ARCHITECTURE
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Computer System Overview
A Top-Level View Of Computer Function And Interconnection
Instruction execution and ALU
Presentation transcript:

© Copyright 2004 Dr. Phillip A. Laplante 1 Memory  Memory access  Memory technologies  Memory organization

© Copyright 2004 Dr. Phillip A. Laplante 2 Memory access Illustration of the clock synchronized memory transfer process between a device and the CPU. The symbolism “<>” shown in the data and address signals indicates that multiple lines are involved during this period in the transfer.

© Copyright 2004 Dr. Phillip A. Laplante 3 Memory technologies Selection of the appropriate technology is a systems design issue.

© Copyright 2004 Dr. Phillip A. Laplante 4 Memory organization Typical memory map showing designated regions. Not to scale.

© Copyright 2004 Dr. Phillip A. Laplante 5 I/O  Programmed I/O  Direct memory access (DMA)  Memory-mapped I/O  Interrupts

© Copyright 2004 Dr. Phillip A. Laplante 6 Direct memory access (DMA) The DMA controller prevents collisions by requiring each device to issue a DMA request signal (DMARQ) that will be acknowledged with a DMA acknowledge signal (DMACK). Until the DMACK signal is given to the requesting device its connection to the main bus remains in a tri-state condition. Any device that is tri-stated cannot affect the data on the memory data lines.

© Copyright 2004 Dr. Phillip A. Laplante 7 Memory-mapped I/O Input from an appropriate memory-mapped location involves executing a LOAD instruction on a pseudomemory location connected to an input device. Output uses a STORE instruction.

© Copyright 2004 Dr. Phillip A. Laplante 8 Memory-mapped I/O A bit map (packed binary word) describes a view of a set of devices that are accessed by a single (discrete) signal and organized into a word of memory for convenient access either by DMA or memory mapped-addressing.

© Copyright 2004 Dr. Phillip A. Laplante 9 Internal CPU handling of interrupts Step 1: finish the currently executing macroinstruction. Step 2: save the contents of the program counter to the interrupt return location. Step 3: load the address held in the interrupt handler location into the program counter. Resume the fetch and execute sequence. Single interrupt support

© Copyright 2004 Dr. Phillip A. Laplante 10 Internal CPU handling of interrupts Step 1: complete the currently executing instruction. Step 2: save the contents of PC to interrupt return location i. Step 3: load the address held in interrupt handler location i into the PC. Resume the fetch-execute cycle. Multiple interrupt support

© Copyright 2004 Dr. Phillip A. Laplante 11 Watchdog timers A watchdog timer. Software issues a reset signal via memory-mapped or programmed I/O to reset the timer before it can overflow, issuing a watchdog timer interrupt.