diff --git a/examples/func_cap.sp b/examples/func_cap.sp index 7894fb146..eca14a864 100644 --- a/examples/func_cap.sp +++ b/examples/func_cap.sp @@ -8,6 +8,7 @@ VDD 1 0 DC 1 C1 1 0 'cap_val' .measure tran capacitance param='cap_val' +.measure tran capac2 param='max(icap_calc(1,2,3,4))' .tran 1ps 100ps diff --git a/examples/inverter.sp b/examples/inverter.sp index 1ecfb513e..eb7c5d424 100644 --- a/examples/inverter.sp +++ b/examples/inverter.sp @@ -19,7 +19,7 @@ Inverter example circuit * device listing and parameter listing * You can run the example circuit with this command: * -* ngspice -b -o ngspice.out inverter.sp +* ngspice inverter.sp * global nodes @@ -81,7 +81,10 @@ c1 out gnd 220fF .meas tran inv_delay trig v(in) val='vp/2' fall=1 targ v(out) val='vp/2' rise=1 .meas tran out_slew trig v(out) val='0.2*vp' rise=1 targ v(out) val='0.8*vp' rise=1 .meas tran delay_chk param='(inv_delay < 100ps) ? 1 : 0' -.meas tran skew when v(out)=skew_meas +.meas tran skew when v(out)=0.6 +.meas tran skew2 when v(out)=skew_meas +.meas tran skew3 when v(out)=skew_meas fall=2 *fall is ignored +*.meas tran skew when v(out)=v(in) not implemented .control run diff --git a/examples/inverter2.sp b/examples/inverter2.sp index 4c7e147c8..4daf5a12b 100644 --- a/examples/inverter2.sp +++ b/examples/inverter2.sp @@ -22,7 +22,7 @@ Inverter example circuit * device listing and parameter listing * You can run the example circuit with this command: * -* ngspice -b -o ngspice.out inverter2.sp +* ngspice inverter2.sp * global nodes