• 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. Help with complete understanding of "vsin" source in Ca...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 126
  • Views 34722
  • 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

Help with complete understanding of "vsin" source in Cadence

jdp721
jdp721 over 11 years ago
Hi.

I kind of thoroughly Googled before posting this question for seeking help from you guys! 

The "vsin" source (in analogLib) of Cadence has many parameters: 

i) AC magnitude, AC phase, DC voltage
ii) Offset voltage, Amplitude, Frequency,...

Question 1: Internet resources are indicating that parameters in (i) are for AC analysis, while that in (ii) are for Transient analysis - IS THIS TRUE? - because, I have seen in Cadence that changing the "AC phase" led to change in the Transient output waveform - is it so that the "AC phase" field is common between AC and Tran analyses?

Question 2: what is the use of the "DC voltage" in (i) above? - because, I am seeing that people are setting this to '0 V' most of the times without any explanation!
  • Cancel
  • ShawnLogan
    ShawnLogan over 11 years ago

    Dear jdp721,

     

    Q 1. Parameters AC magnitude and AC phase are only effective in an AC analysis. AC phase does not change the phase of vsin in a transient analysis - at least it does not in IC6.1. There is a parameter "Initial phase for sinusoid" than can be set to a non-zero value to set the phase of the source in a transient analysis. "DC voltage" sets the DC value of vsin in a DC operating point analysis or AV analysis. The vsin parameter "Offset voltage" sets the DC average of the vsin source in a transient analysis.

     Q 2. The DC voltage parameter can be used to set the DC value of the vsin source in a DC operating point analysis. This value can be different than parameter "Offset voltage" which is the average value in a transient analysis.

     

    This is what I observed from running a few test cases in IC6.1 and I hope this is useful.

    Shawn 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Just to clarify what Shawn said. If you specify the DC voltage but not the "Offset voltage", when the DC voltage will be used as the mid-voltage of the sinusoid. If Offset voltage is specified, that is used instead (for the transient).

    For a DC analysis (or for any small signal analysis that requires a DC operating point), the DC value of the source is taken as the DC voltage (if specified), or if not specified, it's the time-zero value of the source. These could of course be different...

    Shawn is absolutely right in saying that the AC phase does not affect transient. It's the initial phase for sinusoid that affects that.

    I would generally recommend using vsource rather than vsin (they're the same thing in spectre) because the parameters are better organized.

    Regards

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 11 years ago

     Hi Andrew,

     

    Thank you for your clarification concerning the use of parameter DC voltage in vsin during a transient analysis when "Offset voltage" is left blank. You are absolutely correct. I have noticed this and should have included it! Good poiint (again!).

     

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jdp721
    jdp721 over 11 years ago
    Many thanks Shawn and Andrew for your helpful replies - I simulated "vsin" for different settings and confirmed all the aspects that you pointed out above :) Goodbye!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jdp721
    jdp721 over 11 years ago

    One more question - maybe it's too trivial:

    Does the properties of instances (e.g., "vsin" etc.) from "analogLib" used in the schematic change with the simulator (e.g., "spectre") being used? 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tawna
    Tawna over 11 years ago

    Yes, they do.  Not all properties on an analogLib component (e.g. vsin, vsource, isource, port, etc.) are supported by all simulators.

    In fact, I recommend using vsource with sourcetype=sine instead of vsin if you are simulating with Spectre.  vsin is a subset of vsource.  New features are put into vsource. vsource has a much more intuitive GUI. 

    Similarly, if using spectre, I recommend port (instead of psin).  All of the port properties are documented in the SpectreRF User Guide (version 13.1 and 13.1.1).  Many of the port properties are the same as the vsource properties.

     best regards,

    Tawna

    best regards,

    Tawna

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tawna
    Tawna over 11 years ago

    One more thing...

    Use the Tool Filter (In IC616, go to Options-Tool Filter) to limit what parameters are displayed in the schematic and in the Edit Properties/Add Instance form.

    For example, if you choose hspice (and deselect all others) and OK the form, you will see a different parameter set than if you check spectre (and deselect all others).

    best regards,

    Tawna

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jdp721
    jdp721 over 11 years ago
    Many thanks Tawna for those very helpful and detailed reply and suggestions :-)
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rohit W
    Rohit W over 6 years ago in reply to Andrew Beckett
    Andrew Beckett said:
    vsource rather than vsin

    found very usefull

    • 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