Pin assignment

SPICE has a bug in Pin Assignment!

The new design to operate Depletion MOSFETs as digital switches, however, would be rejected by SPICE due to its bug in the pin assignment. The inventor of CMOS positive logic technology is absolutely not crazy to claim that there is a bug in SPICE because he had proved it in silicon in 2008 through the C5 process offered by ON Semiconductor.

Before SPICE executing the circuit simulation, the source pin and the drain pin of each MOSFET must be identified first. Due to the symmetrical structure of MOSFET, these two pins are inter-changeable in practice and the definition for the name of source and drain is only nomenclature and immaterial. But SPICE insists that the source pin of an N type MOSFET must be tied to the lowest voltage of the circuit and the source pin of a P type MOSFET must be tied to the highest voltage source, regardless of its operating mode and THAT is the rule.

Cross-section of a depletion MOSFET showing the gate, two P regions, the silicon substrate, and two unidentified pins labelled with question marks

The mistake of SPICE can be demonstrated by the circuit shown in the following. This circuit is the simplest circuit using a PD as a buffer. SPICE insists that because it is a P type MOSFET, the output pin must be the source pin and the ground pin must be the drain pin of PD.

When the input pin is tied to +V, since the output voltage can't get higher than +V, Vgs is always positive and there will be a current of Ids flowing through the channel. Since the current of Ids will cause a voltage drop across the loading resistor, the output voltage will be reduced from +V and Vgs will be positive all the time. And from the transfer characteristics of PD, we know that Ids will be reduced as a result. But, regardless of how much the current Ids is being reduced, it will never become 0. As soon as it becomes zero, the voltage at output will become +V so that Vgs will become zero and a current of Idss will flow through the channel again, and the voltage at output pin will become less than +V as a result.

Likewise, when the input pin is tied to 0, Vgs will be always negative and an output current larger than Idss will flow through the P channel. SPICE predicts that there will always be a current of Ids flowing through the channel of PD in the simplest switching circuit; the PD will never be pinched off and the output voltage will never become +V when the input voltage is varied within the range from 0 to +V.

A depletion MOSFET wired as a simple buffer with load resistor and output node, beside a plot of the transfer characteristics of PD showing drain current against gate voltage
A PD as a buffer, and the transfer characteristics of PD

However, if we examine the physical structure of PD as shown in the following, we can see clearly that SPICE must have made a mistake.

When the Gate input is tied to +V, electrons will be induced and concentrated near the surface between insulator and P channel to neutralize the holes in P channel. An electrically neutralized region free of mobile current carrier will be formed as a result. The neutralized region could even become large enough to pinch off the P channel completely. The phenomenon of pinch-off of conduction channel could occur, regardless of how we name the pins!

As to the output pin, since its potential is always higher than 0, pinch-off will always occur at the junction between Gate input and the ground terminal first, long before the junction between Gate input and the output pin will become pinched off.

Cross-section of a P type depletion MOSFET showing the P channel under the gate, the induced electrons beneath the insulator, the surrounding N well, the load resistor at the output, and the pinch-off region near the ground terminal
The pinch-off of P type depletion MOSFET

From this example, it is clear that the ground pin should be the source pin of PD because it is the pinch-off of channel that produces the change of logic state and pinch-off occurs at the ground pin first. If we follow this new assignment, everything will make sense.

When the Gate input is tied to +V, a large positive VGS will pinch off the Depletion MOSFET as expected and the Output pin will have a high voltage output of +V.

When the Gate input is tied to 0, VGS will become 0 V so that a large current of IDSS will flow through the P channel and the Output pin will be connected to ground terminal through the P channel and have a low voltage output of 0V.

Cross-section of a P type depletion MOSFET in conduction, showing the P+ regions, the P channel beneath the gate insulator, and the surrounding N well
Conduction in the P type depletion MOSFET

The inventor had proved the digital switching operation of PD as early as 2008 by creating a defective and leaky Enhancement MOSFET as a Depletion MOSFET to prove the new concept.

In a summary, the correct pin assignment for MOSFET should be as shown below:

  • The source pin of PD is the pin with the lowest voltage;
  • the source pin of NE is the pin with the lowest voltage;
  • the source pin of ND is the pin with the highest voltage;
  • the source pin of PE is the pin with the highest voltage.

Once the pin assignment in each device model of MOSFET is corrected, it should be verified through one of four switching circuits shown below to verify the accuracy of SPICE.

PD configured as a buffer and NE configured as an inverter, each with an input, an output node across a load resistor, and a +V supply rail
PD as a buffer and NE as an inverter
ND configured as a buffer and PE configured as an inverter, each with an input, an output node across a load resistor, and a +V supply rail
ND as a buffer and PE as an inverter