Sunteți pe pagina 1din 5

2017 2nd International Conference on Integrated Circuits and Microsystems

A Unique Centralized-Management Methodology Block/Architecture and a Novel


Random Input Stimulus Controlled Variable Table Implementation for the Latest
Marvell Ethernet PHY UVM Verification Platform

Peter Wang
Marvell Semiconductor Inc.
5488 Marvell Lane, Santa Clara, USA
e-mail: peterw@marvell.com

Abstract—More than eighty different test environments need to x all the different Ethernet protocols and interfaces
be created and maintained for debugging the Marvell Ethernet such as MII, GMII, XGMII, X25GMII,XLGMII,
PHY chip if the traditional industrial verification methodology CGMII and others;
is being used. This can easily incite very complicated
debugging procedures and cause the problems and concerns of
x all different clocks frequency setting and SERDES
a multitude of engineering resources. interface lane numbers from 1, 2, 4 to 8, 16 lanes;
The latest Marvell Ethernet PHY IC UVM verification x all different registers setting for different test
platform integrating with the Marvell selected IP vendor’s modes through MDIO registers programming
UVM library has been developed. A unique centralized- This makes the total different combined test scenarios
management methology block/architecture idea is brought in very complicated and it may need to create more than eighty
to build this UVM verification platform for the latest Marvell different test cases to cover all the features. Because each test
Ethernet PHY integrated circuit. All the eighty different test mode works with a different speed, clock frequency,
modes can be tested and verified in the same single UVM interface connection, SERDES interface lane numbers, and
platform environment. each test mode has different working settings, including the
This UVM verification platform environment significantly MDIO registers programming setting, more than eighty
reduces the number of engineering resources needed to create different test scenarios environments need to be created,
and maintain the test cases. It also greatly saves debugging
maintained, and supported to fully cover all of these different
time and reduces chip development time.
In the meanwhile, a novel random input stimulus
test features if using the current traditional industrial IC
controlled variables table idea is also implemented in this verification methodology.
UVM verification platform to manage and improve the Marvell actually did the verification environment work
function coverage much more easily and efficiently. for its previous Ethernet PHY chips using the traditional
industrial IC verification methodology. The verification work
Keywords-Marvell Ethernet PHY; integrated circuit was very laborious and the eighty different test scenarios
verification; UVM; UVM verification platform; systemverilog environments were difficult to maintain and debug.
testbench; RTL; code coverage; function coverage A unique centralized-management methodology block
architecture is presented and implemented for the latest
I. INTRODUCTION Marvell Ethernet PHY IC verification platform with the
integration of Marvell selected IP vendor’s UVM library. All
This paper presents a unique centralized management the eighty different test modes can be tested and verified in
methodology/block architecture which is used for the latest the same single UVM platform environment.
Marvell Ethernet PHY integrated circuit verification By adopting this platform, we can not only finish the full
platform. It also presents a novel random input stimulus functional verification for our latest Ethernet PHY IC more
controlled variable table implementation for the same UVM efficiently, but also maintain all the test scenarios in the same
verification platform to manage and improve the function single environment more easily and shorten the entire
coverage much more easily and efficiently. development period of our production.
Both of the unique centralized-management methodology, Function coverage is also another important
block/architecture, operational principles [1] and the novel measurement criterion for the Marvell Ethernet PHY
random input stimulus controlled variable table concept [2] integrated circuit UVM verification platform. While the
have been integrated with Marvell selected IP Vendor’s traditional random variables generation randomly and
UVM library to successfully build an Ethernet PHY UVM- uncontrollably distributes in all the different sequences inside
based integrated circuit verification platform for the latest the verification platform, this novel random input stimulus
Marvell Ethernet PHY chip tape-out. control variables table idea is presented and brought into this
The latest Marvell Ethernet PHY IC needs to support integrated circuit UVM verification platform to manage and
x different speeds from 100M, 1G, 2.5G, 5G, 10G, improve the function coverage much more easily and
25G, 40G, 50G to 100G, 200G; efficiently. After integration with the Marvell selected IP

978-1-5386-3506-3/17/$31.00 ©2017 IEEE 


