CSIS 3510 Dr. Hoganson Bus Construction CSIS 3510 Computer Organization and Architecture Bus construction alternatives Bus control issues Bus arbitration.

Slides:



Advertisements
Similar presentations
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
Advertisements

Computer Buses A bus is a common electrical pathway between multiple devices. Can be internal to the CPU to transport data to and from the ALU. Can be.
Chapter7. System Organization
Computer Architecture
Digital Computer Fundamentals
I/O Organization popo.
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
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.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
Parallel I/O Interface Memory CPUI/OTransducer Actuator Output Device Input Device Parallel Interface Microprocessor / Microcontroller Direct memory access(DMA)
Interfacing. This Week In DIG II  Basic communications terminology  Communications protocols  Microprocessor interfacing: I/O addressing  Port and.
Interrupts What is an interrupt? What does an interrupt do to the “flow of control” Interrupts used to overlap computation & I/O – Examples would be console.
Interfacing Processors and Peripherals Andreas Klappenecker CPSC321 Computer Architecture.
COMP3221: Microprocessors and Embedded Systems Lecture 15: Interrupts I Lecturer: Hui Wu Session 1, 2005.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
TECH CH03 System Buses Computer Components Computer Function
Interfacing. This Week In DIG II  Basic communications terminology  Communications protocols  Microprocessor interfacing: I/O addressing  Port and.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Digital Logic Level.
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
CS-334: Computer Architecture
Computer Architecture Lecture 08 Fasih ur Rehman.
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
Digital System Bus A bus in a digital system is a collection of (usually unbroken) signal lines that carry module-to-module communications. The signals.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
MICROPROCESSOR INPUT/OUTPUT
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
Interrupts, Buses Chapter 6.2.5, Introduction to Interrupts Interrupts are a mechanism by which other modules (e.g. I/O) may interrupt normal.
CSS 372 Oct 4th - Lecture 3 Chapter 3 – Connecting Computer Components with Buses Bus Structures Synchronous, Asynchronous Typical Bus Signals Two level,
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
August 1, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 9: I/O Devices and Communication Buses * Jeremy R. Johnson Wednesday,
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
13-Nov-15 (1) CSC Computer Organization Lecture 7: Input/Output Organization.
Chapter 4 MARIE: An Introduction to a Simple Computer.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
I/O Organization Competency – C6. Important facts to remember when I/O devices are to be connected to CPU There is a vast variety of I/O devices. Some.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Other Approaches.
Microprocessor Systems Design I
More Devices: Control (Making Choices)
CS 286 Computer Organization and Architecture
Chapter 3 Top Level View of Computer Function and Interconnection
Chapter 8 Input/Output I/O basics Keyboard input Monitor output
The Digital Logic Level
Five Key Computer Components
William Stallings Computer Organization and Architecture
Presentation transcript:

CSIS 3510 Dr. Hoganson Bus Construction CSIS 3510 Computer Organization and Architecture Bus construction alternatives Bus control issues Bus arbitration (deciding who gets access to the bus) Bus is a set of parallel wires, that connect computer system components We have seen that the address bus size determines the number of addressable bytes (or words) Data bus size is an indication of computing power Pg 182 Tannenbaum

CSIS 3510 Dr. Hoganson Bus Construction MUX Bus How to connect multiple inputs to a single shared output (bus) line? AND/OR gate construction (MUX) Expensive: large transistor count (about 4n) Slow: two gate delays

CSIS 3510 Dr. Hoganson Bus Construction Tri-State Bus Tri-state internal construction: two ANDs + two transistors Faster than MUX construction Very expensive: (about 8n transistors)

CSIS 3510 Dr. Hoganson Bus Construction Wired-Or Both fast and inexpensive Uses one “Open-Collector Nand” per input OC NANDs share a common resistor about 2n transistors called “wired-or” because the connecting OR gate is eliminated and replaced with just a wired connection

CSIS 3510 Dr. Hoganson Bus Construction Bus Timing How to control the transmission of data - control the signals on the bus Similar to issues from 2520 Data Comm Signaling Timing Access control (shared access to media) Will look at: Synchronous timing Asynchronous control Bus arbitration

CSIS 3510 Dr. Hoganson Bus Construction Synchronous Timing Governed by a common clock Specified timings (a published protocol) Any manufacturer can design to bus specifications Events occur in relation to clock cycles Fixed performance - bound by the clock time Pg 162 Tanenbaum

CSIS 3510 Dr. Hoganson Bus Construction Asynchronous Timing NOT clock timed Uses a “hand-shaking” protocol Requires extra lines to for signaling control data can accommodate different speed devices Pg 164 Tanenbaum

CSIS 3510 Dr. Hoganson Bus Construction Interrupts Interrupts are are signals from system devices to the CPU requesting CPU attention. Fetch/Decode/Execute/Interrupt Bubble When CPU gets an interrupt, it saves current state gets interupt needing service jumps to device driver code upon completion, restores state and continues

CSIS 3510 Dr. Hoganson Bus Construction 8259A Int Controller The 8259A can accommodate 8 devices When a device needs service, it generates an interrupt to the 8259A The 8259A sends an INT signal to the CPU When the CPU can service the interrupt, it sends a INTA The 8259A places the index of the ISR (for the requesting device) on the bus data lines The CPU uses the ISR index to lookup the address of the Interrupt Service Routine for that device CPU runs ISR, the returns to previous processing 8259As can be “Daisy-Chained” two levels deep (total of 64 devices) Pg 168 Tanenbaum

CSIS 3510 Dr. Hoganson Bus Construction Media Access Control Bus Arbitration Issues: Where to locate the control logic - centralized or decentralized How to support priorities Pg 166,7 Tanenbaum

CSIS 3510 Dr. Hoganson Bus Construction Other Arbitration Strategies There are many bus arbitration strategies, some overlap with Media Access Control strategies for networking and data comm Fixed Priority Arbitration Device Token Passing Centralized Etc. Performance (speed) and fairness in granting access to the shared bus are design issues.