|
|
|
@ -51,11 +51,11 @@ R2 0 OUT 141 |
|
|
|
* measure bandwidth at -10 dB |
|
|
|
meas ac bw trig vdb(out) val=-10 rise=1 targ vdb(out) val=-10 fall=1 |
|
|
|
* |
|
|
|
set run ="$&run" $ create a variable from the vector |
|
|
|
set run = $&run $ create a variable from the vector |
|
|
|
set dt = $curplot $ store the current plot to dt |
|
|
|
setplot $scratch $ make 'scratch' the active plot |
|
|
|
let vout{$run}={$dt}.v(out) $ store the output vector to plot 'scratch' |
|
|
|
let bwh[run]={$dt}.bw $ store bw to vector bwh in plot 'scratch' |
|
|
|
let bwh[run]={$dt}.bw $ store bw to vector bwh in plot 'scratch' |
|
|
|
setplot $dt $ go back to the previous plot |
|
|
|
let run = run + 1 |
|
|
|
end $ loop ends here |
|
|
|
|