Working of a CMOS inverter
Remember that the gate voltage of the PMOS device is relative to its source terminal, which is connected to the VDD supply. So, when the input to the circuit is at 0V, there is a gate bias on that device of &#150;VDD; this is what turns it on and pulls the output high.