Design & Implementation of Advance Peripheral Bus Protocol
Design & Implementation of Advance Peripheral Bus Protocol
ISSN: 2395-3470
www.ijseas.com
1, 2,
P M.Tech. VLSI, U.V.Patel College of Engineering and Technology, Kherva, Mehsana, India
P 0T 0T
3
P Verification Technical Assistant, eiTRA, Ahmedabad, India
P
Abstract- This design presents an intellectual Interface (AXI), (4) AMBA Advanced Extensible
property (IP) for inter-Advanced peripheral Interface Lite (AXI4-Lite).
bus (APB) protocol. The current VLSI design APB Revisions are (1) AMBA 2 APB
scenario is characterized by high performance, Specification (2) AMBA 3 APB Protocol
complex functionality and short time-to Specification v1.0, (3) AMBA APB Protocol
market. A reuse based methodology for SoC Specification v2.0. [1]
design has become essential in order to meet
these challenges. The work involved is of APB The AMBA 3 APB Protocol Specification v1.0
Protocol and its slave Verification. The idea defines the following additional functionality:
behind this is to test DUT. Propose model is • Wait states.
used for communication between master and • Error reporting.
slave. The entire design has been coded in These are PREADY is a ready signal to indicate
Verilog & verified using Spartan kit. completion of an APB transfer. PSLVERR an
Index Terms— Intellectual property (IP), error signal to indicate the failure of a transfer.
Advanced microcontroller bus architecture II. AMBA BUS
(AMBA), Advanced peripheral bus (APB), Field- 16T
492
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015
ISSN: 2395-3470
www.ijseas.com
AMBA APB provides the basic peripheral macro in the design of high performance 16 and 32-bit
cell communications infrastructure as a secondary embedded microcontrollers. It supports the
bus from the higher bandwidth pipelined main efficient connection of processors, on-chip
system bus. It consist of interfaces which are memories and off chip external memory
memory-mapped registers. interfaces with low-power peripheral macro cell
functions. The bus also provides the test
infrastructure for modular macro cell test and
diagnostic access. [1]
C. AHB VS APB
AHB stands for Advanced High-performance Bus
and APB sands for Advanced Peripheral Bus.
Both the Advanced High-performance Bus and
the Advanced Peripheral Bus are part of the
Advanced Microprocessor Bus Architecture
(AMBA). Though both the AHB and the APB
belong to AMBA, they differ in many way.
493
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015
ISSN: 2395-3470
www.ijseas.com
494
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015
ISSN: 2395-3470
www.ijseas.com
held LOW by the slave then the peripheral bus phase. The slave must provide the data before the
remains in the ACCESS state another is end of the read transfer.[2][3]
PREADY is driven HIGH by the slave then the
ACCESS state is exited and the bus returns to the
IDLE state if no more transfers are required after
that it will start the same cycle. [2][3]
B. Write cycle
At T1, a write transfer starts with PADDR,
PWDATA, PWRITE, and PSEL, being registered
at the rising edge of PCLK. It is called the
SETUP cycle. At the next rising edge of the clock
T2 it is called ACCESS cycle, PENABLE, and
PREADY, are registered. When asserted,
PENABLE indicates starting of Access phase of Figure 5 Read cycle
the transfer. When asserted, PREADY indicates
that the slave can complete the transfer at the next IV.SIMULATION RESULTS FOR DESIGN
rising edge of PCLK. The PADDR, PWDATA,
and control signals all remain valid until the Whenever clock signal goes high from an
transfer completes at T3, the end of the Access operator at that instance PENABLE and
phase .The PENABLE, is disabled at the end of PREADY goes high PADDR which is of 32-bit
the transfer. The select signal PSEL is also in length. After enabling PADDR it will take data
disabled unless the transfer is to be followed and write it on PWDATA and which is also
immediately by another transfer to the same transferred to the apb_write_data which all are 32
peripheral.[2][3] –bit in size
495
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015
ISSN: 2395-3470
www.ijseas.com
VII. REFRENCES
[1]URL:http://wwwmicro.deis.unibo.it/~magagni/
amba99.pdf
[2]ARM, “AMBA Specification Overview”,
available at http://www.arm.com/.
[3] ARM, “AMBA Specification (Rev 2.0)”,
available at http://www.arm.com.
[4]URL:http://www.differencebetween.net/techno
logy/difference-between-ahb-and-apb
[5] Samir Palnitkar, “Verilog HDL: A guide to
Digital Design and Synthesis (2nd Edition),
Pearson, 2008.
[6] URL:http://www.testbench.com.
496
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015
ISSN: 2395-3470
www.ijseas.com
497