• 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. RF Design
  3. Help, Corner Analysis doesn't work in vco, error in evaluating...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 63
  • Views 4248
  • 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

Help, Corner Analysis doesn't work in vco, error in evaluating the expression.

Abdhkamal
Abdhkamal over 7 years ago

I'm Simulating a vco and want to get the Kvco and its corner analysis.

The Kvco itself is evaluated correctly but its corner analysis is not working.

The error that showed up to me is:

ERROR (ADE-1057): Could not evaluate expression
        Name:'Kvco'
        Expression:'deriv(harmonic(xval(getData("/net15" ?result "pss_fd")) '1))'
     because of the following error(s)
        ("error" 0 t nil ("*Error* drfGetWaveformYVec (DRL-18): argument not a valid srr waveform interface object nil"))
     Ensure that the definition of the expression is correct.

thanks.

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

    I don't really understand what your problem is. You say the expression evaluates correctly - but then say "its corner analysis is not working". What does that mean?

    Please give more details - perhaps with a few pictures - including info on the tools used and the versions used.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Abdhkamal
    Abdhkamal over 7 years ago in reply to Andrew Beckett

    the nominal output is like this:

    and i can simply get this output. it is under conditions of  ( temperature 27, typical typical pmos and nmos and 1.2 supply).

    and when i tried to run it in a different conditions, such as running corner analysis, the tool gives:

    *Error* ("error" 0 t nil ("*Error* drfGetWaveformYVec (DRL-18): argument not a valid srr waveform interface object nil"))


    ERROR (ADE-1057): Could not evaluate expression
            Name:'kvco'
            Expression:'harmonic(xval(getData("/net15" ?result "pss_fd")) '1)'
         because of the following error(s)
            ("error" 0 t nil ("*Error* drfGetWaveformYVec (DRL-18): argument not a valid srr waveform interface object nil"))
         Ensure that the definition of the expression is correct.
    *Error* deriv: can't handle deriv(nil)

    im expecting output  like this. but this didn't show up to me, the error showed up instead.

    i'm using virtuoso 6.1.7

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Abdhkamal
    Abdhkamal over 7 years ago in reply to Andrew Beckett

    the nominal output is like this:

    and i can simply get this output. it is under conditions of  ( temperature 27, typical typical pmos and nmos and 1.2 supply).

    and when i tried to run it in a different conditions, such as running corner analysis, the tool gives:

    *Error* ("error" 0 t nil ("*Error* drfGetWaveformYVec (DRL-18): argument not a valid srr waveform interface object nil"))


    ERROR (ADE-1057): Could not evaluate expression
            Name:'kvco'
            Expression:'harmonic(xval(getData("/net15" ?result "pss_fd")) '1)'
         because of the following error(s)
            ("error" 0 t nil ("*Error* drfGetWaveformYVec (DRL-18): argument not a valid srr waveform interface object nil"))
         Ensure that the definition of the expression is correct.
    *Error* deriv: can't handle deriv(nil)

    im expecting output  like this. but this didn't show up to me, the error showed up instead.

    i'm using virtuoso 6.1.7

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Abdhkamal

    Your pictures are missing... so I don't fully understand what your setup looks like.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Abdhkamal
    Abdhkamal over 7 years ago in reply to Andrew Beckett

    this is the first image,

    the second, what i'm expecting:

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 7 years ago in reply to Abdhkamal

    Dear Abdallah,
    Although you have not provided a lot of information (and hence my response may be incorrect), I've listed a few possibilities:
    1. It appears (at least for the corner you are displaying the log for) the pss simulation likely did not complete correctly as the waveform can not be found. If you are simulating a ring VCO over corners, it is quite likely that its output frequency will vary significantly at each corner (with a fixed control voltage applied at each corner). if so, if you included the frequency in the pss analysis panel, the actual oscillator frequency at one or more corners may differ from the value you entered in the pss GUI. As a result, the pss analysis may fail for a corner where your manually entered frequency differs from the actual frequency.
    2. A second possibility is that the value of tstab you entered is not sufficient for the oscillator to start and settle to its steady-state frequency at one or mroe corners.
    3. A third possibility is that the VCO did not start at the corner for which you are displaying the log file. The start-up issue may (or may not) be a result of not setting a minimum integration time step for the analysis - it could also be a real design issue. To examine if the failure to start is a result of the simulator, you might try forcing the value of maxstep to a value of at least 1/20 or 1/100 of the expected VCO period.
    I'm not sure if any of these potential issues may be the root cause - but thought I would pass them by. There are many other experts who monitor this forum and I am sure they will provide better solutions.
    Shawn

    • 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