• 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. Calculator 'Sample' function for parametric sweep

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 3235
  • 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

Calculator 'Sample' function for parametric sweep

Davidq
Davidq over 8 years ago

Hi, I have an expression setup in ADE-L using the sample function in the calculator. The expression calculates exactly what i want on a single run. However when I sweep a variable using parametric sweep the expression fails to evaluate on the multiple outputs. I get the following error: 

Ensure that the definition of the expression is correct.
*Error* ("greaterp" 0 t nil ("*Error* greaterp: can't handle (srrWave:0x29b32150 > 0)"))

Is it possible to use the sample function on a family of waves from a parametric sweep or is there any alternative option?

  • Cancel
  • Marc Heise
    Marc Heise over 8 years ago
    Hi David,

    that was fixed in ISR2 of IC6.1.7. You can work around it using the "famMap" function.

    If you have access you can see the solution on support.cadence.com ( 20447910 )

    Here an example:
    before: lshift(sample(VT("/VOUT") Tstart (Tstart + (63 + Tclk)) "linear"Tclk) Tstart)
    using famMap: lshift(famMap('sample VT("/VOUT") Tstart (Tstart + (63 * Tclk)) "linear" Tclk) Tstart)

    Hope that helps,
    Marc
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Davidq
    Davidq over 8 years ago
    Hi Marc,

    Sorry I had not seen that solution when i searched the forum.

    Everything works perfectly now. Thanks for your help.

    David
    • 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