That's what I understood too. however, when I increased the magnitude, then gain became bigger. that doesn' t make sense, isn't it supposed to be reduced because vin is inversely proportional to gain????
AC Gain is constant whatever value of ac input.
so for a constant gain, Vout=Constant*Vin.
so increasing Vin will increase Vout but doesn't affect the gain
The simulation result of Spectre mag(V) means gain when input AC Magnitude is 1V? Because I was wondering why my 1.8V NAND can get more than 20 V output.
When you do an AC analysis, the circuit is linearized at the operating point.
The meaning of linearized is that it no longer consider non-linear effects, such as limits placed upon component breakdown, or supply limits. Another implication is that the linearized equations apply to both large and small signal alike.
In simple words, for an amplifier with gain 1000, the ac analysis will show that an input of 1mV gives 1V, and an input of 1MV gives 1GV!