0% found this document useful (0 votes)
58 views7 pages

Ijecet: International Journal of Electronics and Communication Engineering & Technology (Ijecet)

Today’s scenario of SOC deals with integrity and sharing of information or data with various level of communication. AMBA bus protocol has been proposed by ARM community to justify the uneven demand of integrity .In this paper functional description and implementation of high peripheral devices supporting protocol AXI2.0 and its interface between low peripheral devices has been proposed. The connection named as bridge take care of the protocol mismatch and operates on data transfer for uneven speed demand. Asynchronous FIFO has been considered to avoid the complex handshaking mechanism. The design has been implemented within VHDL and implemented on Xilinx Virtex 4.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views7 pages

Ijecet: International Journal of Electronics and Communication Engineering & Technology (Ijecet)

Today’s scenario of SOC deals with integrity and sharing of information or data with various level of communication. AMBA bus protocol has been proposed by ARM community to justify the uneven demand of integrity .In this paper functional description and implementation of high peripheral devices supporting protocol AXI2.0 and its interface between low peripheral devices has been proposed. The connection named as bridge take care of the protocol mismatch and operates on data transfer for uneven speed demand. Asynchronous FIFO has been considered to avoid the complex handshaking mechanism. The design has been implemented within VHDL and implemented on Xilinx Virtex 4.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 INTERNATIONAL JOURNAL OF ELECTRONICS AND

D 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

ISSN 0976 6464(Print) ISSN 0976 6472(Online) Volume 4, Issue 6, November - December, 2013, pp. 36-42 IAEME: www.iaeme.com/ijecet.asp Journal Impact Factor (2013): 5.8896 (Calculated by GISI) www.jifactor.com

IJECET
IAEME

AN EFFICIENT AXI2.0 BASED APB BRIDGE BETWEEN HIGH PERFORMANCE AND LOW PERIPHERAL DEVICES
Anurag Shrivastava1,
1

Dr.Amit Kant Pandit2,

Prof. G.S. Tomar3

PhD Scholar, SMVDU, Department of SECE, 2 Prof. SMVDU, Department of SECE, 3 MIR Lab Gwalior, India

ABSTRACT Todays scenario of SOC deals with integrity and sharing of information or data with various level of communication. AMBA bus protocol has been proposed by ARM community to justify the uneven demand of integrity .In this paper functional description and implementation of high peripheral devices supporting protocol AXI2.0 and its interface between low peripheral devices has been proposed. The connection named as bridge take care of the protocol mismatch and operates on data transfer for uneven speed demand. Asynchronous FIFO has been considered to avoid the complex handshaking mechanism. The design has been implemented within VHDL and implemented on Xilinx Virtex 4. Keywords: AMBA Bus Protocol, AXI2.0, Asynchronous FIFO, VHDL, and Xilinx Virtex 4. I. INTRODUCTION The AMBA on-chip interconnect system is an established open specification that details a strategy on the interconnection and management of functional blocks that makes up a System-onChip (SoC). It is a high-speed, high-bandwidth bus that supports multi-master bus management to maximize system performance. On March 8, 2010, ARM announced availability of the AMBA 4.0 specifications. As the de facto standard SoC bus, AMBA bus is widely used in the high-performance SoC designs. The AMBA specification defines an on-chip communication standard for designing high-performance embedded microcontrollers. The AMBA 4.0 specification defines five buses/interfaces [4]:

36

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

Advanced extensible Interface (AXI) Advanced High-performance Bus (AHB) Advanced System Bus (ASB) Advanced Peripheral Bus (APB) Advanced Trace Bus (ATB)

