Preview

Jikjk

Good Essays
Open Document
Open Document
937 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Jikjk
Midterm 2 Report
• Highest: 100
• Lowest: 45
• Average: 83

1

Chapter 7
Input/Output

Input/Output Problems
• Wide variety of peripherals
– Delivering different amounts of data
– At different speeds
– In different formats

• Slower than CPU and RAM
• Need I/O modules

Input/Output Module

Input/Output Module
• Interface to CPU and Memory
• Interface to one or more peripherals Generic Model of I/O Module

I/O Module Function






Control & Timing
CPU Communication
Device Communication
Data Buffering
Error Detection

I/O Module Diagram

I/O Steps
• CPU checks I/O module device status • I/O module returns status
• If ready, CPU requests data transfer • I/O module gets data from device
• I/O module transfers data to CPU

Input/Output Techniques

Input Output
Techniques
• Programmed
• Interrupt driven
• Direct Memory Access (DMA)

Programmed
Input/Output

Programmed I/O
• CPU has direct control over I/O
– Sensing status
– Read/write commands
– Transferring data

• CPU waits for I/O module to complete operation
• Wastes CPU time

Programmed I/O - detail






CPU requests I/O operation
I/O module performs operation
I/O module sets status bits
CPU checks status bits periodically
I/O module does not inform CPU directly • I/O module does not interrupt CPU
• CPU may wait or come back later

Example
• To increase efficiency for programmed I/O, the software could be written so that the processor periodically checks the status of the device. If the device is not ready, the processor can jump to other tasks. After some timed interval, the processor comes back to check status again. • Consider the above scheme for outputting data one character at a time to a printer that operates at 10 characters per second. What will happen if its status is scanned every
200ms?

15

I/O Commands
• CPU issues address
– Identifies module (if #device >1 per
module)

