• 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. SVPP searches for `include[d] files even if it's turned...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 66
  • Views 949
  • 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

SVPP searches for `include[d] files even if it's turned off by conditional macros (`ifdef's)

Main
Main over 16 years ago

Hello,

 

I encounter a really strange behavior when compiling with svpp (-ovm). When I turn this switch on, compilation fails since

the compiler search unexisted `include files (which are shut off by `ifdefs)

it turns out that svpp still search for location of `include files no matter if they are disbled by ifdef contional MAcros.

When I compile without the svpp (-ovm) the compilation passes.

I really don't know what to do becuase I want to add OVM testbenches to the Environment but when I use the -ovm, compilation fails.

Does anyone ever faced this problem??

I would a appreciate some help very much.

Thanks

  • Cancel
Parents
  • MayaM
    MayaM over 16 years ago

    Hi,

    This is a known bug in IUS and since in IUS 8.2 parameterized type are supported,  the svpp will not extended anymore. Following is suggested workaround :

    A workaround is to have `ifndef SVPP around your own directives

    For example:
    ---- test.sv-----
    module test;
    `ifndef SVPP  //<== workaround
    `ifdef FOO
       `include "bogus.v"
    `else
       `include "good.v"
    `endif
    `endif //<== workaround
    endmodule
    ----------------

    This will turn off any -svpp processing of the items enclosed in the `ifndef SVPP block. 

    Best regards,

    Maya

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • MayaM
    MayaM over 16 years ago

    Hi,

    This is a known bug in IUS and since in IUS 8.2 parameterized type are supported,  the svpp will not extended anymore. Following is suggested workaround :

    A workaround is to have `ifndef SVPP around your own directives

    For example:
    ---- test.sv-----
    module test;
    `ifndef SVPP  //<== workaround
    `ifdef FOO
       `include "bogus.v"
    `else
       `include "good.v"
    `endif
    `endif //<== workaround
    endmodule
    ----------------

    This will turn off any -svpp processing of the items enclosed in the `ifndef SVPP block. 

    Best regards,

    Maya

    • 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