# Identifying source and drain terminals for MOSFET circuit [duplicate]

This is a circuit exercise from Razavi's book. He used to point to the direction of current leaving the source in his circuit for N type of MOSFETS. But here, I think the drawn arrow refers to the current leaving the drain. Now I am confused, why he made it like this? Is this even NMOS or PMOS?! Which method should I use to distinguish between source and drain?

Think about how a an NMOS is build up:

Note how drain and source are identical structures. The device is completely symmetrical, you can use the drain as the source and the other way round. It makes no difference.

Some people like the arrow to show the direction of current flow but that is not needed as the NMOS is symmetrical.

The arrow in the symbol refers to PN junction between source and bulk. LIke in a diode it points to the N-type silicon, which is the source in this case making it an NMOS.

If swapping drain and source makes more sense to you (and here it could because then Vgs becomes zero) then you can do so and that would not change anything to the behaviour of the circuit.

• If I do not swap drain and source, can I express VGS to be negative? Dec 25, 2016 at 20:34
• No, then it would simply be Vgd = zero. Dec 25, 2016 at 21:14
• Very few circuits would not be affected by reversing the direction of the body diode.
– CL.
Dec 25, 2016 at 23:39
• This is a mosfet as used for logic inside an IC. Discrete devices are built differently see earlier question referenced above.
– RoyC
Dec 26, 2016 at 0:10
• @CL Indeed like RoyC says, this concerns the MOSFETs as used in an Integrated circuit. Many discrete MOSFETs have a different build up (larger Drain usually) and Bulk and Source shorted. That makes the Drain Bulk diode form the "body diode" you mention. Then drain and source are different. But not in the more generic example as in Razavi's book which I know concerns itself only with integrated circuits. Dec 26, 2016 at 10:43