Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.

Slides:



Advertisements
Similar presentations
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Advertisements

1 Dynamic Interconnection Networks Buses CEG 4131 Computer Architecture III Miodrag Bolic.
Computer Buses SJSU - Fall 2008 CS 147 Vu Luu. Contents 1. Concepts 2. Measurement 3. Operation.
6-April 06 by Nathan Chien. PCI System Block Diagram.
Chapter 7: System Buses Dr Mohamed Menacer Taibah University
Bus structures Unit objectives:
December 2003 DJM DECO_021 CPU Chips & Buses. December 2003 DJM DECO_022 CPU Chips Modern ones are contained on a single chip Each chip has a set of pins.
Chapter Three: Interconnection Structure
Computer Architecture
System Integration and Performance
Digital Computer Fundamentals
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.
Datorteknik BusInterfacing bild 1 Bus Interfacing Processor-Memory Bus –High speed memory bus Backplane Bus –Processor-Interface bus –This is what we usually.
Avalon Switch Fabric. 2 Proprietary interconnect specification used with Nios II Principal design goals – Low resource utilization for bus logic – Simplicity.
Pipeline transfer testing. The purpose of pipeline transfer increase the bandwidth for synchronous slave peripherals that require several cycles to return.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
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.
Module I Overview of Computer Architecture and Organization.
PHY 201 (Blum) Buses Warning: some of the terminology is used inconsistently within the field.
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.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Interconnection Structures
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
LOGO BUS SYSTEM Members: Bui Thi Diep Nguyen Thi Ngoc Mai Vu Thi Thuy Class: 1c06.
Buses Warning: some of the terminology is used inconsistently within the field.
PCI Team 3: Adam Meyer, Christopher Koch,
MICROPROCESSOR INPUT/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
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
Top Level View of Computer Function and Interconnection.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
8-1 Chapter 8 - Input and Output Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of Computer Architecture.
© 2005 Altera Corporation SOPC Builder: a Design Tool for Rapid System Prototyping on FPGAs Kerry Veenstra Workshop on Architecture Research using FPGA.
BUS IN MICROPROCESSOR. Topics to discuss Bus Interface ISA VESA local PCI Plug and Play.
8-1 Chapter 8 - Input and Output Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of Computer.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
EEE440 Computer Architecture
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
Chapter 4 MARIE: An Introduction to a Simple Computer.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK– PARALLEL BUS DEVICE PROTOCOLS 1.
By Fernan Naderzad.  Today we’ll go over: Von Neumann Architecture, Hardware and Software Approaches, Computer Functions, Interrupts, and Buses.
System Bus.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
Intro to PCI 2002 년 1 월 21 일 신 준 헌. Contents PCI bus features General PCI bus model PCI Device vs. Function Specifications.
System on a Programmable Chip (System on a Reprogrammable Chip)
DIRECT MEMORY ACCESS and Computer Buses
PCIe control interface for user logic.
Chapter 3 Top Level View of Computer Function and Interconnection
Avalon Switch Fabric.
System Interconnect Fabric
Overview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
ADSP 21065L.
William Stallings Computer Organization and Architecture
Presentation transcript:

Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an

Agenda What is a bus? –Bus history Look at bus design and implementation –Avalon bus used by Altera is the example Built for configurable computing Simple and efficient Support multiple masters and slaves

Bus Used to connect major components –CPU –DMA –Memory modules –Peripheral devices, etc. Can be synchronous or asynchronous

Bus (cont.) History –ISA bus, an 8-bit bus running at 4.77 MHz on PC XT (1982) 16 bit with 8 MHz with PC AT –EISA bus, 8, 16 and 32-bit operating at 8 MHz –PCI bus, 32 or 64-bit operating at 33 MHz –PCIX bus, 32 or 64-bit operating at 66/133 MHz –AGP bus, 32 bit operating at 133 MHz

Bus (cont.) From Principles of Computer Architecture by M. Murdocca and V. Heuring

Bus (cont.) Arbitration is used to decide who has the access to the bus at a particular time –Simple centralized –Prioritized centralized –Decentralized

Bridge Based Bus

Avalon Bus Bus module located on the chip Basic principles –Simplicityeasy to understand protocol with a short learning curve –Optimized resource utilization for logic –Synchronous operationeasy integration with existing synchronous devices

Masters and Slaves Masters: initiate a transaction (e.g. DMA or Nios II processor) Slaves: respond to request from masters, cannot initiate transactions (e.g. a memory controller, a video controller) –peripherals are mostly slaves

Master/Slave Port A Master port is a collection of ports –Connect directly to the Avalon bus module A master peripheral may have more than one master ports as well as slave ports A Slave port is a collection of ports –Also connect directly to the Avalon bus module Accept transfer from other master ports on the bus

Bus Transaction Transfer bytes, half-words, words between master and slave peripherals –Available on the next clock after the transaction is completed –Use slave-side arbitration –Support 32-bit address space –Separate data, address, and control lines –Dynamic bus sizing to allow communication between mismatched data widths

Streaming Transfer Data can flow between master and slave pair as data become available –Master doesnt have to continuously check the status register in the slave –Maximize throughput between master and slave –Useful for DMA transfer

Peripheral Can be on-chip or off-chip –Memory devices –Processors –PIO –Timer –Bridge Classified as either master or slave –Master can initiate bus transfer Has at least on master port –Slave only accepts bus transfer

Block Diagram

Connection On-chip peripherals –Automatically connect at configuration time Off-chip peripherals –Connect to pins on the chip Master ports control and data signals pass through the bus module and interact with slave port

Bus Interface Master port initiates the transaction –Bus module relays the signals which may have been modified (arbitration) Synchronous interface clocked by a master bus clock –All transfer occur simultaneously with the bus clock

Slave Port Signals A basic slave port contains –clock –address –read,write –readdata,writedate –begintransfer –chipselect –byteenable

Slave Read Transfer

Wait State Extend read transfer –give a slave port one or more clock cycles to capture address and/or return valid read data

Slave Read Transfer (single wait state)

Slave Read Transfer (multiple wait states)

Bus Contention Arbitration is needed when multiple master ports want to access a slave port at the same time –Resolve in the bus module Hidden from the slave and master completely Simplify peripheral design

Master Port Signals A basic slave port contains –waitrequest –address –read,write –readdata,writedata –byteenable

Master Read Transfer

Master Read Transfer (with wait states)

Summary For more information about Avalon bus, please refer to accompanying note from Altera Bus is simple but can be complicated as more devices are attached to the system