how to sweep the input signal parameter in hspice?

Status
Not open for further replies.

triquent

Full Member level 3
Joined
Oct 13, 2004
Messages
166
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,826
I try to do transient simulation and also want to sweep the time of the input signal. Try to analyze the output waveform versus the input vin's delay time(td).
The following is my code. But I got two probelms. 1) by using .param t1=1ns and vin, I can not get the correct input waveform. By this way, I only can get vin=0V. 2) how to sweep td in the .tran?
.param td=1ns
....
vin in 0 pwl 0ns 0 td 0 'td+0.1ns' 2.5 10ns 2.5
....
.tran 0.001ns 10ns sweep td 1ns 10ns 1ns
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…