Professional Documents
Culture Documents
RESEARCH ARTICLE
OPEN ACCESS
----------------------------------------************************----------------------------------
Abstract:
In VLSI Technologies, according to Moores law the density of a semiconducting material increases
rapidly. The verification technology in this industry is complex. For verification process, manually
generating test cases is difficulty and time consuming process for verifying complex problem in design.
For reducing complexity of the verification process is to generate a graph scenario model for each
Intellectual Property (IP) blocks in system on chip (SOC) design. The main objective is to verify the IP
block of AMBA (Advanced Microcontroller Bus Architecture) APB (Advanced Peripheral Bus) via SPI
(Serial Peripheral Interface) using graph based scenario model. This concept includes generation of graph
of APB_WB (Advanced Peripheral Bus Wishbone) and integration of test cases generated by the
graph to APB. The graph is generated by the software called trek by Breker verification systems. This
software automatically generates test cases. These test cases are self-verifying. Trek takes input
information from scenario models describing the desired outcomes, developed by the user which is
integrated with DUT (Device Under Test) and outcome is verified by Trek mailbox. For more accuracy of
SPI protocol, the test cases has to be generated for transmit register using trek.
Keywords AMBA_APB, SPI, Signal, Transfers, Graph Scenario model, Trek.
----------------------------------------************************---------------------------------II. AMBA APB SIGNALS
I. INTRODUCTION
PCLK signal is the clock indicates that times all
The role of graph-based scenario models transfers on the APB. PRESET signal is reset which
can be explained by example digital camera SOC indicates that the APB reset signal is active low.
design. The images are captured from lens in the This signal is normally connected directly to the
camera block. The images can be displayed for the system bus reset signal. PADDR is an address
user, driven by in the serial process of photo signal which represents 32 bits driven by bus
processor, transmitted via a USB port, and saved to peripheral unit. PPROT is a protection unit which
an SD card. A series of such images may be treated indicates the normal, privileged, or secure
as a video stream and handled similarly by the protection level of the transaction and whether the
video processor. Each block consist an individual transaction is a data access or an instruction access.
IP in the SOC. The verification team must PSEL is a select signal which generates this signal
understand all of the data flows and all possible to each peripheral bus slave it indicates that the
interactions for each block. if it is to develop a slave device is selected and that a data transfer is
testbench environment. By creating testbench using required. There is a PSEL signal for each slave.
hand written C test cases is time consuming PENABLE is an enable signal indicates the second
process. So the graph scenario model is to generate and subsequent cycles of an APB transfer. PWRITE
scenario model for each block in the IP design is for indicates direction. An APB writes access when
verification. One of the major blocks is APB_SPI high and an APB. PWDATA is a write data signal.
bus for fast communication between each part in This bus is driven by the peripheral bus bridge unit
the design.
during write cycles when PWRITE is high. This bus
can be up to 32 bits wide. PSTRB is write strobe
ISSN: 2394-2231
http://www.ijctjournal.org
Page 106
GENERATION OF GRAPH
ISSN :2394-2231
http://www.ijctjournal.org
Page 107
Fig 2.
Fig 1.
ISSN :2394-2231
http://www.ijctjournal.org
Page 108
Fig 3.
ISSN :2394-2231
[3]. Oudijida AK, Berrandjia ML, LiachanA, Tiar R, Design and test of
general purpose SPI Master/Slave IPs on OPB bus,ISBN:978-1-42447532-2, Pages :1-6.
[4]. Zhili zhou, Zhang xie, Xinan wang, Teng wang, Development of
verification environment for SPI master interface using System
Verilog(IEEE) ISSN:2164 5221, Pages 2188-2192.
[5]. Simon Srot SPI Master Core Specification, Rev.0.6. March
15, 2004.
[6]. Tianxiang Liu IP Design of Universal Multiple Devices SPI
http://www.ijctjournal.org
Page 109