• 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. Usage of variables belonged to different measurement functions...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 126
  • Views 14034
  • 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

Usage of variables belonged to different measurement functions in spectremdl

saikatc
saikatc over 8 years ago

Hi,

I am using spectremdl for measuring the performance of my analog circuits. During simulation, one variable is generated using the DC run and the other using transient run. I need to calculate a final variable using both these variables. Since they belong to different alias measurement block. The script is throwing error. Could you please suggest me a solution?

Example

alias measurement dcrun {

export real V_a

}

alias measurement acrun {

export real V_b

}

I want the following
export real V= V_a - V_b

  • Cancel
  • yeh1
    yeh1 over 8 years ago

    Hi, maybe

    export real V = dc_run->V_a - ac_run->V_b 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • saikatc
    saikatc over 8 years ago
    Hi,
    Thanks a lot. It worked.
    Regards
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • saikatc
    saikatc over 8 years ago
    Hi,

    Now that it went ahead. I am suddenly getting another warning message and the DC run is not happening at all.
    The message is as follows:
    Notice from spectre during DC analysis `dcrun', during task `MDLControl'.
    GminDC = 1 pS is large enough to noticeably affect the DC solution.
    dV(z) = 10.6691 mV
    Use the `gmin_check' option to eliminate or expand this report.
    Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.

    Could you please suggest any solution?
    Thanks in advance.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Those are just warning messages - they shouldn't stop the DC from proceeding. I suspect there's some further messages which reveal more info. Can you post the entire spectre output log?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • saikatc
    saikatc over 8 years ago
    Hi,
    I could debug the issue. The netlist generated didn't have the dc run information. As a result it failed.
    Thanks
    Saikat
    • 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