AXI, the next generation of AMBA interface defined in the AMBA 4.0 specification, is targeted at high performance, high clock frequency system designs and includes features which make it very suitable for high speed sub-micrometre interconnect. Typically the AXI2.0 protocol [2] has five channels for dedicated operation which can initiated the data transfer and control. A. Character of AXI Bus To correctly grasp the complexity of the design challenge facing an engineer of an AMBA 3 AXI protocol-based design,[3] we must first understand the technical features of the AMBA 4 AXI 2.0 protocol itself.[4] The key feature is that AXI separates the data channels into five independent data channels (write data channel, write address channel, write response channel, read data channel, read address channel). Each channel transfers data in only one direction, and there is no requirement for a fixed relationship[5] between the various channels. This is important because it enables the insertion of a register slice in any channel. It is also possible to use register slices at almost any point within a given interconnection. It is very advantageous to use a direct, fast connection between a processor and high-performance memory, but to use simple register slices to isolate a longer path to less performance critical peripherals. Besides the above feature, AMBA 4 AXI 2.0 protocol supports many advanced accessing manners, such as exclusive access and unaligned transfer. The AXI protocol enables out-of-order transaction completion and the issuing of multiple outstanding addresses. These features enable the implementation of a high performance. Interconnection,[5][7] maximizing data throughput and system efficiency. Furthermore, the protocol also defines low power interface to meet the need of reducing power in MPSOC system by issuing how to entry and exit low power state. B. AXI Bus Architecture At the point of data transaction, AXI protocol defines five independent channels as shown in Fig.1. Both write and read address channels have their own addresses to transfer, as well as the control information that describes the nature of the data to be transferred. AXI bus uses a write data channel to transfer data from master to slave and a read data channel to transfer data from slave to master. In write transaction, there is an additional write response channel to indicate the state of the transaction. The AXI bus consists of five independent channels,[3] each of which contains a set of information signals and uses a two-way VALID and READY handshake mechanism. The VALID signal from source indicates that the data or control information is available, and the READY signal from destination indicates that it is ready to accept data. When both VALID and READY signals go to high, data is transferred. The AXI protocol is burst based transaction, so both read data channel and write data channel use LAST signal to show when the transfer of the final data item within a transaction takes place. At the point of master and slave devices, it can be divided into master, slave and the interconnection architecture which connects masters and slaves together. A typical system consists of a number of master and slave devices connected together via some form of interconnection. And we are free to choose the interconnection according to the need of system.

37

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

Figure.1: AXI Bus Architecture

C. APB The AMBA APB is for low low-power power peripherals. AMBA APB[6] is optimized for minimal power consumption and reduced interface compl complexity exity to support peripheral functions. APB can be used in conjunction with either version of the system bus.

Figure.2: APB Bridge

Figure.3: Design Description

38

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

The Bridge unit converts system bus transfers into APB transfers and performs the following function[8] Latches the address and holds it valid throughout the transfer. Decodes the address and generates a peripheral select, PESLx. Only one select signal can be active during a transfer. Drives the data onto o the APB for a write transfer. Drives the APB data onto the system bus for a read transfer. Generates a training ning strobe, PENABLE, for the transfer.

Figure.4: Basic APB Bridge operation. There are three basic operation in APB FSM

Asynchronous FIFO: This block is responsible for the communication interface between AXI master and APB slave.[8] once the control pin is stored in the FIFO according to CLK frequency of AXI master then FIFO will assert its fifofull full control according according to the response of fifofull, master stop its operation and then control is transferred to APB salve, and same way if read operation is done by APB slave then FIFO empty will be high and read operation will be stop. Asynchronous FIFO will take care of the high speed and low peripheral device interaction with different CLK write and read operation. AXI Master Interface: It is initiator of the operation between it take care of the operation by using its five channel and each channel have an asynchronous FIFO interface, so that protocol mismatch is resolved. APB slave: It take care of the interface between master and device. device. If device is interacting to processor it has to interact with salve first, and slave will response according to analysis of control signal.it follows following state machine for its control.

39

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME
No Transfer IDEL

Transfer

SET UP

ENABLE Transfer No Transfer