vendor’s Ethernet UVM library code coverage and function IP vendor’s Ethernet UVM library provides the MAC/PHY
coverage working flow, the function coverage of this UVM BFM module, Ethernet protocol checker, clock module,
verification platform can be much more easily traced, scoreboard module and UVM agents which can be selected
monitored, and improved based on the different random and integrated into this Marvell Ethernet PHY verification
input stimuli in the random input controlled variables table. platform to minimize the Marvell engineers’ development
In this technical paper, the scheme of the centralized- time. The Marvell selected IP vendor’s Ethernet UVM
management methodology, block/architecture, the operating library allows the quick verification platform build to meet
principles, and the random input stimulus controlled the tight chip delivery schedule.
variables table concept are introduced, and the UVM Since this latest Marvell Ethernet PHY integrated circuit
verification platform environment, which implements this needs to support
centralized-management block, and a random input stimulus x different speeds from 100M, 1G, 2.5G, 5G, 10G,
controlled variable table are illustrated. 25G, 40G, 50G to 100G, 200G;
x all the different Ethernet protocols and interfaces
II. THE CENTRALIZED-MANAGEMENT METHODOLOGY
such as MII, GMII, XGMII, X25GMII,XLGMII,
BLOCK /ARCHITECTURE FOR THE MARVELL ETHERNET PHY
CGMII and others;
UVM VERIFICATION PLATFORM INTEGRATING WITH THE
MARVELL SELECTED IP VENDOR’S ETHERNET UVM x all different clock frequency and SERDES
LIBRARY interface lane numbers from 1, 2, 4 to 8, 16 lanes,
Based on the different test scenarios, the clock setting,
A. Marvell Ethernet PHY UVM Verification Block lane numbers, interface connection and MDIO registers
Diagram program for each test mode can be completely different. If
using the traditional verification methodology to build this
Fig. 1 in this paper presents the Marvell Ethernet PHY integrated circuit verification environment, more than eighty
integrated circuit UVM verification platform diagram. The different verification environments need to be created and
Ethernet PHY DUT has the host and line interface as the maintained to support all the chip features. This can easily
main PHY link interfaces. The Ethernet sequence in this make the environment creating, maintaining and debugging
UVM test platform controls the random packets generation workload very heavy and difficult.
through the MAC-PHY interface. The transmitting and
receiving packets can be passed to the scoreboard and be B. A Unique Centralized-Management Methodology Block
checked and compared on the scoreboard to give the packets Architecture Implementation
data match/mismatch information. The Ethernet protocol A unique centralized-management methodology block
checkers are also built into the platform to monitor and architecture was presented and implemented in the latest
report the Ethernet protocol violation through the assertion Marvell Ethernet PHY integrated circuit verification
methodology when the errors are hit in the simulation. platform.

Figure 1. Marvell Ethernet PHY UVM integrated circuit verification


platform diagram.

Marvell selects its own IP vendor for providing the


Ethernet UVM library to build the verification platform. The Figure 2. Centralized-management operational policy.


Fig. 2 here in this paper presents the idea of a centralized- 100% function coverage in the Marvell Ethernet PHY
management operational policy. It has one centralized- integrated circuit verification platform is required for the
management block sitting on the top-level environment to verification regression test.
manage, monitor, and sync up the detailed operation between During the regression test, when a certain conditions of
each class/agent in the UVM environment. The centralized- cover points hit, those bins are covered and give the
management block also automatically manages the verification team the measurement of verification progress.
information communication between each agent in the UVM After executing all the test cases in the regression test, a
environment from the top-level. With the implementation of coverage report can be generated to analyze the functional
this centralized-management methodology/block architecture, coverage report and a detailed chip test plan can be made to
the different clocking setting, interface connection, SERDES cover up the holes which bins (conditions) were not hit in the
interface lane numbers, and the registers programming final chip regression test.
through MDIO serial port for each different test scenario can The number of cover points can be collected and
be detected, loaded and set-up automatically in the combined together under one “cover group”, and the
environment. With the application of this unique centralized- collection of multiple cover groups is usually called the
management operational policy and architecture, all the “functional coverage model” in the UVM verification
environment.
eighty different test scenario modes can be tested and
verified in the same UVM universal platform when the auto- B. Implement a Novel Random Input Stimulus Controlled
detection function and controlling function for different test Variables Table to Manage and Improve the Function
modes switching are turned on. Coverage Much More Easily and Efficiently
III. BRINGING IN RANDOM INPUT STIMULUS CONTROLLED The randomization of verification methodology enables
VARIABLE TABLE TO THE MARVELL ETHERNET PHY
the verification environment to automatically generate the
random input stimulus for function coverage.
VERIFICATION PLATFORM TO MANAGE AND IMPROVE THE
In the generic UVM environment, the stimulus variables
FUNCTION COVERAGE
are randomly and uncontrollably distributed in each agent or
sequence generation class.
A. Function Coverage in the Marvell Ethernet PHY
Integrated Circuit UVM Verification Platform
Function coverage is the measurement of how much
design functionality has been exercised and covered by the
UVM verification platform, which is defined in the form of a
functional coverage model.
In the UVM verification environment, the user defines
the mappings for each functional feature which need to be
tested and verified to be “cover points”. These cover points,
which are used in the verification platform environment,
usually have certain conditions defined by the integrated
circuit verification team based on the chip design
specification. The cover points can include conditions such
as ranges, defined transitions, cross boundaries, etc. to
complete in the simulation. All these conditions for a cover
point are defined in the form of “bin” in the coverage group.

