• 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. Irun not accepted systemverilog macro

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 6512
  • 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

Irun not accepted systemverilog macro

vvgulyaev
vvgulyaev over 10 years ago

I try to define macro

`define MY_MACRO(par1, par2 = 0)

If i use irun version 08, in console outputs error:

`define MY_MACRO(par1, par2=0) | ncvlog: *E,EXPRPP (trunk/testbench/include/test_macro.svh,6|27): expecting a right parenthesis to close the formal arguments to a macro [16.3.1(IEEE)].

If I use irun version 11 everything is ok.

irun version 8 is not supported constructions with default arguments values in macro?

  • Cancel
  • StephenH
    StephenH over 10 years ago

    That version of Incisive is extremely old and is no longer supported. You haven't posted your complete macro so it's impossible to say why it won't compile in that version.

    I strongly recommend that you move to a supported version (Incisive 14.10 or 14.20), apart from being able to get help for these versions you will find the SV support is much better in these versions.

    It would be a good idea to register yourself at http://support.cadence.com/ as well, so that you can browse the solution notes and use the self-service help system.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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