Home
  • Products
  • Solutions
  • Support
  • Company
  • Products
  • Solutions
  • Support
  • Company
Community Forums Custom IC Design Using ?matchParams for monte-carlo trim sweeps so trim code...

Stats

  • Replies 5
  • Subscribers 127
  • Views 1100
  • Members are here 0

Using ?matchParams for monte-carlo trim sweeps so trim code is determined at 25C and nominal supply but then swept over both temperature and supply once trim code is found

BriPi
BriPi 2 months ago

I am running a trim procedure similar to what is discussed in this ticket from 4 years ago:  https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/40480/error-during-using-calcval-for-calibration-and-performing-temperature-sweep

Using the ?getFirstSweepPoint argument as recommended by Dimitra, I was able to run a supply and temperature sweep after trimming at room with my typ supply.  I too would like to run a MonteCarlo sim now except I would like to sweep both the supply and temperature instead of just the supply as was discussed in the previous ticket.  I did my best to try to modify the example shown in the previous ticket to work for two variables unfortunately after working for the first several iterations of my testbench, it fails after about the fourth trim step giving me the failure that the variable is nil.  The syntax I tried is as follows:

myVar = calcVal(“trim_code” “trim_step1” ?matchParams list( list("temperature" "25") list("V_VDD" "1.8") ) )

Assuming that my variable name, previous test name and parameter names are all correct, is there an obvious syntax error here that I am missing?  Is there a different way I should be argument I should be using aside from matchParams for a monteCarlo sim?  Am I adding the two parameters to be swept correctly?

Thanks,

Brian

  • Reply
  • Cancel
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett 2 months ago
    BriPi said:
    I am running a trim procedure similar to what is discussed in this ticket from 4 years ago

    Brian,

    First of all, this is not a "ticket". This is the community forum - and it's for users to ask each other for help. If you want proper, tracked support, you should file a case (i.e. a ticket) via http://support.cadence.com - in that case you'll get an application engineer who can spend the time looking into this (rather than here where a few of us respond in our spare time).

    Which IC sub-version are you using? (Help->About will tell you this). The fact that it works for a while and then fails suggests that this is a bug rather than a syntax error and (from a quick search to remind myself) I see there were fixes in IC6.1.8 ISR12 (i.e. with .500.12 at the end) related to this. There may have been other fixes in later versions too, but I'll search more once I know which sub-version you're using.

    Andrew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • BriPi
    BriPi 2 months ago in reply to Andrew Beckett

    Andrew,

    Thanks for the response.  It is greatly appreciated.  My apologies on the poor word choice in my original post.  I am using IC6.1.8-64b.500.10 which I assume is IC6.1.8 ISR10?  I assume the recommendation would be to try and update my tool and see if that fixes the problem?  Do you have a recommendation on which versions I should target to update to?

    Thanks again,

    Brian

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 2 months ago in reply to BriPi

    Hi Brian,

    I'd just suggest using the latest - ISR28 (IC6.1.8-64b.500.28). There have been many calcVal (and other) fixes/improvements in the meantime since ISR10 (which will be between 2 and 3 years old now).

    Andrew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • BriPi
    BriPi 2 months ago in reply to Andrew Beckett

    Andrew,

    Thanks for the suggestion.  It turns out that I did have an issue with my simulation.  I had one variable that I changed at one step in the trim sequence (not a swept parameter like voltage and temperature, but not consistent throughout the entire trim) and this was the point it failed.  The solution was that I needed to also include ?ignoreParams for all of the parameters that I was not sweeping in my final sim.  While the newer IC-sub version still showed me the error, the updated error message in the job log proved to be quite helpful in identifying the problem.

    Thanks,

    Brian

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • BriPi
    BriPi 1 month ago in reply to BriPi

    Update to my previous comment in case anybody reads this post in the future:  When trying to run my sim back on the older version of the tools (because that is what the standard setup at my company currently is), I realized that ?ignoreParams is not recognized in IC sub-version 10 therefore I do believe the newer tool version is required in order to run this type of simulation.  I am now running version 28 and it appears to be running as expected.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Reply
  • BriPi
    BriPi 1 month ago in reply to BriPi

    Update to my previous comment in case anybody reads this post in the future:  When trying to run my sim back on the older version of the tools (because that is what the standard setup at my company currently is), I realized that ?ignoreParams is not recognized in IC sub-version 10 therefore I do believe the newer tool version is required in order to run this type of simulation.  I am now running version 28 and it appears to be running as expected.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Children
No Data

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.

© 2023 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information