1 Dynamic Interconnection Networks Buses CEG 4131 Computer Architecture III Miodrag Bolic.

Slides:



Advertisements
Similar presentations
EE384y: Packet Switch Architectures
Advertisements

Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Advanced Piloting Cruise Plot.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
So far Binary numbers Logic gates Digital circuits process data using gates – Half and full adder Data storage – Electronic memory – Magnetic memory –
Computer Architecture and Organization
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.
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.
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
Backplane Bus Systems System bus operates on contention basis
Best of Both Worlds: A Bus-Enhanced Network on-Chip (BENoC) Ran Manevich, Isask har (Zigi) Walter, Israel Cidon, and Avinoam Kolodny Technion – Israel.
Homework Reading Machine Projects Labs
The Bus Architecture of Embedded System ESE 566 Report 1 LeTian Gu.
Bus Design.
Chapter 7: System Buses Dr Mohamed Menacer Taibah University
Computer Architecture
I/O Organization popo.
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
I/O Peripherals, Buses and Data Storage Systems
I/O Systems.
ABC Technology Project
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
© 2012 National Heart Foundation of Australia. Slide 2.
Chapter 9: Subnetting IP Networks
25 seconds left…...
We will resume in: 25 Minutes.
© DEEDS – OS Course WS11/12 Lecture 10 - Multiprocessing Support 1 Administrative Issues  Exam date candidates  CW 7 * Feb 14th (Tue): * Feb 16th.
Connecting LANs, Backbone Networks, and Virtual LANs
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
Press any key to continue by Marc Ruocco 1 High-Speed Interfaces: FPDP and RACEway RACE, RACEway and RACE++ are trademarks of Mercury Computer Systems,
Datorteknik BusInterfacing bild 1 Bus Interfacing Processor-Memory Bus –High speed memory bus Backplane Bus –Processor-Interface bus –This is what we usually.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Processor support devices Part 1:Interrupts and shared memory dr.ir. A.C. Verschueren.
Avalon Switch Fabric. 2 Proprietary interconnect specification used with Nios II Principal design goals – Low resource utilization for bus logic – Simplicity.
S. Barua – CPSC 440 CHAPTER 8 INTERFACING PROCESSORS AND PERIPHERALS Topics to be covered  How to.
COMP3221 lec31-mem-bus-II.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 32: Memory and Bus Organisation - II
Module I Overview of Computer Architecture and Organization.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
Computer Architecture Lecture 08 Fasih ur Rehman.
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.
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
© 2005 Altera Corporation SOPC Builder: a Design Tool for Rapid System Prototyping on FPGAs Kerry Veenstra Workshop on Architecture Research using FPGA.
DMA Versus Polling or Interrupt Driven I/O
Bus Mr. Mukul Varshney. Bus A bus, in computing, is a set of physical connections (cables, printed circuits, etc.) which can be shared by multiple hardware.
1 Introduction CEG 4131 Computer Architecture III Miodrag Bolic.
August 1, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 9: I/O Devices and Communication Buses * Jeremy R. Johnson Wednesday,
MBG 1 CIS501, Fall 99 Lecture 18: Input/Output (I/O): Buses and Peripherals Michael B. Greenwald Computer Architecture CIS 501 Fall 1999.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
DIRECT MEMORY ACCESS and Computer Buses
Interconnection Structures
Department of Computer Science and Engineering
Bus Interfacing Processor-Memory Bus Backplane Bus I/O Bus
Overview Parallel Processing Pipelining
Overview Parallel Processing Pipelining
COMP2121: Microprocessors and Interfacing
Avalon Switch Fabric.
System Interconnect Fabric
Multiprocessor Introduction and Characteristics of Multiprocessor
William Stallings Computer Organization and Architecture
Presentation transcript:

1 Dynamic Interconnection Networks Buses CEG 4131 Computer Architecture III Miodrag Bolic

2 Overview Basic theory on buses –Arbitration –High performance bus protocols Avalon bus

3 Big Picture Interconnection Networks MM MM PPPPP Focus of this lecture

4 Interconnection Network Static Dynamic Bus-basedSwitch-based 1-D2-DHC SingleMultiple SSMS Crossbar Interconnection Network Taxonomy [5]

5 Addressing and Timing [2] Bus Addressing Broadcast: –write involving multiple slaves Synchronous Timing: –All bus transaction steps take place at a fixed clock edges –simple to control –suitable for connecting devices having relatively the same speed Asynchronous Timing: –based on a handshaking –offers better flexibility via allowing fast and slow devices to be connected in the same bus. Typical time sequence when information is transferred from the master to slave.

