This is an example of a ternary logic gate implemented using MOSFETs that have specified threshold voltages. The input of this gate has three states: 0 (ground), 1 (2.5 V), and 2 (5 V). This is an inverter; if the input is X, the output is 2-X. When the input is 2, the n-MOSFET in the lower right corner pulls the output to ground (the MOSFET turns on when the gate voltage is 3.25 V or higher). When the input is 0, this MOSFET turns off, and the p-MOSFET at the top pulls the output to 5 V (the MOSFET turns on when the gate voltage is below 5-3.25 V, or 1.75 V). When the input is 1, both MOSFETs on the right are off, but the two MOSFETs on the left turn on, pulling the output to 2.5 V.
This page is a utility for simulating инвертор с тернарной логикой online with specified initial values.








Comments