Compiling UVM

Hi All,

I downloaded the uvm package (UVM 1.1 (tar.gz) - Accellera) form verification academy.

While trying to compile the uvm code + u_first.sv I see the following error.

Compile command used:

vlog -timescale “1ns/1ns” -mfcu -suppress 2181 +define+UVM_NO_DPI +acc=rmb +incdir+uvm/src uvm/src/uvm.sv u_first.sv

ERROR:

QuestaSim-64 vlog 6.5d Compiler 2009.11 Nov 18 2009
– Compiling package uvm_pkg
** Error: uvm/src/base/uvm_callback.svh(694): Failed to find name ‘get’ in specified scope
** Error: uvm/src/base/uvm_callback.svh(774): Failed to find name ‘get’ in specified scope
** Error: uvm/src/base/uvm_report_object.svh(273): Failed to find name ‘get’ in specified scope
** Error: uvm/src/base/uvm_phase.svh(649): Failed to find name ‘get’ in specified scope
** Error: uvm/src/base/uvm_phase.svh(659): Failed to find name ‘get_inst’ in specified scope

Could you please help.


While compiling ovm, the compile was very smooth.

Would like to understand for compiling uvm why the dpi stuff is needed why not for ovm.

KumarSunilB,

The OVM developers policy was to make sure that the source code was strictly written in SystemVerilog without requiring any C code. The UVM developers changed that policy and now contains certain functionality that can not be implemented in pure SystemVerilog source code (command line switches and hierarchical references via string pathnames). The UVM also has functions for string matching regular expressions that would be very inefficient to implement in SystemVerilog and are readily available in existing C libraries.

UVM 1.1 can be run on Questa 6.6e or greater. The current version of Questa is 10.0c and contains a precompiled version of UVM 1.1.

Dave