• 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/ncsim/ncvlog SystemVerilog support options

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 16262
  • 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/ncsim/ncvlog SystemVerilog support options

SimhanAnalog
SimhanAnalog over 9 years ago

I see the following options for SystemVerilog in irun/ncsim/ncvlog. Why are there two options for SV 2005 and 2009.

What option to use for the latest SystemVerilog 2012(IEEE 1800-2012 SystemVerilog) standard?

-SV -- Enable SystemVerilog features
-SYSV05 -- Enable SystemVerilog features with only SV-2005 and earlier keywords
-SYSV09 -- Enable SystemVerilog features with only SV-2009 and earlier keywords
-SYSV2005 -- Enable SystemVerilog features with only SV-2005 and earlier keywords
-SYSV2009 -- Enable SystemVerilog features with only SV-2009 and earlier keywords

  • Cancel
  • StephenH
    StephenH over 9 years ago
    Just use "-sv", the default is to parse according to the latest standard (2012).
    Note that if your files are named *.sv, then you do not need the -sv switch, irun figures it out for itself.
    Using -sv forces all Verilog files to be treated as SV, which may not be what you want.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SimhanAnalog
    SimhanAnalog over 9 years ago
    Thanks for the reply. I have my files as .sv only. So I am not using any switches. But when I run irun(version irun: 14.20-s033) I always get a warning. So I thought cadence supports SV 2005 by default and we need to use -sem2009 to use SV 2009 which by the warning suggests that it would be default in future release. But there is no mention of SV 2012 in the warning which made me wrongly conclude that cadence is yet to support SV 2012.

    ncsim: *W,WSEM2009: This SystemVerilog simulation was not run with the '-sem2009' option which provides 1800-2009 SystemVerilog simulation semantics. In future, '-sem2009' functionality will become the default for SystemVerilog environments. Until then, run your SystemVerilog simulations using the '-sem2009' option and report any functional or performance issues to Cadence. To disable this warning, use the '-nowarn WSEM2009' command-line option. There is no impact to non-SystemVerilog environments
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 9 years ago
    -sem2009 is a temporary switch in 14.20 that enables the 2009-onwards scheduling semantics, it has nothing to do with the language parsing itself.
    Without this switch the scheduling follows the 2005 semantics in Incisive 15.10 and older. This becomes the default from version 15.20.
    For more information, open the documentation tool:
    linux> cdnshelp -search "-sem2009"
    • 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