• 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. Dereferencing named output expresisons / Ouput Expression...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 3467
  • 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

Dereferencing named output expresisons / Ouput Expression indirection

Volker T
Volker T over 1 year ago

Dear all,

in an ADE Explorer session, I use named output expressions, like

Name   Details

tspl       cross(<something>)

Assume I have access to the results data base by SKILL code, and specifically the output expressions as used in the ADE session, in the following example represented by object "output" for one of these output expressions.

Now I would like to use the output expression to calclulate its result. For simple, atomic expressions, this works fine.

Example:

output->name

> tspl

output->expression

> cross(<something>)

eval(output->expression)

> 0.0001

So far, so good (apart from the fact that usage of the eval() function is discouraged and there is probably a better way to evaluate the expression - if so, please let me know). However, this is not the point here.

The problem arises when I use "nested" named output expressions. Assume, I want to use named output expression "tspl" to now sample a waveform at the calculated time point.

In ADE, I define

Name   Details

vspl    value(<waveform> tspl)

Thereby, I have a named output expression that depends on another named output expression. This is what I mean with "nested" named output expressions.

Now, the simple call to eval() fails, because it cannot dereference variable name "tspl" by itself:

eval(vspl)

> *Error* eval: unbound variable - tspl

What I need is a function that creates an atomic expression by first dereferencing all named output expressions followed by evaluation of the resolved atomic output expression.

Does anyone know how to do this (or how to calculate (nested) named output expressions of an ADE session by SKILL in a more elegant way?

Thank you very much.

  • 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