• 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. How sources and components are treated in DC analysis?

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 18255
  • 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

How sources and components are treated in DC analysis?

BaaB
BaaB over 9 years ago

Hi,

In DC analysis, capacitor is open and inductor is short. I would like to know what other things the DC analysis do (for example, how sources are treated,...). Could you tell me where can I find this? 

I tried search cdnshelp but the info is not there. It is an introduction about DC analysis.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I'm not really sure why the analogLib components are confusing. Part of the reason they exist is for other simulators and for historical reasons. With spectre you can just always use the analogLib vsource, isource, and port components - these have a parameter which defines the type of the source and fields which change dynamically.

    The dc offset (which corresponds to the offset parameter on the source) is not affecting the DC operating point. It just adds that offset to all the points defined in the PWL vector during the transient.

    For any time-varying source, the time-zero value is whatever value that time-varying waveform would have had at time=0s. So if you have a sine source with a sinephase of 90 degrees, it will be the value that the sine wave has at a phase of 90 degrees (since that's the initial phase of the sine wave). 

    With a real example, if you do:

    v1 (n1 0) vsource type=pwl dc=1 offset=0.2 wave=[0 0.3 1m 0.7 2m -0.4]

    Then n1 will be 1V for the DC analysis. If you do:

    v1 (n1 0) vsource type=pwl offset=0.2 wave=[0 0.3 1m 0.7 2m -0.4]

    Then n1 will be 0.5V for the DC analysis (because the value at t=0s would be 0.3+0.2).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I'm not really sure why the analogLib components are confusing. Part of the reason they exist is for other simulators and for historical reasons. With spectre you can just always use the analogLib vsource, isource, and port components - these have a parameter which defines the type of the source and fields which change dynamically.

    The dc offset (which corresponds to the offset parameter on the source) is not affecting the DC operating point. It just adds that offset to all the points defined in the PWL vector during the transient.

    For any time-varying source, the time-zero value is whatever value that time-varying waveform would have had at time=0s. So if you have a sine source with a sinephase of 90 degrees, it will be the value that the sine wave has at a phase of 90 degrees (since that's the initial phase of the sine wave). 

    With a real example, if you do:

    v1 (n1 0) vsource type=pwl dc=1 offset=0.2 wave=[0 0.3 1m 0.7 2m -0.4]

    Then n1 will be 1V for the DC analysis. If you do:

    v1 (n1 0) vsource type=pwl offset=0.2 wave=[0 0.3 1m 0.7 2m -0.4]

    Then n1 will be 0.5V for the DC analysis (because the value at t=0s would be 0.3+0.2).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • 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.

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

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