Design of AHB Arbiter with Effective Arbitration Logic for DMA Controller in AMBA Bus

Similar documents
August Issue Page 96 of 107 ISSN

Design of an Efficient FSM for an Implementation of AMBA AHB in SD Host Controller

Design of an AMBA AHB Reconfigurable Arbiter for On-chip Bus Architecture

Keywords- AMBA, AHB, APB, AHB Master, SOC, Split transaction.

Embedded Busses. Large semiconductor. Core vendors. Interconnect IP vendors. STBUS (STMicroelectronics) Many others!

Design and Implementation of A Reconfigurable Arbiter

ISSN Vol.03, Issue.08, October-2015, Pages:

Buses. Maurizio Palesi. Maurizio Palesi 1

AMBA AHB Bus Protocol Checker

SEMICON Solutions. Bus Structure. Created by: Duong Dang Date: 20 th Oct,2010

Design And Implementation of Efficient FSM For AHB Master And Arbiter

Lecture 10 Introduction to AMBA AHB

Ref: AMBA Specification Rev. 2.0

DEVELOPMENT AND VERIFICATION OF AHB2APB BRIDGE PROTOCOL USING UVM TECHNIQUE

VLSI Design of Multichannel AMBA AHB

5. On-chip Bus

Design & Implementation of AHB Interface for SOC Application

DESIGN AND IMPLEMENTATION OF AN ARBITER FOR EFFICIENT MULTISYSTEM INTERACTION WITH SHARED RESOURCES

iimplementation of AMBA AHB protocol for high capacity memory management using VHDL

Bus AMBA. Advanced Microcontroller Bus Architecture (AMBA)

International Journal of Applied Sciences, Engineering and Management ISSN , Vol. 05, No. 02, March 2016, pp

Design and Implementation of High-Performance Master/Slave Memory Controller with Microcontroller Bus Architecture

CHAPTER 6 FPGA IMPLEMENTATION OF ARBITERS ALGORITHM FOR NETWORK-ON-CHIP

Design of High Speed AMBA Advanced Peripheral Bus Master Data Transfer for Microcontroller

Architecture of An AHB Compliant SDRAM Memory Controller

DESIGN AND IMPLEMENTATION OF SDR SDRAM CONTROLLER IN VHDL. Shruti Hathwalia* 1, Meenakshi Yadav 2

1. INTRODUCTION OF AMBA

Design and Verification of AMBA AHB- Lite protocol using Verilog HDL

Verilog AHB Testbench User's Guide

Assertion Based Verification of AMBA-AHB Using System Verilog

The CoreConnect Bus Architecture

SoC Design Lecture 11: SoC Bus Architectures. Shaahin Hessabi Department of Computer Engineering Sharif University of Technology

Design of AMBA Based AHB2APB Bridge

EECS 373 Design of Microprocessor-Based Systems

FPGA based Design of Low Power Reconfigurable Router for Network on Chip (NoC)

Pooja Kawale* et al ISSN: [IJESAT] [International Journal of Engineering Science & Advanced Technology] Volume-6, Issue-3,

of Soft Core Processor Clock Synchronization DDR Controller and SDRAM by Using RISC Architecture

Design and Verification of Configurable Multichannel

AMBA 3 AHB Lite Bus Architecture

Keywords: Soft Core Processor, Arithmetic and Logical Unit, Back End Implementation and Front End Implementation.

FSM & Handshaking Based AHB to APB Bridge for High Speed Systems

Serial Peripheral Interface Design for Advanced Microcontroller Bus Architecture Based System-on- Chip

SoC Interconnect Bus Structures

AHB-Lite Multilayer Interconnect IP. AHB-Lite Multilayer Interconnect IP User Guide Roa Logic, All rights reserved

Bus Interfaces and Standards. Zeljko Zilic

VERIFICATION ANALYSIS OF AHB-LITE PROTOCOL WITH COVERAGE

ISSN: [IDSTM-18] Impact Factor: 5.164

A High Performance Bus Communication Architecture through Bus Splitting

VERIFICATION OF AHB PROTOCOL USING SYSTEM VERILOG ASSERTIONS

Controller IP for a Low Cost FPGA Based USB Device Core

Bus Deadlock Avoidance Using Reconfigurable Arbiter

VLSI DESIGN OF AMBA BASED AHB2APB BRIDGE

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November-2013 ISSN

ISSN: [Mahajan* et al., 5(12): December, 2016] Impact Factor: 4.116

Digital Blocks Semiconductor IP

ISSN:

Improving Memory Access time by Building an AMBA AHB compliant Memory Controller

White Paper AHB to Avalon & Avalon to AHB Bridges

System Verification of Hardware Optimization Based on Edge Detection

BUILDING AN AMBA COMPLIANT MEMORY CONTROLLER

Part A. Yunfei Gu Washington University in St. Louis

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT

