• 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. Assembler: Can't use VAR() in output expression when EvalType...

Stats

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

Assembler: Can't use VAR() in output expression when EvalType is sweeps, all i.e. not point

ayayla
ayayla over 3 years ago

Hi,

I am trying to check some output expressions with evaltype set to sweeps. In these expressions, I have some variables from my global variables. For the run, I am sweeping some variables and some of them are fixed. I want to use one of the fixed in the output expressions but I am getting evaluation when I use VAR() as below. If I change this a fix number, I don't see an issue and everything works.

Example Output Expression:

value(dB20(VF("/Iinstimulus/DIFF_OUT")) VAR("fclk")) ~> Not working

value(dB20(VF("/Iinstimulus/DIFF_OUT")) 1e9) ~> working

Also, the working one doesn't return numeric value, I had to put another function converting wave to numeric(ymax() to be specific). Why doesn't it return numeric value like regular output expressionswith point as evaltype?

Version info:

Spectre (R) Circuit Simulator
Version 20.1.0.354.isr11 64bit -- 14 Oct 2021

ICADVM20.1-64b.500.25

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Please contact customer support.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ayayla
    ayayla over 3 years ago in reply to Andrew Beckett

    For others having the same issue, VAR() returns a wave so that is the root-cause of the issue. Instead of VAR(), using ALIAS() solves the issue since that returns a scalar as explained in the below support page:

    support.cadence.com/.../ArticleAttachmentPortal

    So solution is using ALIAS() if variables are not being swept since it returns the first value of VAR()(kind of wrapper around VAR()).

    • Cancel
    • Vote Up +1 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