pub struct PWL<'s> {
pub points: Vec<TimeValuePoint<'s>>,
pub repeat: Option<Value<'s>>,
pub rstop: Option<Value<'s>>,
pub stopvalue: Option<Value<'s>>,
pub stopslope: Option<Value<'s>>,
pub delay: Option<Value<'s>>,
pub edgetype: EdgeType,
}Expand description
https://eda-cpu1.eias.junzhuo.site/~junzhuo/hspice/index.htm#page/hspice_11/pwl_source.htm
Fields§
§points: Vec<TimeValuePoint<'s>>§repeat: Option<Value<'s>>Keyword and time value to specify a repeating function. With no argument, the source repeats from the beginning of the function. repeat is the time, in units of seconds, which specifies the startpoint of the waveform to repeat. This time needs to be less than the greatest time point, tn.
rstop: Option<Value<'s>>Specifies the stop time for the repeat.
stopvalue: Option<Value<'s>>Specifies the value of the current/voltage source at the time of rstop. stopvalue can be either a real number or Z for high impedance state.
stopslope: Option<Value<'s>>stopeslope is the switching time from the last PWL value to the stopvalue. Default value is 30ps, if unspecified.
delay: Option<Value<'s>>TD=delay
Time, in units of seconds, which specifies the length of time to delay (propagation delay) the piecewise linear function.
edgetype: EdgeType