• 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. Number of Harmonics in PSS analysis to determine the maximum...

Stats

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

Number of Harmonics in PSS analysis to determine the maximum time step

RFGeek
RFGeek over 3 years ago

How can I control the maximum time step in the PSS analysis by adjusting the number of harmonics under 'Output harmonics' section in PSS analysis window for autonomous circuits?

  • Cancel
  • FormerMember
    FormerMember over 3 years ago

    Dear RFGeek,

    RFGeek said:
    How can I control the maximum time step in the PSS analysis by adjusting the number of harmonics under 'Output harmonics' section in PSS analysis window for autonomous circuits?

    There are up to two portions of a PSS analysis: an optional initial transient simulation ("tstab" portion) to allow the circuit response to achieve a solution close to its steady-state solution; and a second portion where the simulator attempts to converge on an estimate of the steady-state solution using the waveform at then end of the "tstab" portion as its starting point.

    a. If you are interested in adjusting the time step of the initial "tstab" portion of the simulation and are using spectre or spectre APS, the paramter "maxstep" can be specified in one of the Transient analysis GUI options tab. If you are using Spectre X, it will not recognize the "maxstep" parameter as a means of adjusting its tilmestep. However, its tilmestep can be adjusted with the dynamic parameter steppreset as detailed in the On-line support troubleshooting article at URL:


    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O3w000009fo7PEAQ&pageName=ArticleContent&oMenu=People%20who%20viewed%20this%20also%20viewed

    b. If, on the other hand, you want to adjust the tilmestep during the "pss" portion of the simulation where it attempts to converge on a periodic solution, either parameter "maxacfreq" on the PSS options tab "" (Figure 1) or adjusting the number of output harmonics on the PSS GUI (Figure 2) will accomplish this.

    From the article at URL:

    support.cadence.com/.../ArticleAttachmentPortal

    Maxacfreq forces 5 timesteps in the period of the frequency set by maxacfreq (in pss options form), and the maximum harmonics sets maxstep to force 20 timepoints in the period of the highest harmonic of the pss (on the choosing analyses form).

    From the above mentioned article if the PSS frequency is 1GHz and you set maxacfreq to 100GHz the maximum timestep will be defined as 5 timepoints in the period of 100GHz.
    If you set the maximum number of harmonics to N, this forces 20 timepoints in the period of N*1 GHz.

    In this case, the timestep will be the same for both methods with a maxacfreq of 100 GHz or setting the maximum number of harmonics to 25. In essence the maximum timestep in both cases is:

    (1/5)*(1/100 GHz) = (1/20)*(1/(25*1 GHz) = (1/20)*(1/25 GHz) = 2 ps

    Does this help RFGeek?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 3 years ago in reply to FormerMember

    Figure 1

    Figure 2

    • 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