{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CS33-9 - Input and Output CS 33 Computer Organization Topic...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-1 Input and Output
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-2 Basic Computer Architecture Input Output Memory Central Processing Unit (CPU) Bus
Image of page 2
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-3 Input and Output Memory-Mapped I/O Memory addresses access I/O devices Regular instructions can access I/O I/O area of memory dedicated to I/O Port I/O Separate address space for I/O Separate instructions for I/O All of main memory available to programs
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-4 Port I/O Architecture Bus Input Output Central Processing Unit (CPU) Memory Addresses I/O Addresses
Image of page 4
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-5 Memory Mapped I/O Architecture Input Output Memory and I/O Addresses Central Processing Unit (CPU) Bus
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-6 General I/O Architecture S Y S T E M B U S CENTRAL PROCESSING UNIT (CPU) MAIN MEMORY INPUT/OUTPUT UNIT 1 (e.g. Keyboard) INPUT/OUTPUT UNIT 2 (e.g. Printer) INPUT/OUTPUT UNIT 3 (e.g. Display Screen) INPUT/OUTPUT UNIT 4 (e.g. Tape Drive)
Image of page 6
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-7 I/O Device Architecture S Y S T E M B U S Device Controller Device
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-8 I/O Device Operation I/O Device May not be made by computer manufacturer Has interface required for the device Interface is different than the system bus Device Controller Communicates with system bus on one side Communicates with device on the other side Translates the protocol and signals
Image of page 8
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-9 Device I/O Architecture S Y S T E M B U S CENTRAL PROCESSING UNIT (CPU) MAIN MEMORY DEVICE CONTROLLER 1 DEVICE 1 (e.g. Keyboard) DEVICE CONTROLLER 4 DEVICE 4 (e.g. Tape Drive) DEVICE CONTROLLER 2 DEVICE 2 (e.g. Printer) DEVICE CONTROLLER 3 DEVICE 3 (e.g. Display Screen)
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-10 I/O Device Controller Provides interface between bus and device Communicates with system bus on one side Communicates with device on the other side Translates the protocol and signals Contains registers for comm. and control Registers assigned to specific addresses Port I/O: Port address space Memory Mapped I/O: Memory address space
Image of page 10
CS 33: Computer Organization Topic 9: Input and Output 9/2008 John A. Rohr All Rights Reserved JAR 9-11 MIPS Memory Detail Reserved User Program Text User Program Data Heap Stack
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern