Logic Circuit

BR

Brave_Hamster

·

Created Sep 24, 2026

·

Updated Sep 24, 2026

Schematic preview for Logic Circuit
Details

Components

2


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

Tags

No tags yet.

About this circuit

The author hasn't added a description yet.

Components used

Components used
2 components
NameManufacturerMPNCountType

DC Voltage Source

Generic

—

1

Official

NAND Exp

—

—

1

User

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
V_V1 N1 0 dc 5 ac 0 0 distof1 0 0 distof2 0 0
X_X1 N1 0 N3 0 N1 NAND2x4
E_VP1 VP1 0 N3 0 1

**************************************************
* Models and supporting definitions follow
**************************************************
.subckt NAND2x4 A B OUT GND VCC VHIGH=5 VTH=2.5

    X1 A B OUT GND VCC NAND2 VTH={VTH}

.ends NAND2x4

* NAND 2-Input gate, ideal behavioral
.subckt NAND2 A1 B1 OUT1 GND1 VCC1 VTH=2.5
    BOUT OUT1 GND1 V = {(V(A1) > VTH) && (V(B1) > VTH) ? GND1 : V(VCC1)}
.ends NAND2

**************************************************
* Simulation settings
**************************************************
.tran 20u 100m 0 20u
.save V(VP1)
.end

Try this circuit yourself

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