Figure 4. Random input stimulus controlled variables table in XLS format


for the Marvell Ethernet PHY integrated circuit verification platform.

In this latest Marvell Ethernet PHY integrated circuit


UVM verification platform, a novel random input stimulus
controlled variables table idea has been brought in and
implemented to map the excel format specification table into
Figure 3. Built functional coverage model for the Marvell Ethernet PHY the UVM random controlled input stimulus variables table
verification platform. code in the top-level class or module.


Since this random input stimulus controlled variables
table only needs to be implemented in the top-level class or
module, it can easily and flexibly sync up and control all the
stimulus variables which have been randomly distributed in
every agent and sequence from the top-level through this
table. With the control setting change of this random input
stimulus controlled variable table, the function coverage can
be much more easily managed and improved from the top-
level in the chip regression test. The random input stimulus
controlled variables table can also been easily managed by
RTL modules design engineers and verification managers to
collect and combine every single idea from designers or
verification engineers about all of the pontential possibilities
of random variables which should be added or covered in the
verification platform.

Figure 6. Function coverage report for the Marvell Ethernet PHY


integrated circuit verification platform.

IV. SUMMARY
A unique centralized management methodology, block
architecture, operational principles and a novel random input
stimulus controlled variables table concept have been
successfully implemented and integrated with Marvell
selected IP vendor’s Ethernet UVM library in the latest
Marvell Ethernet PHY IC UVM verification platform.
The latest Marvell Ethernet PHY integrated circuit
UVM verification platform has the following features:
x Centralized-management methodology, block/
architecture, operational principles built in to sync
up all 80 different test scenario modes
x Novel random input stimulus controlled variable
table built in to manage and improve the function
coverage
Figure 5. Random frame generation by the controlling of random input x SystemVerilog UVM environment integrating with
stimulus controlled variables table. the Marvell selected IP vendor’s UVM Ethernet
library
Through the controlling of random frame type, random x All eighty test modes/scenarios are supported in
data frame, random control frame, ip4, ip6 frame, random one single UVM platform environment
packet address, random packet length, random frame header, x Complete function coverage features built in
random frame gap and other variables, the test scenario case
x Reduced simulation time and regression test time,
can be eaily changed and re-configured to improve the
function coverage without detailed knowledge of each UVM which saves development time to meet tight
agent, sequence, or class from the Marvell selected IP schedule
vendor’s Ethernet library, where all the stimulus variables ACKNOWLEDGMENT
are randomly and uncontrollably distributed inside and made
it difficult to trace by the library users. The holes which the Thanks to Marvell selected IP vendor’s AE team for
random setting or range hasn’t hit can also be easily found supporting Marvell UVM verification platform build work.
by designers and verification managers and can be easily
improved to be covered up in the new tests after the REFERENCES
comparing and checking of random stimulus controlled [1] Peter Wang, "A new centralization-managed universal verification
platform architecture and methodology for the Ethernet PHY chip
variables table input with the simulation results in the verification”, the pending patent(IDF 10304) submitted through
regression test. Marvell Intellectual Property patents application channel, 2017


[2] Peter Wang, " implement a novel random input stimulus controlled patent(IDF 10375) submitted through Marvell Intellectual Property
variables table into the UVM verification platform to manage and patents application channel, 2017.
improve the Ethernet PHY chip function coverage”, the pending



S-ar putea să vă placă și