• 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. sweep variable "bs" in hb, then use VAR("bs") in output...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 127
  • Views 7037
  • 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

sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL

Taoni
Taoni over 12 years ago
Hi,  

Maybe I found a bug recently.   (Cadence IC 615, mmsim 12.11 )

Firstly,  I sweep variable "bs" in hb, then use VAR("bs") in output expression, it can not plot when run in ADEXL,

but it can plot when run in Test Editor or ADE L.

if do not contain VAR() in output expression, it can plot correctly.

for example, it can plot:   getData("NF" ?result "hbnoise"),

but it fails when plot :  value(getData("NF" ?result "hbnoise") (660*VAR("bs")+150*(1-VAR("bs")))*(10**6) ) .

if I change  (660*VAR("bs")+150*(1-VAR("bs")))*(10**6)   to    660*(10**6),   it can plot again.

 so what is the solution ?

appreciate your helps.


Regards,

Tao
  • Cancel
  • Taoni
    Taoni over 12 years ago
    And I found another similar problem just in ADE L:
    if I sweep any variables in HB analysis, and I also use VAR("bs") in output expression,
    then I use parameteric analysis sweep variable "bs" in ADE L, those output expressions contain VAR("bs") also can not plot.
     
    no one meet this situation?
     
     appreciate your  good helps.
     
     

    Regards,

    Tao  
     
     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Tao,

    I've seen similar issues before - just haven't had a chance to test this and take a proper look. Which subversion of the IC tools are you using? (type getVersion(t) in the CIW and post what you get).

    I'm a bit busy at the moment but will try to get to this today or tomorrow if I can.

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Taoni
    Taoni over 12 years ago

    Hi Andrew,

    "sub-version  IC6.1.5-64bit.500.17"   

     

    Thanks.

     

    Regards,

    Tao 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mate0409
    mate0409 over 12 years ago

     Hi all,

     i can definetly confirm a strange behaviour when using the VAR("") syntax inside output expressions. For example if i sample a signal:

    value( mySignal VAR("CLK") ?period (VAR("CLK") / 2) ?xName "cycle")

    In ADE-XL i get an error message (unbound variable) and it fails. If i open this expression inside the calculator (small button next to the expression field) it evaluates correctly. But sometimes it works also directly inside ADE-XL. 

    I also found out that sometimes you doing a sweep the global variable is not a scalar value anymore. You can make the expression working again if using: value( VAR("bs") 1.0 ). Try to evaluate the variable inside the calculator and look if its a waveform or not.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • alip
    alip over 11 years ago

    I have the same problem.

    VAR("") works by itself in ADE-XL, but no inside an expression.

    The equations plot perfectly in ADE-L, just not ADE-XL. 

    Any solution? 

    I am using IC6.1.5-64b.500.15 MMSIM 12.1-ISR10 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Please contact customer support over this.

    Regards,

    Andrew.

    • 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