• 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. Mixed-Signal Design
  3. Are there predefined macros in XCELIUM (e.g. to be used...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 64
  • Views 1407
  • 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

Are there predefined macros in XCELIUM (e.g. to be used with 'ifdef )

HoWei
HoWei over 2 years ago

To write portable SV code (to be used with other vendors tools such as Synopsys or Mentor), I need to add an " 'ifdef 'else  " condition in order to include tool-dependent packages such as "cds_rnm_pkg::*".

I just learned that there is a default macro "XCELIUM" which can be used (and for the Synopys tool for example there is "VCS" defined):

'ifdef XCELIUM

   ...import Cadence packages ...

'elsif VCS

  ...import SNPS packages ...

'endif

1) Now I am wondering what other predefined macros are available, since i did not find this information when searching the XCELIUM user guide or on the Cadence website ?

2) Is there a more generic definition than "XCELIUM" available to indicate the Cadence tool-usage ? Because when the tool-name is changing (e.g. from INNOVUS to XCELIUM to ABCDEF)  then I would need to modify the code manually everytime.

  • 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