Browser compatibility warning: CircuitLab may not work as expected in your web browser. Please see our System Requirements.
Created by
Created November 13, 2011
Last modified June 08, 2017
Tags cmos   digital   mosfet  

Summary

Two n-channel MOSFETs and two complementary p-channel MOSFETs form a two-input CMOS NAND logic gate.


Description

When both in_A and in_B are high, the output voltage is pulled low via M1 and M2. Otherwise, the output voltage pulled high via M3 and/or M4.

A few things to try in CircuitLab

Load the simulation by clicking "Open in editor" above, and then click "Simulate" at the bottom. Run a time domain simulation.

Verify digital operation

Plot in_A, in_B, and out versus time. You should verify that the logic performs the correct operation.

Power consumption

How much current is consumed? Compare to the MOSFET-and-resistor versions of the gate (see below).

See also

MOSFET and resistor NAND gate:

MOSFET (CMOS) NOR gate:

MOSFET and resistor NOR gate:


Comments

No comments yet. Be the first!

Leave a Comment

Please sign in or create an account to comment.

Revision History

Only the circuit's creator can access stored revision history.