• 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. Custom IC SKILL
  3. Can I use strcat() in .cdsenv file?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13888
  • 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

Can I use strcat() in .cdsenv file?

akumar2886
akumar2886 over 10 years ago

If I use the following in the .cdsenv file, the tool throws an error that only string is allowed for the value -

adexl.gui defaultCorners string strcat( getShellEnvVar("TCHWORKSPACEROOT") "/env/defaultADEXLcorners.sdb")

What is the alternative? 

It works with envSetVal() in .cdsinit but I want to set this through .cdsenv. 

Thanks!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    You cannot use strcat() (i.e. SKILL) in a file that is not SKILL syntax.

    The workaround is to use envSetVal() in the .cdsinit. That's it, sorry. You can't use a value of "$TCHWORKSPACEROOT/env/defaultADEXLcorners.sdb" either because ADE XL doesn't expect there to be embedded UNIX environment variables in the value of this cdsenv.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • akumar2886
    akumar2886 over 10 years ago

    Thank you, Andrew !

    • 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