hello,
i want to plot the gm of OTA ,versus the diffrential input , i am using spectre , can any one help me?
i attached a picture of what i want to draw taken from a papper.
thnx
make dc analysis with the differential input as a variable. then after running the analysis, u can draw the gm of the input pair from the result browser window
Very simple. Do AC sweep at certain frequency.
But there is some trick. Apply AC/DC source with to inputs of OTA though voltage controlled voltage sources (vcvs) with gain +0.5 and -0.5. DC voltage of this source is differential voltage between inputs (VDM). So u can do AC sweep on VDM variable at certain frequency and plot Gm = Iout_ac/Vin_ac vs. VDM.
I attach testbench picture for opamp. I use verilog-a negative feedback to eliminate offset voltage of opamp. For OTA i think u should to short output of OTA on certain potential, and eleminate offset of OTA under zero output current condition. I hope u can do it by yourself.
Look reference link for good tutorial: