half adder
A-
arav -singh
·
Created Sep 3, 2026
·
Updated Sep 3, 2026

Details
Components
3
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
3 components
NameManufacturerMPNCountType
SPICE netlist
* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_U2 N1 N2 N3 AND2 VHIGH=5 VTH=2.5
V_U3 N1 0 DC 5
V_U4 N2 0 DC 5
X_U5 N1 N2 N4 XOR2 VHIGH=5 VTH=2.5
APROBE_DP1 [N4] [d_DP1] AMODEL_DP1
APROBE_DP2 [N3] [d_DP2] AMODEL_DP2
**************************************************
* Models and supporting definitions follow
**************************************************
* AND 2-Input gate, ideal behavioral
.subckt AND2 A B OUT VHIGH=5 VTH=2.5
BOUT OUT 0 V = {((V(A) > VTH) && (V(B) > VTH)) ? VHIGH : 0}
.ends AND2
* XOR 2-Input gate, ideal behavioral
.subckt XOR2 A B OUT VHIGH=5 VTH=2.5
BOUT OUT 0 V = {((V(A) > VTH) != (V(B) > VTH)) ? VHIGH : 0}
.ends XOR2
.model AMODEL_DP1 adc_bridge(in_low=0.8 in_high=2)
.model AMODEL_DP2 adc_bridge(in_low=0.8 in_high=2)
**************************************************
* Simulation settings
**************************************************
.tran 100u 100m 0
.save time V(N4) V(N3)
.endTry this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.