NAND

FR

fran23

·

Created Sep 18, 2026

·

Updated Sep 18, 2026

Schematic preview for NAND
Details

Components

1


Schematic

Yes


Simulation

Interactive operating point


Copies

Not copied yet

Tags

No tags yet.

About this circuit

A logic threshold demo sweeping one input while the other two inputs stay high, showing the NAND output transition.

Components used

Components used
1 component
NameManufacturerMPNCountType

NAND 2-Input

Generic

1

Official

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_A N3 0 TOGGLEABLE_DIGITAL_CONSTANT state=0 logicLow=0 logicHigh=5
X_B N2 0 TOGGLEABLE_DIGITAL_CONSTANT state=0 logicLow=0 logicHigh=5
R_RLOAD N4 0 10K
X_U1 N3 N2 N4 NAND2 VHIGH=5 VTH=2.5
APROBE_DP1 [N3] [d_DP1] AMODEL_DP1
APROBE_DP2 [N2] [d_DP2] AMODEL_DP2
APROBE_DP4 [N4] [d_DP4] AMODEL_DP4

**************************************************
* Models and supporting definitions follow
**************************************************
* Toggleable digital constant logic-level source
.subckt TOGGLEABLE_DIGITAL_CONSTANT OUT GND PARAMS: state=0 logicLow=0 logicHigh=5
    BOUT OUT GND V = {logicLow+(logicHigh-logicLow)*state}
.ends TOGGLEABLE_DIGITAL_CONSTANT
* NAND 2-Input gate, ideal behavioral
.subckt NAND2 A B OUT VHIGH=5 VTH=2.5
    BOUT OUT 0 V = {(V(A) > VTH) && (V(B) > VTH) ? 0 : VHIGH}
.ends NAND2
.model AMODEL_DP1 adc_bridge(in_low=3.3 in_high=3.3)
.model AMODEL_DP2 adc_bridge(in_low=3.3 in_high=3.3)
.model AMODEL_DP4 adc_bridge(in_low=3.3 in_high=3.3)

**************************************************
* Simulation settings
**************************************************
.op
.save V(N3) V(N2) V(N4)
.end

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.