DESIGN AND VERIFICATION ANALYSIS OF APB3 PROTOCOL WITH COVERAGE

AMBA Protocol for ALU

A Flexible SystemC Simulator for Multiprocessor Systemson-Chip

VeriFlow Technologies India (P) Ltd

Implementation and Performance analysis of SS Arbiter for. System on chip.

Chapter 2 The AMBA SOC Platform

UG0644 User Guide. DDR AXI Arbiter. February 2018

IMPLEMENTATION OF AHB PROTOCOL USING FPGA

2. System Interconnect Fabric for Memory-Mapped Interfaces

Digital Blocks Semiconductor IP

protocol transactions

World Journal of Engineering Research and Technology WJERT

AHB2APB Bridge. User Guide. 11/2013 Capital Microelectronics, Inc. China

ISSN: [Vani* et al., 5(11): November, 2016] Impact Factor: 4.116

Reconfigurable PLL for Digital System

A Low Power DDR SDRAM Controller Design P.Anup, R.Ramana Reddy

Verification of AMBA AXI4 Protocol Using UVM

DESIGN AND IMPLEMENTATION OF VLSI SYSTOLIC ARRAY MULTIPLIER FOR DSP APPLICATIONS

An Efficient Design of Serial Communication Module UART Using Verilog HDL

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Digital Blocks Semiconductor IP

DESIGN AND IMPLEMENTATION OF I2C SINGLE MASTER ON FPGA USING VERILOG

Multi-core microcontroller design with Cortex-M processors and CoreSight SoC

Index Terms- Field Programmable Gate Array, Content Addressable memory, Intrusion Detection system.

SAMBA-BUS: A HIGH PERFORMANCE BUS ARCHITECTURE FOR SYSTEM-ON-CHIPS Λ. Ruibing Lu and Cheng-Kok Koh

Hardware Implementation of AMBA Processor Interface Using Verilog and FPGA

Design and Implementation of AMBA AXI to AHB Bridge K. Lakshmi Shirisha 1 A.Ramkumar 2

Bus Matrix Synthesis Based On Steiner Graphs for Power Efficient System on Chip Communications

SHA3 Core Specification. Author: Homer Hsing

An Efficient Multi Mode and Multi Resolution Based AHB Bus Tracer

LUTs. Block RAMs. Instantiation. Additional Items. Xilinx Implementation Tools. Verification. Simulation

Implementation of Reduced Power Open Core Protocol Compliant Memory System using VHDL

: : (91-44) (Office) (91-44) (Residence)

Design and Implementation of AXI to AHB Bridge Based on AMBA 4.0

ISSN Vol.03, Issue.02, March-2015, Pages:

Developing a LEON3 template design for the Altera Cyclone-II DE2 board Master of Science Thesis in Integrated Electronic System Design

Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION

CoreAHB. Contents. Product Summary. General Description. Intended Use. Key Features. Benefits. Supported Device Families

Transcription:

www.semargroups.org, www.ijsetr.com ISSN 2319-8885 Vol.02,Issue.08, August-2013, Pages:769-772 Design of AHB Arbiter with Effective Arbitration Logic for DMA Controller in AMBA Bus P.GOUTHAMI 1, Y.PRIYANKA 2 1 Research Scholar, VLSI Dept, TKRCET, AP-INDIA. E-mail: potladurthi.gouthami@gmail.com. 2 Asst Prof, ECE Dept, TKRCET, AP-INDIA, E-mail: y.priyankareddy@gmail.com. Abstract: The AMBA on- chip bus is an established, open specification that serves as a framework for System-on-chip (SoC) designs Resolution is a big issue in SOC (system On Chip) while dealing with number of master trying to sense a single data bus. The effectiveness of a system to resolve this priority resides in its ability to logical assignment of the chance to transmit data width of the data, response to the interrupts etc. The purpose of this paper is to propose the scheme to implement reconfigurable architecture so that it can be interface with any common IP core of such a system using the specification of AMBA bus protocol. The scheme involves the typical AMBA features of single clock edge transition, S p l i t transaction, s e v e r a l bus masters, burst transfer. The bus arbiter ensures that only one bus master at a time is allowed to initiate data transfers. Here DMA is used as a slave who in turn gives the response to master requests. Here we have proposed and implemented the reconfigurable arbitration algorithm, such as highest priority or fair access and round robin can be implemented depending on the application requirements. The design architecture is written using Verilog (Very High Speed Integrated Circuits Hardware Description Language) code using Xilinx 13.2 ISE Tools. The architecture is modeled and synthesized using RTL (Register Transfer Level) abstraction and Implemented on Spartan 3E series. Keywords: reconfigurable Arbiter, Round Robin, Split Transfer, AMBA, IP. I. INTRODUCTION A. Buses Buses are shared communication media used by devices to talk to each other both on-chip and off-chip. The communication actions which take place can carry both data and control structures. Fig:1. AHB Reconfigurable Arbiter. Copyright @ 2013 SEMAR GROUPS TECHNICAL SOCIETY. All rights reserved.

