Spice Code Help

Discussion in 'Homework Help' started by phil419, Oct 18, 2013.

  1. phil419

    Thread Starter New Member

    Oct 1, 2013
    3
    0
    Hello everyone, I am having trouble with coming up with a spice code command to realize an non-periodic trapeziodal/square input. Someone care to help?
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,747
    4,796
    Use the piecewise linear source.
     
  3. phil419

    Thread Starter New Member

    Oct 1, 2013
    3
    0
    Using PWL, for one pulse, I'd have to have multiple arguments such that for a nonperiodic function of let's say 3 pulses, I'd need 13 arguments. Is there no other way?
     
  4. WBahn

    Moderator

    Mar 31, 2012
    17,747
    4,796
    There are ways to parameterize things to make them easier to build, but basically you are wanting to create a custom waveform, so it should not be surprising that you will have to expend some effort to do so.
     
Loading...