Set the AC magnitude of Vin to 1.0V for ac analysis, then the gain can be obtained:srivatsan said:I want to plot (dB scale) Vout/Vin (obviously gain...) in spice (stand alone and not with cadence or other software).
How to do it?
thanks a lot (in advance)
regards,
srivatsan
srivatsan said:If I set it at 1v and have a gain of 10000; then it does not make sense. If I am wrong, let me know.
- vats
It is nearly true for transient analysis, but ac analysis is another matter of fact. Both input and output can go beyond (VDD + abs(VSS)) in magnitude (of course only for ac value). You may have a try.srivatsan said:WEll, I know that if the gain is 10000, then i cannot go beyond (VDD + abs(VSS))/gain for the input as it does not make sense.
If you do prefer this method for gain measurement, you may use:srivatsan said:What I was asking is the plot stuff when you have vin less than 1v and i want to plot 20*log(vout/vin).
ccw27 said:Hi,
I tried your method, but it seems that it will plot Vs-Vg-Vth against Vgs, it doesn't change the x-axis variable. Am I doing anything wrong?
Thanks
ccw27 said:Hi,
I tried your method, but it seems that it will plot Vs-Vg-Vth against Vgs, it doesn't change the x-axis variable. Am I doing anything wrong?
Thanks
Plot Vgs-Vth vs. Vgs, then click on the x-axis on the waveform window, and in the pop-out window, select the Vgs-Vth as the x-axis instead of the independent variable. Hope it helps.
May be you need fit the plot to the window. Try press "f" when the waveform window is active.I tried but somehow the plot disappears when I do that.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?