MOS models and circuit simulations