P.GOUTHAMI, Y.PRIYANKA All we have developed an Arbitration algorithm so that it can be interface with any type of arbitration to choose the next bus master. This ensures that no master gets starved. When a master has locked the bus, the round robin arbitration is overridden and the master with the lock retains highest priority to the bus. The sixteen AMBA BUS master0 through Master Slave 0 through slave 15 are the sixteen AMBA Bus slaves. The AMBA AHB Bus Arbiter/Decoder [3],[12] contains a default master-master (), and a default slave slave(). AMBA AHB Bus Arbiter features are summarized 1. AMBA AHB Bus arbiter function. 2. Round robin arbitration. 3. Default master-master (). 4. Default slave-slave (). The arbiter Block monitors the AMBA Bus for request and chooses the master with highest priority request as the next AMBA bus transaction master. If there is no request, the Default Master is chosen as the master to drive the next AMBA Bus Transaction. II. THE BUS SPECIFICATION AHB (AMBA High-performance Bus) is a bus protocol introduced in AMBA specification version 2 published by ARM limited Company. [1] In addition to previous release, it has the following features: Single edge clock protocol. Split transaction. Several BUS Master. Burst transfers. Pipelined operations. Single cycle bus master handover. Non-tristate implementation. Large bus-widths (64/128 bit). A simple transaction on the AHB Consist of an address phase and a subsequent data phase (without wait states: only two bus cycles), Access to the target device is controlled through a M U X ( non-tristate), t h e r e b y admitting b u s access to one bus master access at a time. The AHB takes on many characteristics of a standard plug-in bus. It's a multimaster with arbitration, putting the address on the bus, followed by the data. It also supports wait-state insertion and has a data-valid signal [HREADY]. This bus differs in that it has separate read [HRDATA] and write [HWDATA] buses. These bus connections are multiplexed, rather than making use of a tristate multiple connections. AHB supports bursts, with 4-, 8-, and 16-beat bursts, as well as undefined-length bursts and single transfers. Bursts can be address wrapped, i.e., staying within a fixed address range. Bursts can't cross a 1-kB address boundary, though. Slaves can insert wait states to adjust its response (up to 16). The AMBA on- chip bus is an established, open specification that serves as a framework for System-on-chip (SoC) designs. [3],[11] AMBA 2 comprises two system buses: the Advanced High performance bus (AHB) and the Advance peripheral Bus (APB). The AHB ARBITER IP[5],[9]can be broken into subsystem. The two major components of the system under design are the controller and data path. III. DATA PATH The Data Path Are further divided into several subsystem blocks, few of them are controlled by controller. Following are different data path with different functionality. 1. Priority logic block: The priority storage b l o c k is implemented through FSM approach [10]. The priority scheme follows the round robin theorem of priority. The bus request have highest priority will get Grant First and Rest of request will wait for their priority. 2. Priority Storage block: The priority storage block is responsible to store the priority level. It is the block which is responsible to enable the Bus req. Block and Interface Block. Grants are the input pin of this block. 3. Mux arrangement for grant and bus request 16:1 MUX for both grant and request. 4. OR gate: This block contains two sets of OR gate, each set contains 16 OR gate. First OR gate set is used to OR the output of each individual priority logic block,second one is used to OR the individual grant from each priority logic. 5. Counter. 6. D-flip-flop. A. 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. AHB arbiter ensures that only one bus master at a time is allowed to initiate data transfers.

B. AHB Arbitration Design of AHB Arbiter with Effective Arbitration Logic for DMA Controller in AMBA Bus Fig 2: AHB Arbitration scheme. IV. DMA CONTROLLER FOR AHB Direct memory access (DMA) is a process in which an external device takes over the control of system bus from the CPU DMA controller interfaces with several peripherals that may request DMA. The DMA controller is designed to operate directly on the AHB. Bus interface designed for high-speed access to any slave devices on the AHB Handles wait state insertion by any slave devices Supports all slave device responses: OKAY, RETRY, SPLIT, and ERROR Efficient user interface optimized for on-chip data communication Optimized for ASIC and programmable logic device [PLD]implementations Fig3: AHB DMA Slave Interface. It contains multiple channels that can be programmed independently. Two types of DMA transfers are supported by the DMA controller. Type 0 DMA is designed for transferring data between two locations that reside on the AHB. Type 1 DMA is designed for transferring data between AHB and a dedicated I/O bus. Each channel has dedicated interface to its I/O device and all channels shares the same interface to the AHB. Features are Multiple independent DMA channels with direct advanced high-performance bus (AHB) interface DMA transfers between AHB memory devices and I/O ports Interrupt generation on transfer completion V. DESIGN DESCRIPTION The following are the major steps involves in the Arbiter Designs form architectural or functional point of view. The backbone architecture is shown in figure 2 and is self explanatory as per the clear depiction of the blocks. 1. The bus request of different master has to pass through the bus_req block. Which is responsible to pass the request to other logical blocks this block is depends upon the enable0 pin which is coming from priority storage block. 2. Bus req, further pass through interface block and goes to priority logical block [10]. The interface block is giving the enable signal, to priority logical block and interface block is responsible for monitoring the data transaction through data_done signal, it can assert and de-assert the enable pin depends upon the data_done. 3. This bus_ req goes to the priority logic block, this block further decides that which master request will get the highest priority depending upon the priority this block is generate the grant signal. 4. This grant signal goes to priority storage block, encoder block and as out_ put port to interact with Master.

