Hi,
This is the first time I am running an OVM test case using questasim. I see the below error when running the vlog command :
qvlog +incdir+$OVM_HOME/src+incdir+.$OVM_HOME/src/ovm_pkg.sv -f filelist +OVM_TESTNAME=test1
###############
rning: /tools/apps/mentor/questasim_10.2a/questasim/verilog_src/ovm-2.1.2/src/base/ovm_component.sv(1397): (vlog-2283) Extra semicolon in $unit (global) scope.
** Warning: /tools/apps/mentor/questasim_10.2a/questasim/verilog_src/ovm-2.1.2/src/methodology/sequences/ovm_sequencer.svh(600): (vlog-2283) Extra semicolon in $unit (global) scope.
** Warning: /tools/apps/mentor/questasim_10.2a/questasim/verilog_src/ovm-2.1.2/src/methodology/sequences/ovm_sequence.svh(150): (vlog-2283) Extra semicolon in $unit (global) scope.
– Compiling package top_sv_unit
– Importing package ovm_pkg (ovm-2.1.2 Built-in)
– Compiling module top
** Error: driver.sv(10): near “ovm_driver”: syntax error, unexpected IDENTIFIER
** Error: driver.sv(10): Error in class extension specification.
** Error: monitor.sv(19): near “ovm_monitor”: syntax error, unexpected IDENTIFIER
** Error: monitor.sv(19): Error in class extension specification.
** Error: agent.sv(28): near “ovm_agent”: syntax error, unexpected IDENTIFIER
** Error: agent.sv(28): Error in class extension specification.
** Error: env.sv(38): near “ovm_env”: syntax error, unexpected IDENTIFIER
** Error: env.sv(38): Error in class extension specification.
** Error: test.sv(47): near “ovm_test”: syntax error, unexpected IDENTIFIER
** Error: test.sv(47): Error in class extension specification.
##################################
The test case I am running is obtained from:
WWW.TESTBENCH.IN - OVM Tutorial (ovm_phases.tar)
Could you please guide me on how to get around these errors.
Appreciate a quick response
Regards,
Sandhya