.meas only in interactive mode
This commit is contained in:
parent
0aaab1697d
commit
45b8342e63
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue