Jain 2021
Jain 2021
Abstract— Advanced Peripheral Bus (APB) is the piece of has been expanded. Subsequently, time spent in verification
Advanced Microcontroller Bus Architecture (AMBA) family additionally been expanded. System on Chip (SoC)
conventions. It is an easy interface and the arrangement is to correspondence, significantly affects framework execution,
improve the plan for the least possible power intake and power scattering, and time to advertise. Low power dissipation
diminished interface unpredictability. In contrast to AHB, it is a is the main focus for system designer as well as the
Non-Pipelined convention, used to associate low-data transfer researcher’s community. The design of Advanced Peripheral
capacity peripherals to the S oC. The 32-bit model is developed Bus regulator deals the exchanges between the master and
for communication between Master and S lave devices. The slave devices. The APB show relates an indication of progress
Testbench acts as a Master APB and Design acts as a S lave APB.
The Master originates transports on the Peripheral Bus which
to the positive edge of the clock, to improve the joining of
supports Write, Read, and Idle exchanges. It likewise validates
APB peripherals into any arrangement stream. Each move
the most extreme number of slaves. S lave memory reaction takes in any event two cycles. The Master and Slave AMBA
displayed by arrangement. It upholds stand by states utilizing APB (Advanced Peripheral Bus) is an exceptionally adaptable
READY sign additionally bolsters error reaction utilizing and configurable confirmation IP that can be handily
ERROR signal. The fundamental point of the proposed work is coordinated into any SOC check environment. The plan and
to plan and examine the different functional aspect of the usage of APB convention utilizing Verilog Language and
protocol. i.e. information read from a specific system area is the verification utilizing Verilog Testbench.
similar as the information written to the given system area and
In transport based SoC design, the framework incorporates
the protocol verifies the functionality by passing random value to
same indexed address, random value for randomly indexed one or more normal transports to which all modules
address and grouping write and read values together. The system interconnect, and all framework correspondence is overseen
embraced for the proposed work uses Verilog language and by the transport interface conventions [13]. Fig. 1, shows the
Verilog Testbench to extract synthesis, design usage synopsis. AMBA bus Architecture. Fundamentally, it comprises of two
The design utilized Verilog programming which greatly enhances segments in particular namely Advanced high performance
reusability of the Testbench components such as creating Tasks bus (AHB), or Advanced System bus (ASB) and Advanced
for various Test cases. peripheral bus (APB). So the parts requiring higher
transmission capacity like Higher information transmission
Keywords—AMBA, APB, S oC, Verilog, Design, Verification. rate, High- performance processors, High Bandwidth system
Interface, and Direct Memory Access transport pro are related
with the AHB or ASB. AMBA APB is low bandwidth and low
I. INT RODUCT ION execution transport. Subsequently, the sections requiring
The immense advancement of VLSI innovation empowers lower move speed like the periphery contraptions, for
the coordination of millions of semiconductors on a solitary instance, devices are related with the APB. [14] These
chip called System on chip (SoC). The absolute Design and peripherals are associated independently dependent on various
Verification of AMBA APB Protocol for SoC Applications data transmission with an extension as the medium.
are performed. AMBA Bus essentially has a large number of
components like AHB, ASB and AXI, and so forth which are
elite transports used to interface with low-performance
execution transports like APB. APB uses low peripheral
bandwidth and is used to connect with slaves like UART,
TIMER, Keypad and INTERRUPT CONTROLLER etc.
The traditional way of verification is simulation-based. As
the innovation in technology improved unpredictability of IC's
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV 2021).
IEEE Xplore Part Number: CFP21ONG-ART; 978-0-7381-1183-4
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV 2021).
IEEE Xplore Part Number: CFP21ONG-ART; 978-0-7381-1183-4
by the detail, and is checked to utilize Verilog Testbench for IV. APB OPERAT ING ST AT US
all the usefulness of the convention. Fig. 3, Shows the operating status of an APB which
represent the activity of peripherals. It operates in three states.
III. APB BLOCK DIAGRAM
APB is a part of the AMBA Hierarchy Bus and it is x IDLE: This will be the default state where there is no
utilized to associate with the low peripheral devices. AMBA transfer of data.
APB as a rule comprises of APB Bridge/expert and APB slave x SETUP: Inside this state suitable Select signal is
and it tends to be utilized to interface with numerous affirmed, transport remains in the SETUP state for only
quantities of slaves. Fig. 2, shows the block graph of APB one clock cycle and will consistently move to the
connect/Master and APB slave. APB Bridge is simply a ENABLE state for next positive edge of the clock.
transport ace on AMBA APB. What's more, the APB Bridge is
additionally a slave on the elevated level system transport. x ENABLE/ACCESS: In this state, when select input is
up and write signal is also up, and ready signal is also
Select 1
up then Master wants to write data into the slave
devices, after that transaction ready signal goes low,
System
Select 2
indicating slave is not ready to take further transfer. If
Bus
ready signal is up but select signal is low and write
. signal is low then no transfer take place, bus remain in
.
wait state. For next clock cycle, ready signal is up and
Select N SLAVE
select signal also and write is equal to one, which
MASTER Advanced indicates that read operation can perform. Master
Read
data
Advanced Enable Peripheral reads data from slave devices from specified memory
Peripheral B us Read
Data
area.
B us
Address
Reset
Write
IDLE No
select=0 Transfer
enable=0
Write Data
Ready
Clock Ready=1
& No
Error Transfer
Ready=1 & Transfer
SETUP
select=1
Fig. 2, Interfacing of APB Master and Slave enable=0
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV 2021).
IEEE Xplore Part Number: CFP21ONG-ART; 978-0-7381-1183-4
Customer Requirement
Specification
B. Read Cycle
Fig. 6, shows APB Read cycle. The read move begins with
Manufacturing & Testing
the sign reset, address (addr), read information (rdata),
Faulty Chip
compose signal (WR), select sign (sel) and prepared sign
Good chip to customer
(ready). All sign changing after the positive edge of the clock.
When reset is high all signals goes to low and ready signal
Fig. 4, VLSI verification design flow (pready) will be high after reset, ready signal waits for the
command. Once command comes, that means sel=1, wr=0 and
VI. APB SIGNAL DESCRIPT ION ready=1 that indicates to slave for read transfer. For next cycle
ready goes to low to indicate slave is not ready. Following
cycle ready goes to up and master reads data (rdata) from
AMBA APB signals and its description is shown in Table
I. slave along with ready=1.
SIGNALS DESCRIPTIO N
A. Write Cycle
Fig. 5, shows APB Write cycle. The first clock cycle reset
goes to high which clears all the signals, Ready signal
(pready) is high after reset. When a command comes Ready
signal (pready) goes to low to indicate that Slave is not ready.
After a clock Ready signal goes to high indicate that slave is
ready for next command. When sel signal (sel), write signal
(wr), write data (wdata) is high and ready signal is also up
then master will start writing into the slave. Once writing is Fig. 7, APB Error Cycle when select signal repeats for two cycles
done the select signal (sel) goes to low and Ready signal
(pready) also goes to low to indicate that Slave is not ready for
next command.
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV 2021).
IEEE Xplore Part Number: CFP21ONG-ART; 978-0-7381-1183-4
D. Functional Verification
Fig. 11, APB Protocol Functional Verification- Random Value and
The functional correctness of the protocol is performed for Random Index
four parameters.
The information read from a specific memory area is the
same as the information written to the given memory area The functional verification is performed and the write data
shown in Fig. 9. In addition to that protocol verifies and a read data from a specific memory area are grouping
functionality by passing random value to same indexed together as shown in the Fig. 12.
address shown in Fig. 10. Together it checks functionality by
passing random value to random index shown in Fig. 11. Also
verifies the protocol by grouping write and read value shown
in Fig. 12.
Fig. 12, APB Protocol Functional Verification Grouping Write and Read
Values
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV 2021).
IEEE Xplore Part Number: CFP21ONG-ART; 978-0-7381-1183-4
Authorized licensed use limited to: Univ of Calif Santa Barbara. Downloaded on June 26,2021 at 01:05:54 UTC from IEEE Xplore. Restrictions apply.