SOC Consortium Course Material On Chip Bus National Taiwan University Adopted from National Taiwan University SOC Course Material.

Slides:



Advertisements
Similar presentations
1 IP-Based System-on-Chip Design 2002 IP Reuse Hardening via Embedded Sugar Assertions Erich Marschner 1, Bernard Deadman 2, Grant Martin 1 1 Cadence Design.
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.
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
ARM Based microcontrollers Asst. Prof. Dr. Alper ŞİŞMAN.
PRESENTER: PCLee System-on-chip (SoC) designs use bus protocols for high performance data transfer among the Intellectual Property (IP) cores.
Computer Architecture
3D Graphics Content Over OCP Martti Venell Sr. Verification Engineer Bitboys.
Computer Science & Engineering
Interrupts, Timer, and Interrupt Controller
Introduction to Avalon Interface Hardik Shah Robotics and Embedded Systems Department of Informatics Technische Universität München www6.in.tum.de 06 May.
Input/Output Organization Asynchronous Bus
S&IP Consortium Course Material On-Chip Bus Speaker: Tian-Sheuan Chang July, 2004.
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.
The ARM7TDMI Hardware Architecture
COMP3221 lec31-mem-bus-I.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 31: Memory and Bus Organisation - I
68000 Interface Timing Diagrams Outline –68000 Read Cycle –68000 Write Cycle Goal –Understand bus cycles –Learn how to attach memory, peripherals.
Performance Analysis of Different Arbitration Algorithms of the AMBA AHB Bus Massimo Conti, Marco Caldari, Giovanni B. Vece, Simone Orcioni, Claudio Turchetti.
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
ARM Processor Architecture
CS-334: Computer Architecture
Computer Architecture Lecture 08 Fasih ur Rehman.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 5: Memory and Peripheral Busses September 20, 2011.
SOC Consortium Course Material ASIC Logic National Taiwan University Adopted from National Chiao-Tung University IP Core Design.
NS Training Hardware.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
On Chip Bus National Taiwan University
SOC Consortium Course Material Memory Controller National Taiwan University Adopted from National Taiwan University SoC Design Laboratory.
Computer Architecture System Interface Units Iolanthe II approaches Coromandel Harbour.
Chapter 6 FPGA Modules and Hardware Interface Design Professor Tzyy-Kuen Tien
EEE440 Computer Architecture
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.
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 12: Memory and Peripheral Busses October 22nd, 2013 Slides.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
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”
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Spring 2007W. Rhett DavisNC State UniversityECE 747Slide 1 ECE 747 Digital Signal Processing Architecture SoC Lecture – Working with Buses & Interconnects.
SOC Design Lecture 5 AMBA Signals. Youpyo DGU AMBA Bus Types.
Aditya Dayal M. Tech, VLSI Design ITM University, Gwalior.
Presented By Aditya Dayal ITM University, Gwalior.
AMBA® 3 AHB-Lite Protocol
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Lecture 12: Memory accesses in C Memory and Peripheral Busses PCB.
Slides developed in part by Mark Brehob & Prabal Dutta
Chapter 6 Input/Output Organization
On-Chip Communication
System-on-Chip Design On-Chip Buses
ME2100 EMBEDDED SYSTEM DESIGN (ARM9™) [Slide 8] ARM AMBA Bus BY DREAMCATCHER
Formally capturing the structure of bus specifications
EECS 373 Design of Microprocessor-Based Systems Mark Brehob
Formal Performance Evaluation of AMBA-based System-on-Chip Designs
Slides developed in part by Prof. Dutta & Dreslinski
Burst read Valid high until ready high
EECS 373 Design of Microprocessor-Based Systems Mark Brehob
SOC Design Lecture 4 Bus and AMBA Introduction.
May 2006 Saeid Nooshabadi ELEC2041 Microprocessors and Interfacing Lectures 30: Memory and Bus Organisation - I
NS Training Hardware.
Modified from notes by Saeid Nooshabadi
EECS 373 Design of Microprocessor-Based Systems Prabal Dutta
Presentation transcript:

SOC Consortium Course Material On Chip Bus National Taiwan University Adopted from National Taiwan University SOC Course Material

SOC Consortium Course Material 2 Outline  AMBA Bus –Advanced System Bus (ASB) –Advanced High-performance Bus (AHB) –Advanced Peripheral Bus (APB)

SOC Consortium Course Material 3 Bus Architecture

SOC Consortium Course Material 4 Outline  AMBA Bus –Advanced System Bus High performance Pipelined operation Multiple bus master –Advanced High-performance Bus –Advanced Peripheral Bus

