Add vto model parameter (the default has changed!), add .ic

to ease op and immediately start oscillation.
This commit is contained in:
Holger Vogt 2023-05-08 10:56:10 +02:00
parent 96bebafac5
commit 2685df1b05
1 changed files with 5 additions and 4 deletions

View File

@ -18,17 +18,18 @@ xinv7 9 8 1 0 inv
xinv8 10 9 1 0 inv
xinv9 2 10 1 0 inv
.model N1 vdmos cgdmin=0.05p cgdmax=0.2p a=1.2 cgs=0.15p rg=10 kp=1e-5 rb=1e7 cjo=1n ksubthres=0.2
.model P1 vdmos cgdmin=0.05p cgdmax=0.2p a=1.2 cgs=0.15p rg=10 kp=1e-5 rb=1e7 cjo=1n pchan ksubthres=0.2
.model N1 vdmos vto=1 cgdmin=0.05p cgdmax=0.2p a=1.2 cgs=0.15p rg=10 kp=1e-5 rb=1e7 cjo=1n ksubthres=0.2
.model P1 vdmos vto=-1 cgdmin=0.05p cgdmax=0.2p a=1.2 cgs=0.15p rg=10 kp=1e-5 rb=1e7 cjo=1n pchan ksubthres=0.2
.tran 0.1n 5u
.tran 0.1n 10u
.ic v(6)=2.5
.control
run
rusage
* current and output in a single plot
plot v(6) 1000*(-I(vdd)) ylimit -1 6
plot v(6) 50000*(-I(vdd)) ylimit -1 6
.endc
.end