What steps i need to follow to make UVM code to get simulated in Questasim.
I found uvm1.1c library available at tool installed path but it is not getting compiled.
Do i need to pass any switch to vlog command.
Iam getting errors as below:
vlog -sv top.sv
** Error: top.sv(1): Cannot open `include file "/tools/qsim-10.3d/ovm-2.1.2/../verilog_src/ovm-2.1.2/src/uvm_pkg.sv".
-- Compiling module top
-- Importing package uvm_pkg (uvm-1.1d Built-in)
** Error: top.sv(5): (vlog-2163) Macro `uvm_component_utils is undefined.
** Error: top.sv(5): near "(": syntax error, unexpected '(', expecting function or task
** Error: top.sv(7): near "new": syntax error, unexpected new, expecting TYPE_IDENTIFIER
** Error: top.sv(11): (vlog-2163) Macro `uvm_info is undefined.
** Error: top.sv(15): (vlog-2163) Macro `uvm_info is undefined.
** Error: top.sv(17): near "end": syntax error, unexpected end
End time: 18:46:32 on Aug 17,2015, Elapsed time: 0:00:00
I can see it is pointing to OVM Library but someone should help me to select the switch to pass UVM Library.
Thanks
Bharath