swapnilm Posted January 18, 2013 Report Posted January 18, 2013 Can some one plz clarify the difference between UVM 1.1a ; UVM 1.1b and UVM 1.1c ? Thanks in advance. Quote
SeanChou Posted January 21, 2013 Report Posted January 21, 2013 mainly for bug fixed for 1.1, should be transparent to users. http://www.accellera.org/downloads/standards/uvm/uvm-1.1c_release-notes.txt Quote
swapnilm Posted January 22, 2013 Author Report Posted January 22, 2013 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. Quote
dave_59 Posted January 22, 2013 Report Posted January 22, 2013 Please guide us into what kind of errors you are having. Better yet, why not ask on the systemverilog.in forum? Quote
swapnilm Posted January 22, 2013 Author Report Posted January 22, 2013 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.