P.GOUTHAMI, Y.PRIYANKA After getting the grant signal Master will send Address, Burst to indicate the type of transfer, and slave will also send Hready, Hresp and Hsplit. 5. At the same time when master samples the signal to the Arbiter Grant signals[11] which are the output of the Arbiter pass through the mux, inside the Arbiter, for this mux bus_master no is select line, which indicates that which master is accessing the bus 6. The out put mux then passes to the controller block which will generate the necessary signals for counter, i.e. the controller will control the operation of counter. 7. Here some modification has been done in the previous architecture that the selection of arbitration is based on the requirement of the IP interface. 8. The grant output from the priority block is OR and then sent to the priority storage block which will store the priority and pass the enable signal; to the next priority depending upon the grant value and the whole operation is repeated depending upon the transaction. 9. Upon the grant given to the master, it is allowed to transmit the data to DMA [which is slave]. VI. DEVICE UTILIZATION SUMMARY Selected Device: Number of Slices 1186 Number of Slice Flip Flops 637 Number of 4 input LUTs 2062 Number of bonded IOBs 78 Number of GCLKs 2 ARBITER ARCHITECHTURE: Fig4: Architecture of arbiter. VII. RESULTS AND SIMULATION The design is simulated on modelsim & verified through effective test bench. The RTL is implemented on Spartan 3E The advantage of this design is that we have taken care of latch formation, as it is a FPGA implementation[8],[5] hence with less latch & maximum Flip-flop has enhanced our area efficiency. Cyclic FSM (grey encoding) has been done for controller design &we controlled power Consumption the design can further be optimized for ASIC design.

Design of AHB Arbiter with Effective Arbitration Logic for DMA Controller in AMBA Bus Figure5. RTL View. SIMULATION RESULTS Fig6: simulated results.

P.GOUTHAMI, Y.PRIYANKA VII. REFERENCES [1] AMBA Specification Rev 2.0. ARM Ltd., 1999. [2] Ruibing Lu, Aiqun Cao, and Cheng-Kok Koh, Senior Member, IEEE, SAMBA-Bus:A High Performance Bus Architecture for System-on-Chips IEEE Transactions on Very Large Scale Integration (VLSI) Systems, Vol.15, No. 1, January 2007. [3] Xilinx OPB Synchronous DRAM (SDRAM) Controller DS426 July21, 2005. [4] H.-M. Lin, C.-C. Yen, C.-H. Shih, and J.-Y. Jou, On compliance test of on-chip bus for SOC, in Proceedings of the 2004 conference on Asia South Pacific design automation, 2004. [4] Xilinx OPB Double Data Rate (DDR) Synchronous DRAM (SDRAM) Controller DS424 (V1.9.1) September19, 2003. [5] Xilinx Pico blaze Initial Design for Spartan-3E Starter Kit (LCD Display Control) Ken Chapman Xilinx Ltd.16th February 2006. [6] Yu-Jung Huang, Chih-Feng Liu, Shao-Pin Chang, Feng- Yuan Chuang, Chang-Chan Chen Department of Electronic Engineering, I-ShoUniversity, Kaohsiung, Taiwan 80424, ROC. [7] Design of LCD driver IP for SoC Applications 2004 IEEE Asia- Pacific Conference onadvanced System Integrated Circuits(AP- ASIC2004)/Aug. 4-5, 2004. [9] Verilog Programming by Examples, samir palnithkar, Publisher: Pearson (2003). [10] Lahiri, K.; Raghunathan, A.;Lakshminarayana, G.; The LOTTERYBUS on-chip communication architecture, IEEE Trans. On Very Large Scale Integration (VLSI) Systems, Vol. 14, No. 6, 2006, pp.596 608. [11] E. S. Shin, V. J. Mooney III, G. F. Riley, Roundrobin Arbiter Designand Generation, Georgia Institute of Technology, Atlanta, GA, Technical Report GIT-CC-02-38,2002.