You May Also Find These Documents Helpful

  • Satisfactory Essays

    3. When a module is executing, what happens when the end of the module is reached?…

    • 765 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Unit 59 Assignment 3

    • 645 Words
    • 3 Pages

    An interrupt is used when you want to quickly get the chips (CPU) attention at hardware level for a short amount of time when the value set has been meet (this is great as this removes barriers as stated on matrixtsl.com, you can with your program wake the controller when it’s in a low power state which you can’t do at software level). An interrupt works when you are running a program on an endless loop and meets a certain condition set in the program, this triggers the interrupt which will tell the CPU at hardware level (quicker than software level) to go to the sub program and once finished processing the sub-program, it will return back to the main program.…

    • 645 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    This assignment addresses the learning objective “Explain the types of input and output devices and their…

    • 344 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Bihjkk

    • 1385 Words
    • 6 Pages

    - In Piaget’s theory of moral development, the stage at which children think that rules are unchangeable and that breaking rules leas them automatically to punishment.…

    • 1385 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    jkjkj

    • 527 Words
    • 3 Pages

    Football has impacted our society in so many ways. Starting from the early days, where quarterbacks were simply throwers. To now, where we have a bunch of scrambler quarterbacks. Football has a become a favorite to every American citizen, but there are pros and cons to this sport. The Superbowl is always broadcasted on Sundays, don't we got better things to be doing on a Sunday. There have also been massive amount of riots and moshpits in which a good number of fans get hurt. Probably the main concern in this epidemic is the habit of gambling. That's when you know sports are getting out of hand.…

    • 527 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The chip set coordinates the communication between the CPU and other components of the computer. A given chip set is designed to work with a specific CPU. The ship set controls the communications to and from the CPU; it plays a crucial role in determining the system’s performance. The chip set is a number of integrated circuits designed to perform one or more related functions.…

    • 1937 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Yijnkj

    • 715 Words
    • 3 Pages

    Gyu8iooiujn MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X64.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD: 15.0.4420.1017 FILE: SW_DVD5_Office_Professional_Plus_2013_64Bit_English_MLF_X18-55297.ISO SIZE: 851,449,856 byte SHA-1: 774120F3A5F36B65545864D2A40B927F13B19A94 MD5: 125BAD01818BC84CCC30F5FE03ABD947 CRC: 13E338D5 NOTE: this original MLF image. MLF - Microsoft Licensing Fulfillment MSVLSC - Microsoft Volume Licensing Service Center. 10|31|2012 MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X86.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD:…

    • 715 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Jnjn

    • 29463 Words
    • 118 Pages

    material was printed in accordance with printing standards by state agencies established pursuant to R.S. 43:31.…

    • 29463 Words
    • 118 Pages
    Powerful Essays
  • Good Essays

    Jijiyo

    • 925 Words
    • 3 Pages

    The literature review provides common characteristics of organizational structure types and reveals several definitions of organizational structure. “In essence, structure is the architecture of business competence, leadership, talent, functional relationships and management” (Wolf, 2002, para. 2). Walton (1986) identifies structure as the basis for organizing, to include hierarchical levels and spans of responsibility, roles and positions, and mechanisms for integration and problem solving. (p. 7) Organizational structure is defined in the Dictionary-Organizational Behavior (2003) as: “The established pattern of relationships among the components of parts of a company. The way that a company is set-up. The formally defined framework of an organization’s task and authority relationships” (p.2). Underdown (2003) says organizational structure “is the formal system of task and reporting relationships that controls, coordinates, and motivates employees so that they cooperate to achieve an organization's goals” (para.2). Organizational structure for Andrews (1995) “… consists of job positions, their relationships to each other (e.g., independent, part of a work-group or team, and reporting relationships) and accountabilities for process and sub-process deliverables” (para.3).…

    • 925 Words
    • 3 Pages
    Good Essays
  • Better Essays

    kjkjkm

    • 1886 Words
    • 8 Pages

    ksdnbvjscnvkjdsva cn vnasd v sdhv d and the last third indifferent (Zinn, p. 76, 1995). To combat that this the Revolution’s organizers began to recruit poor whites and black freedmen in the North with promises of advancement and land ownership. This promoted the revolutionary cause amongst the lower class, but uprisings and mutinies continued at various time until the winning of the War in 1781.…

    • 1886 Words
    • 8 Pages
    Better Essays
  • Better Essays

    OSEK is basically a German Term which stands for “Open systems and the corresponding interfaces for the Automotive Electronics in Motor Vehicle Distributed” [1]. This source is available for everyone and produced specification for three main components which are Operating System (OS), Network Management (NM) and Communication for Automotive embedded systems to increase and improve the Software Portability and Reusability. This document only focuses on the OSEK operating system.…

    • 2496 Words
    • 10 Pages
    Better Essays
  • Good Essays

    jkn jgkjn ug

    • 662 Words
    • 2 Pages

    Duck proposed that there were four phases in the dissolution of a relationship. The intra psychic phase involves a partner growing increasingly dissatisfied with the relationship, which either may not be outwardly expressed, or there may be a determination to resolve the issue. The dyadic phase is where the dissatisfaction is expressed in the open, characterised by argument. Maintenance and repair strategies may be used to repair the relationship, which can still be saved. The social phase comprises the involvement of the individuals’ social networks, in which the break-up becomes public. These people may help mend disputes between the partners but may also speed dissolution by taking sides. Social implications, such as who has the house, are discussed. The grave dressing phase begins with the ex-partners starting their post relationship lives. Individual accounts of the breakdown are favourably publicised to avoid the hindrance of future successful relationships, whilst simultaneously justifying their original commitment to the relationship.…

    • 662 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    First and foremost, it is vital to understand that an operating system (OS) is just a program - a very large, very complex program, but still just a program. The OS provides support for the loading and execution of other programs (which we will refer to below as ``application programs''), and the the OS will set things up so that it has some special privileges which user programs don't have, but in the end, the OS is simply a program.…

    • 9021 Words
    • 37 Pages
    Powerful Essays
  • Satisfactory Essays

    jhu oij lk

    • 434 Words
    • 2 Pages

    The story takes place in a forest around sunset. The specific place and time period is not known to the reader. The main characters are presented in a story before this one, so their personalities and backgrounds are known more to the reader than the story reflects.…

    • 434 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    devices that are part of a computer system but are not part of the CPU. Peripherals…

    • 12607 Words
    • 51 Pages
    Good Essays

Related Topics