Jump to content

Recommended Posts

Posted

Hi All,

I am using VCS Version F-2011.12.

While compiling uvm-1.1c package, I am getting compilation in some of the macro files.

Error comes in next line where single line comment is present (in between the definition of `define)

E.g.

File: $UVM_PKG_PATH/uvm-1.1c/src/macros/uvm_object_defines.svh

1. `define uvm_field_utils_end \

2. if(what__ inside {UVM_SETINT,UVM_SETSTR,UVM_SETOBJ}) begin \

3. // remove all scopes recorded (through super and other objects visited before) \

4. void'(__current_scopes.pop_back()); \

5. __m_uvm_status_container.m_uvm_cycle_scopes = __current_scopes; \

6. end \

7. end \

8. endfunction

Because of single line comment at line 3 (mentioned in above code), Error comes in line 4.

I changed all such comment in required files with multi-line comment and addtional space before backslash.

Line 3 after change:

3. /* remove all scopes recorded (through super and other objects visited before) */ \

Compilation is through with this change. Please let me know if there is any other option to get rid of such issues.

Thanks and Regards

Peer Mohammed

  • 3 weeks later...
Posted

Hi Peer Mohammed ,

I don't remember which version that I have, but I don't remember having this problem. Do you have the latest release/patches from your vendor? I think that the single line comment is legal per the SystemVerilog LRM.

Best Regards

Peter

Posted

Hi Peter,

I am using VCS Version F-2011.12.

I downloaded UVM package from Accelara site: UVM version uvm-1.1c.

When I compile this package using VCS tool. I get such error.

Regards

Peer Mohammed

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...