And that's the part of the story where I have to talk about
Latch-up in CMOS chips.
I'm trying to keep things simple and in hobbyist terms,
because that's all you might be going to need for hobby chip dissections.
If you realy want/need to know more, please go down the rabbit hole on wikipedia,
and read Fairchild application note AN-600 "Understanding Latch-UP in Advanced CMOS Logic" 1999.
Attachment:
an-600.pdf [52.48 KiB]
Downloaded 43 times
;---
With NMOS, the game was easy, because we only had NMOS FETs, and the whole chip was "N" ion implanted.
CMOS means "complementary MOS", so we have regions with NMOS FETs and regions with PMOS FETs.
Means that we have regions with "N" ion implantation, and regions with "P" ion implantation.
Let's call these regions "wells".
I think the N and P wells are not quite visible in the microscopic picture of the silicon.
When considering a cross section of the silicon, they are hidden inside the chip,
below the surface.
The visible N and P diffusion layer parts are just "the rocks showing out of the water",
while somehow being part of "the reef" which is a well below the surface of the chip.
I don't know how to identify which diffusion is N and which diffusion is P,
your best bet might be following the metal traces to the power supply pads.
From there, you only can guess where the wells inside the chip might be located.
For more details, please ask Frank.
But now back on topic.
When designing/building hardware, you need to be aware that the parts you are using
have certain physical/electrical characteristics.
And the trick is to make them characteristics work for you and not against you.
When a N well and a P well become neighbors, they form up a
diode.
If they form a N-P-N or P-N-P sequence, this gives you a
bipolar junction transistor.
Particulary dangerous is NPNP and PNPN, because this gives you a
thyristor.
Particularly dangerous, because thyristors are very good at triggering at a transient,
then permanently switching through a lot of current.
If you would have a parasitic thyristor in a CMOS chip layout by accident,
it usually would be sitting between GND and VCC,
waiting for a transient (especially during power_on and power_off)
just to have a reason for blasting the "enabling smoke" out of the chip,
in a cataclysmic event which is called "Latch-up".
Because of this, some effort has to go into preventing thyristors from sneaking
into a CMOS chip layout, but more about this later.