Professional Documents
Culture Documents
91 Design PDF
91 Design PDF
INTRODUCTION
AXI stands for Advanced Extensible Interface. It is a part of the Advanced Microcontroller Bus Architecture (AMBA)
developed by ARM (Advanced RISC Machines) company. It is an On-Chip communication protocol. The AMBA AXI
protocol supports high-performance, high-frequency system designs.
The AXI protocol is suitable for high-bandwidth and low-latency designs. It provides high-frequency operation without
using complex bridge. It meets the interface requirements of a wide range of components. AXI protocol is suitable for
memory controllers with high initial access latency. It provides flexibility in the implementation of interconnect
architectures. It is backward-compatible with existing AHB and APB interfaces.
The key features of the AXI protocol are that it has separate address/control and data phases & support for unaligned
data transfers, using byte strobes. It utilizes burst-based transactions with only the start address issued. It has separate
read and write data channels that provide low-cost Direct Memory Access (DMA). It supports for issuing multiple
outstanding addresses. It support for out-of-order transaction completion. It permits easy addition of register stages to
provide timing closure.
II.
LITERATURE REVIEW
The Advanced Microcontroller Bus Architecture (AMBA) is an open-standard, on-chip interconnect specification for
the connection and management of functional blocks in system-on-a-chip (SoC) designs. It facilitates development of
multi-processor designs with large numbers of controllers and peripherals. Since its inception, the scope of AMBA has,
despite its name, gone far beyond micro controller devices. Today, AMBA is widely used on a range of ASIC and SoC
parts including applications processors used in modern portable mobile devices like smartphones.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4253
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
AMBA was introduced by ARM in 1996. The first AMBA buses were Advanced System Bus (ASB) and Advanced
Peripheral Bus (APB) [1&2]. In its second version, AMBA 2, ARM added AMBA High-performance Bus (AHB) that
is a single clock-edge protocol [3-5]. In 2003, ARM introduced the third generation, AMBA 3 [6&7], including AXI to
reach even higher performance interconnect and the Advanced Trace Bus (ATB) as part of the CoreSight on-chip
debug and trace solution. In 2010 the AMBA 4 specifications were introduced starting with AMBA 4 AXI4, then in
2011 extending system wide coherency with AMBA 4 ACE with a re-designed high-speed transport layer and features
designed to reduce congestion [8-10].
Advanced microcontroller bus architecture (AMBA) protocol family provides metric-driven verification of protocol
compliance, enabling comprehensive testing of interface intellectual property (IP) blocks and system-on-chip (SoC)
designs. The AMBA advanced extensible interface 4 (AXI4) update to AMBA AXI3 includes the following: support
for burst lengths up to 256 beats, updated write response requirements, removal of locked transactions and AXI4 also
includes information on the interoperability of components. AMBA AXI4 protocol system supports 16 masters and 16
slaves interfacing. The design is implemented using Verilog- HDL [11-13].
III.
A typical system consists of a number of master and slave devices connected together through the Interconnect. The
AXI protocol provides a single interface definition, for the interfaces:
Between a master and the interconnect
Between a slave and the interconnect
Between a master and a slave.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4254
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
The AXI Slave has been designed and verified using Master-Verification IP. The design for slave has the five bidirectional channels as the Input/ Output. The design is done using the finite state machine approach. The Read/Write
controllers are governed by the respective state machines.
The design architecture is as shown in Fig 4-1
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4255
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
Write Control: This block controls the data and the rate at which it is written into the FIFO/DPRAM.
Write Response Control: This block controls the response signals that are sent back to the master.
Read Address Decoder: This block decodes the incoming address from the read address channel sent from the master.
Read Control: This block controls the data and the rate at which it is read from the FIFO/DPRAM.
Protocol Checker: Constantly checks for the controls signals as to whether theyre in line with the desired protocol.
Reset: This block allows for asynchronous assertion and synchronous de-assertion of the global reset signal.
Write FSM: This block governs the blocks 1,2& 3. Figure 4-2 shows the main state diagram of the complete write
transaction.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4256
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
The read state machine consists of 3 states that include the reset, address wait and the data wait. The reset state is the
initial state. The state machine abandons all other functions and reverts to this state if the reset signal is asserted. In the
address wait state, the slave awaits the address and control information from the Master for the read transaction. The
data wait state follows the address handshake and continues with the data transfer for the read. The read transaction
does not involve a separate channel for response hence it provides a response signal for every data transfer instead of
the last data transfer over the read data channel itself.
FIFO/DPRAM: This block depicts the types of memory used for the slave. It consists of an asynchronous FIFO and a
dual port RAM.
V.
SIMULATION RESULTS
The results consists of simulation waveforms that are obtained during verification of the DUT. The waveforms are used
to verify the functionality of the Slave. It is found that the DUT is functional and performs intended behaviour of an
AXI 4 Slave of the desired functionality.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4257
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4258
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
The above figure shows the Incremental (INCR) type write operation. The data is sent as a burst with one given starting
address. The slave calculates the subsequent transfer address based on the burst length, size and type. The data is stored
accordingly in the memory.
The AXI 4 slave has been designed and verified using Directed-Test bench methodology. This slave has been
interfaced with a Master-VIP for further verification and found to be effective for use. Following the latest AXI
specifications, the designed Slave can easily be used to connect different peripherals like SPI, I2C, UART etc., into non
AMBA based processors by developing wrapper around AXI4 slave interface.
VII.
ACKNOWLEDGMENT
The authors wish to thank Mindtree Limited. This work was supported by a grant from Mindtree Limited.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4259
ISSN(Online): 2319-8753
ISSN (Print): 2347-6710
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
AMBA Peripheral Bus Controller Data Sheet Copyright 1996 Advanced RISC Machines Ltd (ARM).
Ramagundam, S.; Dept. of Computer Sci., Troy Univ., Montgomery, AL, USA ; Das, S.R. ; Morton, S. ; Biswas, S.N. , Design and
implementation of high-performance master/slave memory controller with microcontroller bus architecture, Instrumentation and
Measurement Technology Conference (I2MTC) Proceedings, 2014 IEEE International, 12-15 May 2014.
AMBA Specification (Rev 2.0) 13th May 1999-A, First release, Copyright ARM Limited 1999.
Soo-Yun Hwang; Dept. of Comput. Eng., ChungNam Nat. Univ., Taejon, South Korea; Kyoung-Sun Jhang An improved
implementation method of AHB Bus Matrix, SOC Conference, 2005. Proceedings. IEEE International, 25-28 Sept. 2005
Hu Yueli; Key Lab. of Adv. Display & Syst. Application., Shanghai Univ., Shanghai, China ; Yang Ben Building an AMBA AHB
Compliant Memory Controller, Measuring Technology and Mechatronics Automation (ICMTMA), 2011 Third International Conference,
6-7 Jan. 2011.
AMBA AXI Specification (AR500-DA-10008) 16 June, 2003-A, First release, Copyright ARM Limited 2003
Paunikar, A.; Sch. of Electron. Eng., VIT Univ., Vellore, India ; Gavankar, R.; Umarikar, N. ; Sivasankaran, K. , Design and
implementation of area efficient, low power AMBA 3-APB Bridge for SoC , Green Computing Communication and Electrical
Engineering (ICGCCEE), 2014 International Conference, 6-8 March 2014
AMBA AXI 4 and ACE Protocol Specification 28 October 2011 D Non-Confidential First release of AMBA AXI 4 and ACE Protocol
Specification.
Xu Yang ; Harbin Inst. of Technol., Harbin ; Zhang Qing-li ; Fu Fang-fa ; Yu Ming-yan, NISAR: An AXI compliant on-chip NI
architecture offering transaction reordering processing ASIC, 2007. ASICON '07. 7th International Conference, 22-25 Oct. 2007.
Manjula, R.B. ; Manvi, S.S. ; Kaunds, P. Data transactions on system-on-chip bus using AXI4 protocol Recent Advancements in
Electrical, Electronics and Control Engineering (ICONRAEeCE), 2011 International Conference, 15-17 Dec. 2011.
Verilog-A Language Reference Manual Analog Extensions to Verilog HDL, Version 1.0, Open Verilog International August 1, 1996
Verilog-AMS Language Reference Manual, Release 2.3.1, Accellera Systems Initiative , 06-2009
Verilog-AMS Language Reference Manual. Release 2.4, Accellera Systems Initiativ, 06-2014.
Copyright to IJIRSET
DOI:10.15680/IJIRSET.2015.0406091
4260