• 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. Equation Syntax

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 4537
  • 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

Equation Syntax

Maria98
Maria98 over 1 year ago

Hi

I want to find out the Quality Factor, Inductance, and resistance of the designed inductor layout through its s2p file.

The basic equation to calculate the above values is:

zdiff=Z(1,1)-Z(1,2)-Z(2,1)+Z(2,2)

i wrote in ADE L calculator as:

(db(zpm('sp 1 1)))-(db(zpm('sp 1 2)))-(db(zpm('sp 2 1)))+(db(zpm('sp 2 2)))

with name zdiff.

but its waveform is not appearing. 

Please guide

Thank you

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    I'm not sure why you would want to add/subtract the z-parameters in dB - that seems wrong to me. I'd have expected you really wanted to do:

    zpm('sp 1 1 )-zpm('sp 1 2 )-zpm('sp 2 1 )+zpm('sp 2 2 )

    However, if you really did want to add the values in dB, then you have too many parentheses. SKILL (and hence the ADE calculator) is fussy about having too many parentheses - it confuses the parser. You had an additional set around every db() call, so if you use this:

    db(zpm('sp 1 1))-db(zpm('sp 1 2))-db(zpm('sp 2 1))+db(zpm('sp 2 2))

    it should work correctly (whether the results are what you want or not is another matter).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Maria98
    Maria98 over 1 year ago in reply to Andrew Beckett

    Thanks a lot, i was doing mistake by adding dB values. 

    • 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