Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with Buses & Interconnects.

Slides:



Advertisements
Similar presentations
Computer Architecture and Organization
Advertisements

On-Chip Communication Architectures
DATE 2003, Munich, Germany Formal Verification of a System-on-Chip Bus Protocol Abhik Roychoudhury Tulika Mitra S.R. Karri National University of Singapore.
System Busses / Networks-on-Chip
Chapter 7: System Buses Dr Mohamed Menacer Taibah University
ARM Based microcontrollers Asst. Prof. Dr. Alper ŞİŞMAN.
3D Graphics Content Over OCP Martti Venell Sr. Verification Engineer Bitboys.
Digital Computer Fundamentals
Computer Science & Engineering
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 8: Sequential Design Spring 2009 W. Rhett.
PradeepKumar S K Asst. Professor Dept. of ECE, KIT, TIPTUR. PradeepKumar S K, Asst.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 5: Memory and Peripheral Busses September 21, 2010.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 6: AHB-Lite, Interrupts (1) September 18, 2014 Slides developed.
SOC Design Lecture 6 HREQ and HGRANT. Kyungoh Park & Youpyo Hong, DGU Multi Master & Single Slave(MM & SS) Multiple masters cannot access the same slave.
Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with Analog-to-Digital.
Parallel I/O Interface Memory CPUI/OTransducer Actuator Output Device Input Device Parallel Interface Microprocessor / Microcontroller Direct memory access(DMA)
S. Barua – CPSC 440 CHAPTER 8 INTERFACING PROCESSORS AND PERIPHERALS Topics to be covered  How to.
Lecture 8 Lecture 8: CoreConnect and The PLB Bus ECE 412: Microcomputer Laboratory.
Feng-Xiang Huang A Low-Cost SOC Debug Platform Based on On-Chip Test Architectures.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 13 Direct Memory Access (DMA)
Double buffer SDRAM Memory Controller Presented by: Yael Dresner Andre Steiner Instructed by: Michael Levilov Project Number: D0713.
An Automatic AMBA Wrapper Generation Tool for Embedded Cores Laboratory for Reliable Computing (LaRC) Electrical Engineering Department National Tsing.
COMP3221 lec31-mem-bus-II.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 32: Memory and Bus Organisation - II
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 13: Regression Testing, MemAccess Block.
SOC Design Lecture 4 Bus and AMBA Introduction.
Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with DRAM April 3, 2007.
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.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 19: Cache Operation & Design Spring 2009.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 5: Memory and Peripheral Busses September 20, 2011.
Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – SoC Simulation Strategy ECE 747.
Samsung ARM S3C4510B Product overview System manager
Top Level View of Computer Function and Interconnection.
© 2007 Xilinx, Inc. All Rights Reserved This material exempt per Department of Commerce license exception TSU Hardware Design INF3430 MicroBlaze 7.1.
On Chip Bus National Taiwan University
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 3: Structural Modeling Spring 2009 W. Rhett.
© 2000 Morgan Kaufman Overheads for Computers as Components System components  Timing diagrams.  Memory.  Busses and interconnect.
Architectural and Physical Design Optimization for Efficient Intra-Tile Communication Liza Rodriguez Aurelio Morales EEL Embedded Systems Dept.
COMPARISON B/W ELECTRICAL AND OPTICAL COMMUNICATION INSIDE CHIP Irfan Ullah Department of Information and Communication Engineering Myongji university,
Computer Architecture System Interface Units Iolanthe II approaches Coromandel Harbour.
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.
EEE440 Computer Architecture
SoC Architecture - Lecture 2 A. Jantsch / Z. Lu / I. Sander
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 4: Bit of ssembly, Memory-mapped I/O, APB January 21, 2014.
SOC Consortium Course Material On Chip Bus National Taiwan University Adopted from National Taiwan University SOC Course Material.
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 12: Memory and Peripheral Busses October 22nd, 2013 Slides.
Soc 5.1 Chapter 5 Interconnect Computer System Design System-on-Chip by M. Flynn & W. Luk Pub. Wiley 2011 (copyright 2011)
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 16: Introduction to Buses and Interfaces.
Computer Architecture System Interface Units Iolanthe II in the Bay of Islands.
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 4: Testing, Dataflow Modeling Spring 2009.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Bus Protocols and Interfacing Bus basics I/O transactions MPC555 bus Reference:
Bus Protocols and Interfacing (adopted Steven and Marios’s slides) Bus basics I/O transactions MPC823 bus Reference: Chapter 13 of “White Book”
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 12: Intro to the LC-3 Micro-architecture.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 9: State Machines & Reset Behavior Spring.
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 10: Data-Converter Example Spring 2009 W.
Spring 2009W. Rhett DavisNC State UniversityECE 406Slide 1 ECE 406 – Design of Complex Digital Systems Lecture 18: More Complex Interfaces Spring 2009.
ECE 699: Lecture 6 AXI Interfacing Using DMA & AXI4-Stream.
Aditya Dayal M. Tech, VLSI Design ITM University, Gwalior.
Presented By Aditya Dayal ITM University, Gwalior.
System on a Programmable Chip (System on a Reprogrammable Chip)
AMBA® 3 AHB-Lite Protocol
ME2100 EMBEDDED SYSTEM DESIGN (ARM9™) [Slide 8] ARM AMBA Bus BY DREAMCATCHER
EECS 373 Design of Microprocessor-Based Systems Mark Brehob
Burst read Valid high until ready high
SOC Design Lecture 4 Bus and AMBA Introduction.
NS Training Hardware.
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
Presentation transcript:

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with Buses & Interconnects April 5, 2007 W. Rhett Davis NC State University

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 2 Today’s Lecture l Introduction l AMBA Peripheral Bus (APB) l AMBA High-Performance Bus (AHB) l AMBA Extensible Interconnect (AXI)

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 3 Why do we care? l What is a Bus? l What is an Interconnect? l Why do we use them?

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 4 Our Question l Which bus or interconnect should we use? The answer depends on the following: » What IP blocks do we have and what do they work with? » How many ports do we need? » What kind of overhead can we permit? –Throughput –Area –Power

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 5 Bus & Interconnect Standards l AMBA from ARM l Wishbone from OpenCores.org l CoreConnect from IBM l Sonics “Silicon Backplane” We’ll focus on AMBA in this class, because it’s the one our simulator models.

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 6 AMBA Introduction l Advanced Microcontroller Bus Architecture (AMBA), created by ARM as an interface for their microprocessors. l Easy to obtain documentation (free download) and can be used without royalties. l Very common in commercial SoC’s (e.g. Qualcomm Multimedia Cellphone SoC) l AMBA 2.0 released in 1999, includes APB and AHB l AMBA 3.0 released in 2003, includes AXI

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 7 AMBA 2.0 System-Level View Source: AMBA Specification, Rev. 2.0

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 8 Today’s Lecture l Introduction l AMBA Peripheral Bus (APB) l AMBA High-Performance Bus (AHB) l AMBA Extensible Interconnect (AXI)

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 9 APB Introduction l Low overhead – only 4 control signals l Only one master is allowed l Three states: IDLE, SETUP, and ENABLE l Slave is non-responsive: Transfer always takes 2 cycles » Makes timing easy to design: data is always latched between the two cycles

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 10 APB Read Transaction l Transaction takes 2 cycles: SETUP & ENABLE

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 11 APB Write Transaction

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 12 APB Performance l If AHB is “high performance” than APB must be “low performance”. What does that mean? l If we were to connect an SDRAM as an APB slave from the previous lecture, what would our minimum bus clock period be?

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 13 Today’s Lecture l Introduction l AMBA Peripheral Bus (APB) l AMBA High-Performance Bus (AHB) l AMBA Extensible Interconnect (AXI)

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 14 AHB Introduction l Larger overhead – ~27 control signals l Up to 15 masters allowed l Split Transaction phases: Address, Data (Pipelined) l HREADY signal allows insertion of wait- states

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 15 AHB Architecture l Central MUX is used, rather than a bus l Achieves smaller delays than a single wire w/ tri-state buffers Source: AMBA Specification, Rev. 2.0

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 16 AHB Split-Transaction Bus l Address preceeds data by one cycle l Mimics SDRAM operation, achieves greater data bandwidth Source: AMBA Specification, Rev. 2.0

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 17 Multiple Transactions w/ AHB l Addresses are pipelined to improve memory efficiency l HREADY from slave allows insertion of wait states Source: AMBA Specification, Rev. 2.0

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 18 AHB Burst Operation l Bursts with lengths up to 32 are allowed l What would happen if an incrementing burst read to a DRAM row boundary?

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 19 AHB Access Grant Mechanism l Bus arbitration takes extra cycles Source: AMBA Specification, Rev. 2.0

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 20 Today’s Lecture l Introduction l AMBA Peripheral Bus (APB) l AMBA High-Performance Bus (AHB) l AMBA Extensible Interconnect (AXI)

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 21 AXI Introduction l Larger overhead – ~77 control signals l Up to 16 masters allowed l 5 separate channels for address, data, and responses l Not so much of an interconnect specification as a protocol (interconnect architecture is left unspecified)

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 22 Multi-Channel Support l Address, Data, and Response split between channels, rather than phases l Allows simultaneous reads and writes Source: AMBA AXI Protocol Specification

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 23 AXI Read Transactions l Up to 16 transactions can be queued at once

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 24 Multi-Layer Connectivity l PL300 Interconnect is implemented as a crossbar: l Multiple masters can talk to multiple slaves simultaneously Source: PL300 Technical Reference Manual

Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 25 Comparison of AMBA Bus Types APBAHBAXI / PL300 ProcessorsallARM7,9,10ARM11 Control Signals42777 No. of Masters No. of Slaves Interconnect Type Central MUX? Central MUX Crossbar w/ 5 channels PhasesSetup, Enable Bus request, Address, Data Address, Data, Response Xact. Depth1216 Burst Lengths Simultaneous Read & Write no yes