Home > Community > Forums > Custom IC Design > setting up stimuli


* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 setting up stimuli 

Last post Thu, Jul 23 2009 1:46 AM by Andrew Beckett. 1 replies.
Started by whlinfei 23 Jul 2009 01:39 AM. Topic has 1 replies and 1889 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Jul 23 2009 1:39 AM

    • whlinfei
    • Top 500 Contributor
    • Joined on Sun, Mar 15 2009
    • Posts 24
    • Points 435
    setting up stimuli Reply

     Hi all,

    I am using cadence virtuoso schematic and spectra as simulator. 

     I need a PWM signal for my simulation. The way I want to ( I know ) set up is that using a VCVS source as the output and a triangular wave and the input signal as the inputs. After comparing these two and setting the gain of this dependent source high enough( say 10000) and output maximum and minimun to a desired value, I can get PWM without delay nor distortion. 

     The problem I have right now is I don't know how I can generate a triangular waveform. There is no triangular wave stimuli in spectra.

    Can anyone help me with that or is there some other way to generate PWM?

    Thanks !


    Best Regards,


    Filed under:
    • Post Points: 20
  • Thu, Jul 23 2009 1:46 AM

    Re: setting up stimuli Reply

    You don't need a specific triangle source, because this is a form of "pulse" source:

      tri (tri 0) vsource type=pulse val1=1 val0=0 rise=10n fall=10n width=0 period=20n

    Use vsource from analogLib (or vpulse), and set the rise and fall times to be half the period, and the width to be 0. That will do what you want.



    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by whlinfei at 23 Jul 2009 01:39 AM. Topic has 1 replies.