Jump to content
Sign in to follow this  
swapnilm

What are the differences between UVM 1.1a ; UVM 1.1b and UVM 1.1c ?

Recommended Posts

Thanks for your reply sir. Can you tell me any code built by using any version of UVM library can work fine with any other/lower versions of UVM library? Or does it give compilation error? Can you also give me some guidance about the commands to run a ready to go example? I am trying to compile an example from systemverilog.in (UVM example) using questasim 10.0b. But it is giving me lots n lots of compilation error. Please guide me.

Thanks in advance sir.

Share this post


Link to post
Share on other sites

Dear Sir,

I already emailed systemverilog.in people but didnt receive any response yet. Besides I am not able to register in their forum as well, some kind of link issue, I guess. I compiled the UVM package but I m still getting lots of errors when I compile individual .sv files. Please find below the errors I am getting. Thanks a lot in advance.

Errors are below:-

do run_questa

# QuestaSim vlog 10.0b Compiler 2011.05 May 5 2011

# -- Compiling package uvm_pkg (uvm-1.0p1 Built-in)

# -- Compiling module vending

# -- Compiling module ven_top

# ** Error: ven_xactr.sv(2): near "uvm_sequence_item": syntax error, unexpected IDENTIFIER

# ** Error: ven_xactr.sv(2): Error in class extension specification.

# ** Error: ven_xactr.sv(11): Syntax error: 'uvm_object_registry' is not a type.

# ** Error: ven_xactr.sv(11): (vlog-2294) The 'var' keyword is missing.

# ** Error: ven_xactr.sv(11): (vlog-2164) Class or package 'type_id' not found.

# ** Error: ven_xactr.sv(11): (vlog-2164) Class or package 'type_id' not found.

# ** Error: ven_xactr.sv(11): near "=": syntax error, unexpected '='

# ** Error: ven_xactr.sv(11): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(11): Illegal use of 'automatic' for variable declaration (local_data__).

# ** Error: ven_xactr.sv(11): Illegal use of 'automatic' for variable declaration (string_aa_key).

# ** Error: ven_xactr.sv(11): near "__m_uvm_field_automa": syntax error, unexpected IDENTIFIER, expecting TYPE_IDENTIFIER

# ** Error: ven_xactr.sv(11): Illegal use of 'automatic' for variable declaration (tmp_data__).

# ** Error: ven_xactr.sv(11): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (what__).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_CHECK_FIELDS).

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_COPY).

# ** Error: ven_xactr.sv(12): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NOCOPY).

# ** Error: ven_xactr.sv(12): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_COMPARE).

# ** Error: ven_xactr.sv(12): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NOCOMPARE).

# ** Error: ven_xactr.sv(12): near "void": syntax error, unexpected void

# ** Error: ven_xactr.sv(12): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_PACK).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NOPACK).

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_UNPACK).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NOPACK).

# ** Error: ven_xactr.sv(12): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_RECORD).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NORECORD).

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_PRINT).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NOPRINT).

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_SETINT).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (matched).

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_READONLY).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_NONE).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (str__).

# ** Error: ven_xactr.sv(12): Illegal use of 'automatic' for variable declaration (UVM_LOW).

# ** Error: ven_xactr.sv(12): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(12): (vlog-2164) Class or package 'uvm_object' not found.

# ** Error: ven_xactr.sv(12): (vlog-2164) Class or package 'uvm_object' not found.

# ** Error: ven_xactr.sv(12): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (what__).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_CHECK_FIELDS).

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_COPY).

# ** Error: ven_xactr.sv(13): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NOCOPY).

# ** Error: ven_xactr.sv(13): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_COMPARE).

# ** Error: ven_xactr.sv(13): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NOCOMPARE).

# ** Error: ven_xactr.sv(13): near "void": syntax error, unexpected void

# ** Error: ven_xactr.sv(13): near "return": syntax error, unexpected return

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_PACK).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NOPACK).

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_UNPACK).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NOPACK).

# ** Error: ven_xactr.sv(13): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_RECORD).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NORECORD).

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_PRINT).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NOPRINT).

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_SETINT).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (matched).

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_ALL_ON).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_READONLY).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_NONE).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (str__).

# ** Error: ven_xactr.sv(13): Illegal use of 'automatic' for variable declaration (UVM_LOW).

# ** Error: ven_xactr.sv(13): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(13): (vlog-2164) Class or package 'uvm_object' not found.

# ** Error: ven_xactr.sv(13): (vlog-2164) Class or package 'uvm_object' not found.

# ** Error: ven_xactr.sv(13): near ".": syntax error, unexpected '.', expecting IDENTIFIER or TYPE_IDENTIFIER or '#' or '('

# ** Error: ven_xactr.sv(14): near "endfunction": syntax error, unexpected endfunction

# ** Error: ven_xactr.sv(17): near "new": syntax error, unexpected new, expecting TYPE_IDENTIFIER

# ** Error: ven_drv.sv(4): (vlog-60) Nested class declarations not yet supported.

# ** Error: ven_drv.sv(4): near "uvm_driver": syntax error, unexpected IDENTIFIER

# ** Error: ven_drv.sv(4): Error in class extension specification.

# ** Error: ven_drv.sv(8): Invalid type 'xctor'. Please check the type of the variable 'req'.

# ** Error: ven_drv.sv(10): Syntax error: 'uvm_component_registry' is not a type.

# ** Error: ven_drv.sv(10): (vlog-2294) The 'var' keyword is missing.

# ** Error: ven_drv.sv(15): near "i_f": syntax error, unexpected IDENTIFIER, expecting TYPE_IDENTIFIER

# ** Error: ven_drv.sv(34): near "(": syntax error, unexpected '(', expecting IDENTIFIER or TYPE_IDENTIFIER

# ** Error: ven_drv.sv(35): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER

# ** Error: ven_drv.sv(36): near "=": syntax error, unexpected '=', expecting IDENTIFIER or TYPE_IDENTIFIER

# ** Error: ven_drv.sv(41): near "(": syntax error, unexpected '(', expecting IDENTIFIER or TYPE_IDENTIFIER

# ** Error: ven_drv.sv(57): near "new": syntax error, unexpected new, expecting TYPE_IDENTIFIER

# ** Error: ven_mon.sv(6): (vlog-LRM-2400) Identifier ('uvm_component') found where a type or type identifier is required.

# ** Error: ven_mon.sv(7): near "new": syntax error, unexpected new, expecting TYPE_IDENTIFIER

# ** Error: ven_mon.sv(10): (vlog-2294) The 'var' keyword is missing.

# ** Error: ven_mon.sv(13): near "m_if": syntax error, unexpected IDENTIFIER, expecting TYPE_IDENTIFIER

# ** Error: ven_seq.sv(5): Function 'new' is allowed only in context of class constructor.

# ** Error: ven_seq.sv(5): 'name' already declared in this scope (new).

# ** Error: ven_seq.sv(5): Verilog Compiler exiting

# ** Error: C:/questasim_10.0b/win32/vlog failed.

# Error in macro ./run_questa line 3

# C:/questasim_10.0b/win32/vlog failed.

# while executing

# "vlog -f compile_questa_sv.f"

Regards,

Swapnil

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×