Figure.5: State diagram of APB ENABLE: In ENABLE state the enable signal, PENABLE is asserted. The address, write and select signals all remain stable during the transition from the SETUP to ENABLE state.The ENABLE state also only lasts for a signal cycle and after this state the bus will return to the IDLE state if no further transfers are required. Alternatively, if another transfer is to follow then the bus will move to SETUP sate.[2]It is acceptable for the address, write and select signal to glitch during a transition from the ENABLE to SETUP states. IDLE: The default state for peripheral bus. SETUP: When the transfer is required the bus will move into SETUP state. Where the appro pate selected signal, PSELx, is asserted. The bus only remain in the SETUP state for one clock cycle and will always move to the ENABLE state on the next rising edge of the clock. II. RESULTS & SIMULATION

Figure.6: Simulation results of APB slave


40

Figure.7: RTL view of APB slave

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

Figure.8: Pin diagram of APB slave

Figure.9: RTL view of AXI APB Bridge

Figure.10: Simulation results of AXI APB Bridge

III.

SYNTHESIS REPORT OF THE DESIGN

Final Results Device utilization summary: --------------------------Selected Device : 6slx4tqg144-3 Slice Logic Utilization: Number of Slice Registers 58 out of Number of Slice LUTs: 88 out of Number used as Logic: 82 out of Number used as Memory: 6 out of Number used as RAM: 6

4800 2400 2400 1200

1% 3% 3% 0%

41

International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 6464(Print), ISSN 0976 6472(Online) Volume 4, Issue 6, November - December (2013), IAEME

Slice Logic Distribution: Number of LUT FlipFlop pairs used: Number with an unused FlipFlop: Number with an unused LUT: Number of fully used LUT-FF pairs: Number of unique control sets:

92 34 out of 92 36% 4 out of 92 4% 54 out 92 58% 14

IO Utilization: Number of IOs: 587 Number of bonded IOBs: 217 out of 102 212% (*) IOB Flip Flops/Latches: 37 Specific Feature Utilization: Number of BUFG/BUFGCTRLs: 4 out of 16 25% IV. CONCLUSION

The design has been implemented in vhdl as synthesized with Xilinx 6slx4tqg144-3 spartan 6. Area constraned is taken care for the implementation.for synchronization fifo is used,so its not a design which is latnecy free , but control has been develop so that it takes minimum latency. REFERENCES . [1] ARM, AMBA Specification Overview, available atwww.arm.com [2] ARM, AMBA Specification (Rev 2.0), available atwww.arm.com [3] ARM, AMBA AXI Protocol Specification2010, available at www.arm.com [4] ARM, AMBA Protocol specification 4.0,www.arm.com,2010. [5] AnuragShrivastava,G.S.Tomar and Singh, Performance comparison of AMAB BusBased system-on-chip communication protocol, in Proc.IEEE International Conference on CSNT 2011, 3-5 June. SMVDU Katra,pp-449-454. [6] AkhileshKumarandRichaSinha, Design and verification analysis of APB3 Protocol with coveragein Proc. IJAET 2011Vol.1,Issue5,pp.310-317. [7] A Singh,AnuragShrivastava, and G.S. Tomar Design and Implementation of High Performance AHB Reconfigurable Arbiter for on chip Bus Architecture in Proc.IEEE International Conference on CSNT 2011,3-5. June SMVDU Katra.pp-455-459. [8] Chenghai, Zhijun, Design and implementation of APB bridge based on AMBA 4.0 Consumer Electronics, Communications and Networks (CECNet), 2011 IEEE International Conference 16-18 April 2011,pp-193-196. [9] Math SS,Manjula,Manavi, Data transactions on system-on-chip bus using AXI4 protocol Recent Advancements in Electrical, Electronics and Control Engineering (ICONRAEeCE), 2011 IEEE International Conference on 15-17Dec,pp- 423-427. [10] Sangik,Kang Implementation of an on-chip bus bridge between heterogeneous buses with different clock frequencies System-on-Chip for Real-Time Applications, 2005. Proceedings. IEEE Fifth International Workshop on 20-24 July 2005, pp-530-534. [11] Saxena, Bhatnagar, Jaiswal. Reconfigurable architecture for IP peripherals Signals and Electronic Systems (ICSES), 2010 IEEE International Conference on 7-10 Set 2010, pp-347-350.

42

You might also like