Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into beta_jdm

This commit is contained in:
Jim Monte
2020-03-03 09:59:30 -05:00
36 changed files with 128 additions and 36 deletions
+8 -6
View File
@@ -124,16 +124,17 @@ if $?batchmode
rusage
quit
else
set nolegend
if $?sharedmode or $?win_console
gnuplot xnp_pl1 {$plot_out}.vout0 $ just plot the tran output with nominal parameters
gnuplot xnp_pl1 {$plot_out}.vout0 ylabel vout0 $ just plot the tran output with nominal parameters
else
plot {$plot_out}.vout0 $ just plot the tran output with nominal parameters
plot {$plot_out}.vout0 ylabel vout0 $ just plot the tran output with nominal parameters
end
setplot $plot_fft
if $?sharedmode or $?win_console
gnuplot xnp_pl2 db(mag(ally)) xlimit 0 1G ylimit -80 10
gnuplot xnp_pl2 db(mag(ally)) ylabel 'output voltage versus frequency' xlimit 0 1G ylimit -80 10
else
plot db(mag(ally)) xlimit 0 1G ylimit -80 10
plot db(mag(ally)) xlimit 0 1G ylimit -80 10 ylabel 'output voltage versus frequency'
end
*
* create a histogram from vector maxffts
@@ -166,9 +167,10 @@ else
* plot the histogram
let count = yvec - 1 $ subtract 1 because we started with unitvec containing ones
if $?sharedmode or $?win_console
gnuplot np_pl3 count vs osc_frequ combplot
gnuplot np_pl3 count vs osc_frequ combplot ylabel 'counts per bin'
else
plot count vs osc_frequ combplot
set xbrushwidth=5
plot count vs osc_frequ combplot ylabel 'counts per bin'
end
* calculate jitter
let diff40 = (vecmax(halfffts) - vecmin(halfffts))*1e-6
+1
View File
@@ -0,0 +1 @@
set ngbehavior=psa
+2 -2
View File
@@ -5,9 +5,9 @@
*R24 & R25 are optional output offset trimming
*
VTamb tamb 0 25
MQ1 +V N010 N012 tn tcn IRFP240 tnodeout
MQ1 +V N010 N012 tn tcn IRFP240 thermal
X1 tcn tamb case-ambient
MQ2 -V N020 N017 tp tcp IRFP9240 tnodeout
MQ2 -V N020 N017 tp tcp IRFP9240 thermal
X2 tcp tamb case-ambient
R1 OUT N017 .33
R2 N012 OUT .33
+1 -1
View File
@@ -1,5 +1,5 @@
VDMOS self heating test
M1 D G 0 tj tc IRFP240 tnodeout
M1 D G 0 tj tc IRFP240 thermal
rthk tc 0 0.05
VG G 0 5V Pulse 0 10 0 1m 1m 100m 200m
*RD D D1 4