• 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. Problem compiling FVSVOVM Xbar package

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 65
  • Views 16941
  • 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

Problem compiling FVSVOVM Xbar package

archive
archive over 15 years ago

Hi,

I'm trying to use irun to compile the Xbar package that accompanies the book Step-by-Step Functional Verification with SystemVerilog and OVM.  I get the following error, and I don't know what the real problem is.  The file testbench.sv includes testbench.svh, which then simply includes ovm.svh.

Has anyone encountered this and know how to resolve it?  Thanks for your help in advance.

 

======

file: sv/testbench.sv
typedef class ovm_test_done;
                          |
ncvlog: *E,TYDMSC (./INCA_libs/irun.lnx86.09.20.nc/svpplib/specials/ovm_object_registry_ovm_test_done_objection_ovm_test_done.svi,17|26): The class specified in the typedef was never declared.
ovm_test_done_objection ovm_test_done = ovm_test_done_objection::get();
                                    |
ncvlog: *E,DUPIDN (/home/eng/peterlu/ovm-2.1/src/base/ovm_globals.svh,51|36): identifier 'ovm_test_done' previously declared [12.5(IEEE)].
        module worklib.xbar_test_launcher:sv
                errors: 2, warnings: 0
irun: *E,VLGERR: An error occurred during parsing.  Review the log file for errors with the code *E and fix those identified problems to proceed.  Exiting with code (status 1).

  • Cancel
Parents
  • archive
    archive over 15 years ago

    Hi,

    Thank you very much.  Indeed, -svpp was what caused the problem.  I removed it from the irun.f file and everything just works

    BTW,  would you know what the Cadence interactive debugger is called and where I would find documentation on it?  Thanks again in advance.

     PL

    ===

    user@drp2:~/FVSVOVM/examples/XBar/class_based 84> cat run.csh

    irun -f irun.f sv/testbench.sv

    user@drp2:~/FVSVOVM/examples/XBar/class_based 85> cat irun.f.orig
    +incdir+.
    +incdir+$OVM_HOME/src
    +incdir+../xbar/
    +incdir+sv/
    -nowarn PMBDVX
    -svpp
    -LINEDEBUG

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 15 years ago

    Hi,

    Thank you very much.  Indeed, -svpp was what caused the problem.  I removed it from the irun.f file and everything just works

    BTW,  would you know what the Cadence interactive debugger is called and where I would find documentation on it?  Thanks again in advance.

     PL

    ===

    user@drp2:~/FVSVOVM/examples/XBar/class_based 84> cat run.csh

    irun -f irun.f sv/testbench.sv

    user@drp2:~/FVSVOVM/examples/XBar/class_based 85> cat irun.f.orig
    +incdir+.
    +incdir+$OVM_HOME/src
    +incdir+../xbar/
    +incdir+sv/
    -nowarn PMBDVX
    -svpp
    -LINEDEBUG

    • 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