NMOS
NMOS logic refers to building the standard cells we need for our IC out of only N-type MOSFETs. This is a form of resistor-transistor logic, where the pulldown path uses an N type transistor, and the pullup path uses a resistor.
Here is how we can build an inverter from only N-type MOSFETS.
Input | Output |
---|---|
0 | 1 |
1 | 0 |
If the input is low, the gate is not charged and current doesn’t flow through the MOSFET. The resistor pulls up the output to make it high.
If the input is high, the gate is charged and the MOSFET conducts. This pulls the output low.
NMOS logic has the advantage that we don’t need to manufacture P type transistors and so the processing is cheaper and quicker to perform.
The disadvantage with NMOS logic is that the pullup resistors waste a tiny bit of current when the transistor is on. If you have millions of these then you are wasting electricity as heat and your chips get hot and slow down. CMOS was invented to solve this shortcoming. Another disadvantage is that the pulldown and pullup strengths are not well matched, leading to asymmetric waveforms. If we make the resistor smaller, so it pulls up more quickly, this wastes even more power.
To explore how this works for yourself, try my online SiliWiz tool - there’s a lesson about NMOS here.
Course feedback
I've really enjoyed the whole process, I've learned a lot. For a long time it’s been something I've wanted to do but the idea of just going at it on your own is a bit daunting. You're not really going to know what you're going to get out of it. And you're not going to know if what you've actually done is correct, so having an option to take a course with some other people has been a really great way of learning it.
Jamie Iles (digital course)