1.PMOS and NMOS
The physical structure of MOS transistors is as follows. They are divided into PMOS and NMOS depending on the materials of the substrate and injected particles.
2.CMOS
CMOS is composed of PMOS and NMOS and is an inverter. Its circuit diagram is shown below. When In is 1, PMOS is turned off, NMOS is turned on, and Out output is 0; when In is 0, PMOS is turned on, NMOS is turned off, and Out output is 1.
3. NAND gate
The truth table and circuit diagram of the NAND gate circuit are shown in the figure below. It can be simply remembered that the upper two PMOS are connected in parallel and the lower two NMOS are connected in series.
4. NOR gate
The truth table and circuit diagram of the NOR gate circuit are shown in the figure below. It can be simply remembered that the upper two PMOS are connected in series and the lower two NMOS are connected in parallel.