Beruflich Dokumente
Kultur Dokumente
Abstract—Not only design automation, but also testbench (TB) This paper explains the factors that need to be considered in
automation heavily affects design period, so that diverse TB the automation of SV UVM-based top-level verification
automation solutions have been developed and applied to the environment and eventually how to automatically generate
verifications ranging from IP level to top-level. Top-level 1.8M lines of TB. It will also show that not only the size of
verification environment is much more complex and big, DUT but also the size of TB impacts simulation performance
approximately 2M lines of code (LOC), so automatic generation and will show a simple TB management skill that could
of top-level TB is an inevitable process for competitive design enhance simulation performance by 50%.
period. This paper presents an experience of SV (SystemVerilog)
UVM (Universal Verification Methodology) TB automation on an
over 100M gate top level SoC design. Most of the TB, 88% of 2M II. TOP LEVEL UVM TESTBENCH OF SOC DESIGN
LOC except test scenarios and user codes, has been automatically
generated by the proposed automation solution. The automation
solution has strong flexibility and high level maintainability upon
frequent specification changes. Also, the configurable TB for
various DUTs resulted 50% simulation performance
enhancement.
I. INTRODUCTION
Fig 1. Testbench architecture
One of the problems in SOC verification area is that users
have many choices in verification language which are Verilog, 150M gate AP processor has multiple hierarchical buses
SystemVerilog, Vera, Specman e, and system C. More and various IPs which have tens to hundreds registers
complicated burden to the users is SystemVerilog and three configured by AXI. A verification environment for the AP
verification methodologies, OVM, VMM, and UVM, co- processor in Fig. 1 basically requires VIPs, register adapters
existing in this area. Mentor Graphics and Cadence support that convert generic register transaction into bus transaction
OVM and Synopsys and ARM is on the VMM. However, the [3], dozens of local verification environment, tens of thousands
standard organization, Accellera, announced UVM 1.0 and of register modeling, hundreds of test scenarios ranging from
UVM 1.1[1] in 2011, the battle for dominance seems likely to simple register access tests to complicated tests, and top
lean to UVM because many companies started to actively use module which instantiates DUT and TB.
UVM as a major SV verification methodology.
The Universal Verification Methodology (UVM) standard,
developed by Accellera's Verification IP (VIP) Technical
Subcommittee (TSC) [5], is available as a Class Reference
Manual accompanied by an open-source SystemVerilog base
class library implementation and a User Guide. The UVM
standard establishes a methodology to improve design and
verification efficiency, verification data portability and tool,
and VIP interoperability [2].
Generally, a verification environment consists of multiple
verification IPs (VIP) for various protocols, reference models
for expected data generation, scoreboard for data integrity, test
scenarios for various functionality, and scripts for maintenance
of simulation process. Unlike the IP-level verification
environment, which has the DUT less than a multi-million gate
design, a top-level verification environment requires more Fig 2. Ratio of top-level SoC TB
considerations when its DUT is over 100M gate SoC.
VI. 5()(5(1&(6
[1] Accellera, UVM 1.1 Reference Manual, 2011
Fig 6. Register model for configuration [2] Accellera, Universal Verification Methodology (UVM) 1.1 User ̉ s
Guide, 2011
Fig. 6 shows an example of configurable register model. [3] Sharon Rosenberg and Kathleen A Meade, ̌ A Practical Guide to
Only necessary verification environments for individual DUT Adopting the Universal Verification Methodology(UVM)̍, Cadence
are defined in configuration file. Out of tens of thousands of Desgin Systems, 2010
register instances, only thousands of register instances are [4] UVM 1.1 kit - includes UVM base class libraries - Free downloads -
www.uvmworld.org (choose Download)
included in each DUT. 50% simulation performance
[5] Accellera Organization Inc Verification Intellectual Property Technical
enhancement could be achieved with the configurable TB. Subcommittee.
http://www.accellera.org/activities/committees/vip
[6] Young-Nam Yun, “Beyond UVM for Practical SoC Verification”,
ISOCC, 2011
[7] http://template-toolkit.org/