• 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. ADE: Use of nested design variables in output expressio...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 16302
  • 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

ADE: Use of nested design variables in output expressions

sommer
sommer over 8 years ago

Hello,


I have defined the following design variables: (for sake of clarity I use the OCEAN syntax)

desVar(      "fin" 400M    )
desVar(      "Tin" "(1/VAR(\"fin\"))"    )
desVar(      "simTime" "500*VAR(\"Tin\")"    )

Now I try to plot an eye diagram using:

EYE = eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") ((2 * VAR("Tin"))))

#

#

it does not work. I get the following error message:

sevPlotAllOutputs('sevSession13)

*Error* ("eval" 0 t nil ("*Error* eval: not a function" (2 * VAR("Tin"))))

ERROR (ADE-1057): Could not evaluate expression

Name:'EYE'

Expression:'eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") ((2 * VAR("Tin"))))'

because of the following error(s)

("eval" 0 t nil ("*Error* eval: not a function" (2 * VAR("Tin"))))

Ensure that the definition of the expression is correct.

#

#

#

When I use only the variable "fin" in my expression, the plot succeeds:

EYE_EXPLICIT = eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 ((500 * 1) / VAR("fin")) ((2 * 1) / VAR("fin")))

Is there a way to use the nested variables in the output expressions?

In my simulation setup for the tran simulation I can use nested variables:

analysis('tran ?stop "1*VAR(\"simTime\")"  )

we work with IC6.1.6-64b.500.8

Best regards

Hans

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hans,

    This is not because of the nested variable references, but due to the fact that SKILL (which what your expression is) doesn't like duplicate matched parentheses. These confuse the parser where it is trying to determine whether it should use C-like or Lisp-like expressions:

    eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") ((2 * VAR("Tin"))))

    In this case the problem is around the 2*VAR("Tin") - you have two parentheses before and two after. In fact you don't need either of the two parentheses, but if there was only one it should work:

    eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") (2 * VAR("Tin")))

    Better still:

    eyeDiagram(VT("/Vout+") - VT("/Vout-") 0 VAR("simTime") 2 * VAR("Tin"))

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hans,

    This is not because of the nested variable references, but due to the fact that SKILL (which what your expression is) doesn't like duplicate matched parentheses. These confuse the parser where it is trying to determine whether it should use C-like or Lisp-like expressions:

    eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") ((2 * VAR("Tin"))))

    In this case the problem is around the 2*VAR("Tin") - you have two parentheses before and two after. In fact you don't need either of the two parentheses, but if there was only one it should work:

    eyeDiagram((VT("/Vout+") - VT("/Vout-")) 0 VAR("simTime") (2 * VAR("Tin")))

    Better still:

    eyeDiagram(VT("/Vout+") - VT("/Vout-") 0 VAR("simTime") 2 * VAR("Tin"))

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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