Home > Community > Forums > Custom IC Design > sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

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

Last post Tue, Dec 17 2013 4:11 AM by Andrew Beckett. 6 replies.
Started by Taoni 13 Jul 2013 07:52 PM. Topic has 6 replies and 1367 views
Page 1 of 1 (7 items)
Sort Posts:
  • Sat, Jul 13 2013 7:52 PM

    • Taoni
    • Not Ranked
    • Joined on Sun, Jul 14 2013
    • Posts 3
    • Points 45
    sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL Reply
    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
    • Post Points: 20
  • Tue, Jul 16 2013 1:40 AM

    • Taoni
    • Not Ranked
    • Joined on Sun, Jul 14 2013
    • Posts 3
    • Points 45
    Re: sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL Reply
    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  
     
     
    • Post Points: 20
  • Tue, Jul 16 2013 1:43 AM

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

    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.

    • Post Points: 20
  • Tue, Jul 16 2013 1:54 AM

    • Taoni
    • Not Ranked
    • Joined on Sun, Jul 14 2013
    • Posts 3
    • Points 45
    Re: sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL Reply

    Hi Andrew,

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

     

    Thanks.

     

    Regards,

    Tao 

    • Post Points: 5
  • Sat, Jul 20 2013 7:59 AM

    • mate0409
    • Not Ranked
    • Joined on Fri, Sep 30 2011
    • Posts 14
    • Points 235
    Re: sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL Reply

     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.

    Filed under: ,
    • Post Points: 20
  • Mon, Dec 16 2013 10:36 AM

    • alip
    • Not Ranked
    • Joined on Fri, Dec 6 2013
    • Posts 1
    • Points 20
    Re: sweep variable "bs" in hb, then use VAR("bs") in output expression, not plot in ADEXL Reply

    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 

    • Post Points: 20
  • Tue, Dec 17 2013 4:11 AM

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

    Please contact customer support over this.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by Taoni at 13 Jul 2013 07:52 PM. Topic has 6 replies.