SV-UVM of AXI - WB
SV-UVM of AXI - WB
SV-UVM of AXI - WB
Abstract-Exponential advancement in technology has led to The rest of the paper is organized as follows. Section-II
the development of complex digital systems, which has made introduces the key features of SV and UVM environment. In
them more error prone. Conventional verification techniques section-III, SGMII IP core for which the UVM framework is
lacks flexibility of verification environment and are inefficient to created is introduced. Section-IV explains DUT and Section-V
balance between market demands and time to market. Universal
presents our proposed UVM framework. In section-VI consists
Verification Methodology (UVM), a System Verilog (SV ) based
of simulation result of our work. The paper concludes with
methodology helps to create robust and reusable verification
section-VII.
environment. In this work, we present an efficient SV-UVM
framework for the verification of Serial G igabit Media Inde
pendent Interface (SGMII) IP core, a single lane 1.25 G bps data II. SV-UV M FOR V ERIFICATION
rate interface between Ethernet Media Access Control (MAC) and
Traditionally, when integrated circuit designs were not
P hysical ( PRY) layer. The core has an AMBA AXI ( Advanced
complicated, verification task was done solely by designers us
eXtensible Interface) master interface to access the register space
of the IP. UVM Verification Component (UV C) of AXI to WB ing in-house developed test bench in Verilog-alone or together
(Wishbone) bridge is reused in the verification of SGMII core with other language like C/C++ due to lack of capabilities
for the configuration of several registers in the core which is WB needed for verification in Verilog language. As chip size kept
compatible. All simulations are done in NCsim and waveforms decreasing, chip function became more and more complicated
are analysed using Simvision. The coverage analysis is done using such that verification effort dominated the design process and
Incisive Metrics Center ( IMC). conventional methodology fell short for verification of modern
Index terms - Verification, SV, UVM, AXI to WB bridge, designs. At this point, verification took divergence from VLSI
SGMII. design. It became necessary to introduce a methodology for
verificaton and the skill set needed by the verification engineer
I. INTRODUCTION were totally different from that of a designer. Consequently,
System Verilog was introduced, which emphasized on the
The silicon revolution is largely governed by Moore's
features required for verification. SV emerged to a single
Law, which states that the number of transistors on an in
language that is sufficiently expressive to model digital systems
tegrated circuit doubles every one to two years. The era of
at various levels of abstraction from untimed functional models
semiconductor has thus evolved VLSI, an integrated system
all the way to netlist level.
consisting of multi-million transistors on a single-chip. These
design complexities are accompanied with the interdependen System Verilog aims to provide a complete set of object
cies of various functionalities which makes the design more oriented programming language that includes domain-specific
susceptible to bugs. Day-after-day, VLSI is facing challenges features to support digital hardware verification. Notable fea
in the subsection of functional verification. Verification is a tures among them are constrained random generation, temporal
process of ensuring that a design implementation meets its assertion, interface, clocking block, program block and func
specification. Verification is the most critical phase in chip tional coverage constructs. An overview of System Verilog's
design cycle and takes nearly 70-80 percent of the total design special features can be found in [6]. Thereby, the generated
cycle. So, there is a need for constructing a flexible and robust stimulus is much more likely to hit corner cases which make
verification environment. discovering unexpected bugs easier and thus minimizing the
coverage holes.
Conventional verification involves driving the stimulus
through testbenches written in HDL like Verilog or VHDL, The inability of SV to support macros made it insufficient
which become tedious and inefficient for complex designs. to enable widespread adoption of the best-practice verification
System Verilog, the Hardware Desciption and Verification techniques that is why UVM was adopted. UVM is a standard
Language (HDVL) has extensive advancements over Verilog ized methodology for System-on-Chip functional verification
which provides several features to create a potential verifica that uses SV for creating components and transaction level
tion environment. A methodological approach for verification model (TLM) for interconnects between components. This
increases the efficiency and reduces the verification effort. In standardization allows users to implement verification modules
this paper, we use UVM, a SV based methodolgy to provide that are portable and highly compatible thereby enforcing
necessary infrastructure for creating a reusable, reliable and certain aspects of interoperability. It provides a rich base
robust verification environment. class library thus supporting the construction and deployment
2016 3rd International Conference on Advanced Computing and Communication Systems (ICACCS -2016), Jan. 22 & 23, 2016, Coimbatore, INDIA
II
Interface
" 1
Driver I
OUT
"
I
A. Sequencer
fork
w_add_channel(transaction_handle); //Write
address
w_data_channel(transaction_handle);
//Write data
w_resp_channel(transaction_handle);
//Write response
r_add_channel(transaction_handle); //Read
address;
r_data_channel(transaction_handle); //Read
data
join
Fig. 3: DUT
The design of testbench involves monitor which observes
the communication of the DUT with the testbench. It observes
the pin level transaction at the outputs of the DUT and stores
System-on-Chip (SoC) integration problem. This resulted into the database that can be used to return an error if the protocols
faster time-to-market for the end user [9]. are not met. The agent connects all these components together.
Here, the prediction of the DUT functionality is made in
Fig.3 shows the block level description of DUT. The
the monitor and the scoreboard is compares the predicted
SoCs today are mostly based on AMBA bus system. Recently,
response with the DUTs actual response. The instantiation and
AMBA AXI has gained significance in industries mainly due
connection of agent and scoreboard is done in the env class.
to the five independent channels that work concurrently to
achieve the performance constraints efficiently. So here we use
V I. RESULTS
an AMBA AXI Master interface to access the register space
of the IP, so that SGMII core with WB compatible interface Simulations are done in NCsim and waveforms are anal
can easily adhere to an AMBA bus environment. ysed using Simvision.
V. U V M FRAMEWORK
ACKNOWLEDGM ENT
REF ERENCES
is set in loopback mode, after autonegotiation, the data from [8] SGMII core, [Online]. Available: www.fpga-ipcores.com.
8-bit input interface i8_TxD is transferred out to 8-bit output [9] Wishbone Specification site, [Online]. Available:
data interface 08_RxD of GMII interface. www.opencores.org/downloads/wbspec b3.pdf.
VERIFICATION HIERARCHY
V II. CONCLUSION