• 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 Design
  3. Refer to output expression by name, when name contains whitespaces...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 3954
  • 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

Refer to output expression by name, when name contains whitespaces and special characters

Volker T
Volker T over 1 year ago

Dear all,

IC6.1.4 and especially Virtuoso Studio 23.1 allows to name output expressions in ADE and then used those named output expressions in other expressions by simply using its name (reference by name).

Abritrary example:

Name: gain

Expression: VF("/net1")/VF("/net2")

Name: Output Amplitude

Expression: VF("/net3")*gain

Things get complicated when "Name" is a text containing whitespaces, like "Output Amplitude", and even worse, if special characters are involved (like "Gain at 20% bias current").

The first case still works in most cases, but in the latter case, the new output expression converts the name to "Gain at 0.2 bias current" (without quotes, of course), which is not the expression name any longer and hence fails.

Is there a way to safely refer to output expressions that are named by text containing whitespaces and/or special characters?

Simply putting the name between single or double quotes or parentheses does not work.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Use calcVal("Name with spaces"), and that should work. You can omit the second argument (the test name) if it's referring to the same test.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Volker T
    Volker T over 1 year ago in reply to Andrew Beckett

    Dear Andrew,

    yes, that works! Thank you very much!

    • 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