I need a pulse voltage source that slowly gets narrower as the simulation progresses. How do I create a dependent pulse source that used a ramping voltage, or some other input, to adjust the width each time the pulse is high? I'd like the period to remain fixed.
Alternately, if I could tell it to go from some width to another width over so many ms, that would work too.
If you can make your pulse width dependent on the current simulation time$time() (or $realtime in Verilog applications), you could perhaps use this parameter in your PWL definition, at least in SPECTRE, s. the corresponding page from the Spectre Circuit Simulator Reference manual: View attachment Spectre_Circuit_Simulator_Reference_V5.0_p894.pdf