• 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
  • sommer
    sommer over 8 years ago
    Hello Andrew,

    thank you for your reply.
    Unfortunately it does not seem to work even without parentheses.
    I have made some trials with the calculator:

    When I enter
    VAR("fin")
    it prints correctly 400M

    but with
    VAR("Tin")
    it prints the error in CIW:

    expression evaluation failed: Expression evaluates to nil
    expression evaluation failed: VAR("Tin")

    Best regards,

    Hans
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • sommer
    sommer over 8 years ago
    Hello Andrew,

    thank you for your reply.
    Unfortunately it does not seem to work even without parentheses.
    I have made some trials with the calculator:

    When I enter
    VAR("fin")
    it prints correctly 400M

    but with
    VAR("Tin")
    it prints the error in CIW:

    expression evaluation failed: Expression evaluates to nil
    expression evaluation failed: VAR("Tin")

    Best regards,

    Hans
    • 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