example 2
BR
brunnera
·
Created Aug 29, 2026
·
Updated Aug 30, 2026

Details
Components
3
Schematic
Yes
Simulation
Interactive
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
**************************************************
R_SW1 N2 N1 100u
V_U1 N1 0 DC 5
X_U2 N2 N3 INV VHIGH=5 VTH=2.5 RiseDelay=1e-9 FallDelay=1e-9
APROBE_DP1 [N3] [d_DP1] AMODEL_DP1
**************************************************
* Models and supporting definitions follow
**************************************************
* Generic digital inverter (NOT gate) with normalized propagation delay
.subckt INV IN OUT VHIGH=5 VTH=2.5 RiseDelay=1e-9 FallDelay=1e-9
BTARGET TARGET 0 V = {(V(IN) > VTH) ? 0 : VHIGH}
GDELAY STATE 0 VALUE = {(V(TARGET) > V(STATE)) ? (V(STATE)-V(TARGET))/(((RiseDelay > 1e-15) ? RiseDelay : 1e-15)/(0.69314718056*1e-9)) : (V(STATE)-V(TARGET))/(((FallDelay > 1e-15) ? FallDelay : 1e-15)/(0.69314718056*1e-9))}
CDELAY STATE 0 1n
BOUT OUT 0 V = {(V(STATE) >= VHIGH/2) ? VHIGH : 0}
.ends INV
.model AMODEL_DP1 adc_bridge(in_low=0.8 in_high=2)
**************************************************
* Simulation settings
**************************************************
.options rshunt=1e12
.tran 20u 1e12 0 20u
.save time V(N3)
.endTry this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.