SOC Consortium Course Material 5 Outline  AMBA Bus –Advanced System Bus –Advanced High-performance Bus High performance Pipelined operation Multiple bus master Burst transfers  Advanced Peripheral Bus

SOC Consortium Course Material 6 AHB simple Arch.

SOC Consortium Course Material 7 AHB Components  AHB Components –AHB master is able to initiate read and write operations by providing an address and control information. Only one bus master is allowed to actively use the bus at any one time.(max. 16) –AHB slave responds to a read or write operation within a given address-space range. The bus slave signals back to the active master the success, failure or waiting of the data transfer.

SOC Consortium Course Material 8 AHB Components(ii)  AHB Components –AHB arbiter ensures that only one bus master at a time is allowed to initiate data transfers. –AHB decoder is used to decode the address of each transfer and provide a select signal for the slave that is involved in the transfer. A single centralized decoder is required in all AHB implementations.

SOC Consortium Course Material 9 AHB Signals(i)  AHB Signals can be classified as –Clock (HCLK) –Address and read/write data (HADDR, HRDATA, HWDATA) –Arbitration (HGRANTx, HMASTER, HMASTLOCK,…) –Control signal (HRESETn,…) –Response signal(HREADY, HRESP)

SOC Consortium Course Material 10 AHB Signals(ii)  Transfer signals –HCLK bus clock. All signal timings are related to the rising edge. –HADDR[31:0] 32 bits system bus –HWDATA/HRDATA [31:0] 32 bits write/read data bus –HWRITE High: write data Low: read data –HREADY Transfer done

SOC Consortium Course Material 11 AHB Signals(ii) Basic Transfer  Each transfer consists of –An address and control cycle –One or more cycles for the data

SOC Consortium Course Material 12 AHB Arch.

SOC Consortium Course Material 13 AHB Signals(iii)  Control signals –HTRANS[1:0] Current transfer type –HBURST[2:0] When sequential transfer, control transfer relation –HSIZE[2:0] Control transfer size=2^HSIZE bytes(max=1024bits)

SOC Consortium Course Material 14 AHB Signals(iii)-HTRANS  HTRANS[1:0] –IDLE: master don’t need data to be transfer. –BUSY: This transfer type indicates that the bus master is continuing with a burst of transfers. –NONSEQ: The address and control signals are unrelated to the previous transfer. –SEQ: the address is related to the previous transfer.

SOC Consortium Course Material 15 Burst Operation  AMBA AHB burst operation – 4-beat, 8-beat, 16-beat, single transfer, and undefined-length transfer. – Both incrementing and wrapping bursts are supported.  Incrementing burst – Incrementing bursts access sequential locations and the address of each transfer in the burst is just an increment of the previous address.  Wrapping burst – For wrapping bursts, if the start address of the transfer is not aligned to the total number of bytes in the burst (size x beats), then the address of the transfer in the burst will wrap when the boundary is reached.

SOC Consortium Course Material 16 AHB Signals (iii)-HBURST

SOC Consortium Course Material 17 AHB Signals(iii)-HBURST

SOC Consortium Course Material 18 AHB Signals(iv)  Response signals –HREADY Transfer done, ready for next transfer –HRESP[1:0] OKAY transfer complete ERROR transfer failure(ex: write ROM) RETRY higher priority master can access bus SPLIT other master can access bus

SOC Consortium Course Material 19 AHB Signals(v)  Arbiter signals –HGRANTx Select active bus master –HMASTER[3:0] Indicate which bus master is currently performing a transfer

SOC Consortium Course Material 20 Master signal

SOC Consortium Course Material 21 Arbiter signal

SOC Consortium Course Material 22 Slave signal

SOC Consortium Course Material 23 Outline  AMBA Bus –Advanced System Bus –Advanced High-performance Bus –Advanced Peripheral Bus Low power Latched address and control Simple interface Suitable for many peripherals

SOC Consortium Course Material 24 APB state diagram

SOC Consortium Course Material 25 APB signals  APB character –Always two cycle transfer –No wait cycle and response signal  APB signals –PCLK Bus clock , rising edge is used to time all transfers. –PRESETn APB reset 。 active Low.

SOC Consortium Course Material 26 APB signals  PADDR[31:0] APB address bus.  PSELx Indicates that the slave device is selected. There is a PSELx signal for each slave.  PENABLE Indicates the second cycle of an APB transfer.  PWRITE Transfer direction. High for write access, Low for read access.  PRDATA Read data bus  PWDATA Write data bus