• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Error in UVM code

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 36856
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in UVM code

sree205
sree205 over 8 years ago

Hi,

I'm getting the following error when running the UVM code present in the following location. There is a sequence_item example which is present.

www.verificationguide.com/.../uvm-sequence-item.html

When i run it with the following command,

ncvlog -sv -uvmaccess -incdir $UVM_HOME/src mem_seq_item_example.sv

i'm getting the following error.


Can someone suggest why i'm getting the error ? I'm not importing the uvm_pkg in the code coz i've used "-uvmaccess" in the command.


Error I got is :

ncvlog: 14.20-s009: (c) Copyright 1995-2015 Cadence Design Systems, Inc.
class mem_seq_item extends uvm_object;
                                                                     |
ncvlog: *E,SVNOTY (mem_seq_item_example.sv,12|36): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.


Suggestions are very much welcome.


~sree205.

  • Cancel
Parents
  • tpylant
    tpylant over 8 years ago
    Two things:

    1) You could extend mem_seq_item from "uvm_sequence_item" instead of "uvm_object".

    2) Add "-clean" to the irun command. It looks like you have a compilation of uvm_pkg from a previous run that is conflicting with this run.

    Tim
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tpylant
    tpylant over 8 years ago
    Two things:

    1) You could extend mem_seq_item from "uvm_sequence_item" instead of "uvm_object".

    2) Add "-clean" to the irun command. It looks like you have a compilation of uvm_pkg from a previous run that is conflicting with this run.

    Tim
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information