• 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. spectremdl mvarsearch lm method?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 10509
  • 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

spectremdl mvarsearch lm method?

yeh1
yeh1 over 4 years ago

Does the spectremdl mvarsearch option "method = `lm" work? In my sims it seems mvarsearch always uses `newton method.

The mdlref.pdf says (spectre version 17.1):

method:
The method to be used in the algorithm method. Possible values
are `newton (newton solver) and `lm (levenburg marquardt).
While `newton is faster than `lm, `lm has more robust
convergence properties. You should use `newton only when
init_val values are close to the final solution and you want a
faster optimization.
`newton assumes that the number of param_statement=number of zero_statement. If this is not true, mvarsearch automatically changes method to `lm.
Default value: `lm

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    I just tried it and it's using 'lm mode by default (at least in the latest SPECTRE19.1 and SPECTRE20.1 ISRs). I compared the iteration information by saving stuff with an MDL print statement, and if I specify method='lm then I get the same results as default, whereas if I specify method='newton it takes more iterations. 

    Which spectre version are you actually simulating with, and why do you think it's always using the newton method? As far as I could see, this doesn't seem to be recorded in the log files anywhere (maybe I was looking in the wrong place).

    Andrew

    • 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