6 Bus arbitration Bus arbitration scheme: –A bus master wanting to use the bus asserts the bus request –A bus master cannot use the bus until its request is granted –A bus master must signal to the arbiter the end of the bus utilization Bus arbitration schemes usually try to balance two factors: –Bus priority: the highest priority device should be serviced first –Fairness: Even the lowest priority device should be allowed to access the bus Bus arbitration schemes can be divided into several broad classes: –Daisy chain arbitration (not used nowadays) –Arbitration with the independent request and grant –Distributed arbitration

7 Independent Request and Grant [1] Multiple bus-request and bus- grant signal lines are provided for each master Any priority-based or fairness based bus allocation can be used. Advantages –flexibility –faster arbitration time Disadvantages: –large number of arbitration lines

8 Bus allocation techniques [1] Round-robin –The request that was just served should have the lowest priority on the next round TDMA –Fixed allocation of the slot to the master Unequal-priority protocol –Each processor is assigned a unique priority. –Additional procedures are required to establish fairness

9 Bus Pipelining [1] Several cycles are needed to read or write one data Since the bus is not used in all cycles, pipelining can be used to increase the performance AR – Arbitration request, ARB cycle for processing inside the arbiter, AG – Grant signal is set RQ – request signal is set P- pause RPLY – reply from the memory or I/O

10 Bus Pipelining [1]

11 Split Transactions [1] In a split-transaction bus a transaction is divided into a two transactions –request-transaction –reply-transaction Both transactions have to compete for the bus by arbitration

12 Split Transactions [1]

13 Burst Messages [1]

14 Avalon Bus Proprietary bus specification used with Nios II Principal design goals of the Avalon Bus –Address Decoding –Data-Path Multiplexing –Wait-State Insertion –Arbitration for Multi-Master Systems Transfer Types –Slave Transfers –Master Transfers –Pipelined Transfers –Burst transfers 32-Bit Nios Processor Switch PIO LED PIO 7-Segment LED PIO PIO-32 User- Defined Interface ROM (with Monitor) UARTTimer Address (32) Read Write Data In (32) Data Out (32) IRQ IRQ #(6) Avalon Bus Nios Processor

15 Direct Memory Access (DMA) –Processor Waits For Bus During DMA System CPU (Master 1) DMA Arbitor 100Base-T (Master 2) System Bus I/O 1 I/O 2 Data Memory DMA Bus Arbiter Bottleneck Arbiter Determines Which Master Has Access To Shared Bus Program Memory Masters Slaves Traditional Multi-Masters Control direction

16 Master 1 (Nios CPU) I/O 1 Program Memory Arbiter Data Memory 1 Master 2 (100Base-T) ID I/O 2 Avalon Bus Uses Fairness Arbitration Masters Slaves Simultaneous Multi-Master Bus Control direction

17 Master Arbitration Scheme Nios Multi-Master Avalon Bus utilizes Fairness arbitration scheme –Each Master/Slave pair is assign an integer shares –Upon conflict Master with most shares takes bus until all shares are used –Master with least shares then takes bus until all shares are used –Assuming all Masters continuously request the bus, they will each be granted the bus for a percentage of time equal to the percentage of total master shares that they own

18 Set Arbitration Priority View => Show Arbitration Priorities

19 Address Decoding [4]

20 Data-Path Multiplexing [4]

21 Master Read Transfer [3] Assert addr, be, read Wait for waitrequest = 0 Read in Data End of transfer

22 Master Write Transfer [3] Assert addr, be, read Assert Write Data Wait for waitrequest = 0 End of transfer

23 Slave Read Transfer [3] 0 Setup Cycles 0 Wait Cycles

24 Slave Read Transfer [3] 1 Setup Cycle 1 Wait Cycle

25 Slave Write Transfer [3] 0 Setup Cycles 0 Wait Cycles 0 Hold Cycles

26 Slave Write Transfer [3] 1 Setup Cycle 0 Wait Cycles 1 Hold Cycle

27 References 1.W. Dally, B. Towles, Principles And Practices Of Interconnection Networks, Morgan Kauffman, K. Hwang, Advanced Computer Architecture Parallelism, Scalability, Programmability, McGraw-Hill Altera Corp., Avalon Interface Specification, Altera Corp., Quartus II Handbook, Volume 4, H. El-Rewini and M. Abd-El-Barr, Advanced Computer Architecture and Parallel Processing, John Wiley and Sons, 2005.