Also, don't forget to name the MOSFET with the right model name.? On your schematic, you have defined a P-channel MOSFET model with the name "CMOSP":
.MODEL CMOSP PMOS ( ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?LEVEL ? = 49
Therefore, the name next to the PMOS symbol (M2) must be changed from "PMOS" to "CMOSP".? This is true for either the PMOS symbol or the PMOS4 symbol.
?
If you don't do that, you would end up simulating with the default SPICE MOSFET which is 50-year-old CMOS technology.
?
Andy
?