* SPICE netlist
VCC VCC 0 {VCC}
V_BIT0 IN 0 PULSE(0 {VCC} 0 {rise} {rise} {on_time-rise} {cycle_time}) AC 5
Q2 O1 N021 0 0 2N3904
D1 N021 O1 BAT54
Q1 VCC N007 N014 0 2N3904
R3 VCC O1 100
R1 N014 N021 220
R2 N021 0 220
C2 OUT 0 50p
Q7 0 N002 N007 0 2N3906
Q8 0 N001 N007 0 2N3906
R5 VCC N007 520
C1 OUT_NN 0 50p
Q25 N003 N015 0 0 2N3904
D6 N015 N003 BAT54
Q26 VCC IN N008 0 2N3904
R21 VCC N003 100
R22 N008 N015 220
R23 N015 0 220
Q27 N001 N016 0 0 2N3904
D7 N016 N001 BAT54
Q28 VCC N003 N009 0 2N3904
R24 VCC N001 100
R25 N009 N016 220
R26 N016 0 220
Q29 N004 N017 0 0 2N3904
D8 N017 N004 BAT54
Q30 VCC N001 N010 0 2N3904
R27 VCC N004 100
R28 N010 N017 220
R29 N017 0 220
Q31 N005 N018 0 0 2N3904
D9 N018 N005 BAT54
Q32 VCC N004 N011 0 2N3904
R30 VCC N005 100
R31 N011 N018 220
R32 N018 0 220
Q33 N006 N019 0 0 2N3904
D10 N019 N006 BAT54
Q34 VCC N005 N012 0 2N3904
R33 VCC N006 100
R34 N012 N019 220
R35 N019 0 220
Q35 N002 N020 0 0 2N3904
D11 N020 N002 BAT54
Q36 VCC N006 N013 0 2N3904
R36 VCC N002 100
R37 N013 N020 220
R38 N020 0 220
Q37 O2 N023 0 0 2N3904
D12 N023 O2 BAT54
Q38 VCC N001 N022 0 2N3904
R39 VCC O2 100
R40 N022 N023 220
R41 N023 0 220
Q39 VCC N002 N022 0 2N3904
.tran {4*cycle_time}
.param VCC=3.3
.param on_time=100n
.param rise=1n
.step temp -25 125 25
.param cycle_time=500n

* LTspice schematic (.asc)
Version 4
SHEET 1 6864 3536
WIRE -1656 -1768 -1672 -1768
WIRE -1640 -1768 -1656 -1768
WIRE -1512 -1768 -1528 -1768
WIRE -1496 -1768 -1512 -1768
WIRE -1672 -1640 -1672 -1768
WIRE -1528 -1640 -1528 -1768
WIRE -1672 -1368 -1672 -1576
WIRE -1528 -1368 -1528 -1576
WIRE -2120 -936 -2120 -968
WIRE -2120 -840 -2120 -856
WIRE 680 888 -2040 888
WIRE 2536 888 680 888
WIRE 2584 984 904 984
WIRE -3160 1080 -3400 1080
WIRE -2872 1080 -3160 1080
WIRE -2504 1080 -2872 1080
WIRE -2216 1080 -2504 1080
WIRE -1832 1080 -2216 1080
WIRE -1544 1080 -1832 1080
WIRE -1176 1080 -1544 1080
WIRE -888 1080 -1176 1080
WIRE -504 1080 -888 1080
WIRE -216 1080 -504 1080
WIRE 152 1080 -216 1080
WIRE 440 1080 152 1080
WIRE 1208 1080 440 1080
WIRE 1656 1080 1208 1080
WIRE 1944 1080 1656 1080
WIRE 2824 1080 1944 1080
WIRE 2984 1080 2824 1080
WIRE 3272 1080 2984 1080
WIRE 1208 1128 1208 1080
WIRE -2872 1144 -2872 1080
WIRE -2216 1144 -2216 1080
WIRE -1544 1144 -1544 1080
WIRE -888 1144 -888 1080
WIRE -216 1144 -216 1080
WIRE 440 1144 440 1080
WIRE 1944 1144 1944 1080
WIRE 3272 1192 3272 1080
WIRE 2824 1208 2824 1080
WIRE -3160 1240 -3160 1080
WIRE -2504 1240 -2504 1080
WIRE -1832 1240 -1832 1080
WIRE -1176 1240 -1176 1080
WIRE -504 1240 -504 1080
WIRE 152 1240 152 1080
WIRE 1656 1240 1656 1080
WIRE 2584 1256 2584 984
WIRE 2760 1256 2584 1256
WIRE -3384 1288 -3432 1288
WIRE -3224 1288 -3384 1288
WIRE -2872 1288 -2872 1224
WIRE -2568 1288 -2872 1288
WIRE -2216 1288 -2216 1224
WIRE -2040 1288 -2040 888
WIRE -2040 1288 -2216 1288
WIRE -1896 1288 -2040 1288
WIRE -1544 1288 -1544 1224
WIRE -1240 1288 -1544 1288
WIRE -888 1288 -888 1224
WIRE -568 1288 -888 1288
WIRE -216 1288 -216 1224
WIRE 88 1288 -216 1288
WIRE 440 1288 440 1224
WIRE 904 1288 904 984
WIRE 904 1288 440 1288
WIRE 1208 1288 1208 1208
WIRE 1592 1288 1208 1288
WIRE 1208 1320 1208 1288
WIRE 1208 1320 1080 1320
WIRE 1944 1336 1944 1224
WIRE 2040 1336 1944 1336
WIRE 2104 1336 2040 1336
WIRE 2984 1336 2984 1080
WIRE 3272 1336 3272 1272
WIRE 3368 1336 3272 1336
WIRE 3432 1336 3368 1336
WIRE 1208 1352 1208 1320
WIRE -3160 1384 -3160 1336
WIRE -2504 1384 -2504 1336
WIRE -1832 1384 -1832 1336
WIRE -1176 1384 -1176 1336
WIRE -504 1384 -504 1336
WIRE 152 1384 152 1336
WIRE 1656 1384 1656 1336
WIRE 2536 1384 2536 888
WIRE 2920 1384 2536 1384
WIRE 904 1400 904 1288
WIRE 1144 1400 904 1400
WIRE -2968 1448 -3032 1448
WIRE -2872 1448 -2872 1288
WIRE -2872 1448 -2904 1448
WIRE -2312 1448 -2376 1448
WIRE -2216 1448 -2216 1288
WIRE -2216 1448 -2248 1448
WIRE -1640 1448 -1704 1448
WIRE -1544 1448 -1544 1288
WIRE -1544 1448 -1576 1448
WIRE -984 1448 -1048 1448
WIRE -888 1448 -888 1288
WIRE -888 1448 -920 1448
WIRE -312 1448 -376 1448
WIRE -216 1448 -216 1288
WIRE -216 1448 -248 1448
WIRE 344 1448 280 1448
WIRE 440 1448 440 1288
WIRE 440 1448 408 1448
WIRE 1848 1448 1784 1448
WIRE 1944 1448 1944 1336
WIRE 1944 1448 1912 1448
WIRE 2824 1464 2824 1304
WIRE 2984 1464 2984 1432
WIRE 2984 1464 2824 1464
WIRE -2872 1496 -2872 1448
WIRE -2216 1496 -2216 1448
WIRE -1544 1496 -1544 1448
WIRE -888 1496 -888 1448
WIRE -216 1496 -216 1448
WIRE 440 1496 440 1448
WIRE 1944 1496 1944 1448
WIRE 2984 1496 2984 1464
WIRE 3176 1496 3112 1496
WIRE 3272 1496 3272 1336
WIRE 3272 1496 3240 1496
WIRE 1080 1528 1080 1320
WIRE -3160 1544 -3160 1464
WIRE -3032 1544 -3032 1448
WIRE -3032 1544 -3160 1544
WIRE -2936 1544 -3032 1544
WIRE -2504 1544 -2504 1464
WIRE -2376 1544 -2376 1448
WIRE -2376 1544 -2504 1544
WIRE -2280 1544 -2376 1544
WIRE -1832 1544 -1832 1464
WIRE -1704 1544 -1704 1448
WIRE -1704 1544 -1832 1544
WIRE -1608 1544 -1704 1544
WIRE -1176 1544 -1176 1464
WIRE -1048 1544 -1048 1448
WIRE -1048 1544 -1176 1544
WIRE -952 1544 -1048 1544
WIRE -504 1544 -504 1464
WIRE -376 1544 -376 1448
WIRE -376 1544 -504 1544
WIRE -280 1544 -376 1544
WIRE 152 1544 152 1464
WIRE 280 1544 280 1448
WIRE 280 1544 152 1544
WIRE 376 1544 280 1544
WIRE 1656 1544 1656 1464
WIRE 1784 1544 1784 1448
WIRE 1784 1544 1656 1544
WIRE 1880 1544 1784 1544
WIRE 3272 1544 3272 1496
WIRE 680 1576 680 888
WIRE 1016 1576 680 1576
WIRE 2984 1592 2984 1576
WIRE 3112 1592 3112 1496
WIRE 3112 1592 2984 1592
WIRE 3208 1592 3112 1592
WIRE -3160 1608 -3160 1544
WIRE -2504 1608 -2504 1544
WIRE -1832 1608 -1832 1544
WIRE -1176 1608 -1176 1544
WIRE -504 1608 -504 1544
WIRE 152 1608 152 1544
WIRE 1656 1608 1656 1544
WIRE 2984 1624 2984 1592
WIRE -3160 1736 -3160 1688
WIRE -3160 1736 -3432 1736
WIRE -2872 1736 -2872 1592
WIRE -2872 1736 -3160 1736
WIRE -2504 1736 -2504 1688
WIRE -2504 1736 -2872 1736
WIRE -2216 1736 -2216 1592
WIRE -2216 1736 -2504 1736
WIRE -1832 1736 -1832 1688
WIRE -1832 1736 -2216 1736
WIRE -1544 1736 -1544 1592
WIRE -1544 1736 -1832 1736
WIRE -1176 1736 -1176 1688
WIRE -1176 1736 -1544 1736
WIRE -888 1736 -888 1592
WIRE -888 1736 -1176 1736
WIRE -504 1736 -504 1688
WIRE -504 1736 -888 1736
WIRE -216 1736 -216 1592
WIRE -216 1736 -504 1736
WIRE 152 1736 152 1688
WIRE 152 1736 -216 1736
WIRE 440 1736 440 1592
WIRE 440 1736 152 1736
WIRE 1080 1736 1080 1624
WIRE 1080 1736 440 1736
WIRE 1208 1736 1208 1448
WIRE 1208 1736 1080 1736
WIRE 1656 1736 1656 1688
WIRE 1656 1736 1208 1736
WIRE 1944 1736 1944 1592
WIRE 1944 1736 1656 1736
WIRE 2984 1736 2984 1704
WIRE 2984 1736 1944 1736
WIRE 3272 1736 3272 1640
WIRE 3272 1736 2984 1736
WIRE 3432 1736 3272 1736
WIRE -3432 1768 -3432 1736
FLAG -2120 -840 0
FLAG -1240 -968 IN
FLAG -2120 -968 VCC
FLAG -1320 -968 0
FLAG 2040 1336 O1
FLAG -1656 -1768 OUT
FLAG -1672 -1368 0
FLAG -1512 -1768 OUT_NN
FLAG -1528 -1368 0
FLAG -3400 1080 VCC
FLAG -3384 1288 IN
FLAG -3432 1768 0
FLAG 3368 1336 O2
SYMBOL voltage -2120 -952 R0
SYMATTR InstName VCC
SYMATTR Value {VCC}
SYMBOL voltage -1224 -968 R90
SYMATTR Value2 AC 5
SYMATTR InstName V_BIT0
SYMATTR Value PULSE(0 {VCC} 0 {rise} {rise} {on_time-rise} {cycle_time})
SYMBOL npn 1880 1496 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL schottky 1848 1464 R270
SYMATTR InstName D1
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 1592 1240 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 1928 1128 R0
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL res 1640 1368 R0
SYMATTR InstName R1
SYMATTR Value 220
SYMBOL res 1640 1592 R0
SYMATTR InstName R2
SYMATTR Value 220
SYMBOL cap -1688 -1640 R0
SYMATTR InstName C2
SYMATTR Value 50p
SYMBOL pnp 1144 1448 M180
SYMATTR InstName Q7
SYMATTR Value 2N3906
SYMBOL pnp 1016 1624 M180
SYMATTR InstName Q8
SYMATTR Value 2N3906
SYMBOL res 1192 1112 R0
SYMATTR InstName R5
SYMATTR Value 520
SYMBOL cap -1544 -1640 R0
SYMATTR InstName C1
SYMATTR Value 50p
SYMBOL npn -2936 1496 R0
SYMATTR InstName Q25
SYMATTR Value 2N3904
SYMBOL schottky -2968 1464 R270
SYMATTR InstName D6
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -3224 1240 R0
SYMATTR InstName Q26
SYMATTR Value 2N3904
SYMBOL res -2888 1128 R0
SYMATTR InstName R21
SYMATTR Value 100
SYMBOL res -3176 1368 R0
SYMATTR InstName R22
SYMATTR Value 220
SYMBOL res -3176 1592 R0
SYMATTR InstName R23
SYMATTR Value 220
SYMBOL npn -2280 1496 R0
SYMATTR InstName Q27
SYMATTR Value 2N3904
SYMBOL schottky -2312 1464 R270
SYMATTR InstName D7
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -2568 1240 R0
SYMATTR InstName Q28
SYMATTR Value 2N3904
SYMBOL res -2232 1128 R0
SYMATTR InstName R24
SYMATTR Value 100
SYMBOL res -2520 1368 R0
SYMATTR InstName R25
SYMATTR Value 220
SYMBOL res -2520 1592 R0
SYMATTR InstName R26
SYMATTR Value 220
SYMBOL npn -1608 1496 R0
SYMATTR InstName Q29
SYMATTR Value 2N3904
SYMBOL schottky -1640 1464 R270
SYMATTR InstName D8
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -1896 1240 R0
SYMATTR InstName Q30
SYMATTR Value 2N3904
SYMBOL res -1560 1128 R0
SYMATTR InstName R27
SYMATTR Value 100
SYMBOL res -1848 1368 R0
SYMATTR InstName R28
SYMATTR Value 220
SYMBOL res -1848 1592 R0
SYMATTR InstName R29
SYMATTR Value 220
SYMBOL npn -952 1496 R0
SYMATTR InstName Q31
SYMATTR Value 2N3904
SYMBOL schottky -984 1464 R270
SYMATTR InstName D9
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -1240 1240 R0
SYMATTR InstName Q32
SYMATTR Value 2N3904
SYMBOL res -904 1128 R0
SYMATTR InstName R30
SYMATTR Value 100
SYMBOL res -1192 1368 R0
SYMATTR InstName R31
SYMATTR Value 220
SYMBOL res -1192 1592 R0
SYMATTR InstName R32
SYMATTR Value 220
SYMBOL npn -280 1496 R0
SYMATTR InstName Q33
SYMATTR Value 2N3904
SYMBOL schottky -312 1464 R270
SYMATTR InstName D10
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -568 1240 R0
SYMATTR InstName Q34
SYMATTR Value 2N3904
SYMBOL res -232 1128 R0
SYMATTR InstName R33
SYMATTR Value 100
SYMBOL res -520 1368 R0
SYMATTR InstName R34
SYMATTR Value 220
SYMBOL res -520 1592 R0
SYMATTR InstName R35
SYMATTR Value 220
SYMBOL npn 376 1496 R0
SYMATTR InstName Q35
SYMATTR Value 2N3904
SYMBOL schottky 344 1464 R270
SYMATTR InstName D11
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 88 1240 R0
SYMATTR InstName Q36
SYMATTR Value 2N3904
SYMBOL res 424 1128 R0
SYMATTR InstName R36
SYMATTR Value 100
SYMBOL res 136 1368 R0
SYMATTR InstName R37
SYMATTR Value 220
SYMBOL res 136 1592 R0
SYMATTR InstName R38
SYMATTR Value 220
SYMBOL npn 3208 1544 R0
SYMATTR InstName Q37
SYMATTR Value 2N3904
SYMBOL schottky 3176 1512 R270
SYMATTR InstName D12
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 2920 1336 R0
SYMATTR InstName Q38
SYMATTR Value 2N3904
SYMBOL res 3256 1176 R0
SYMATTR InstName R39
SYMATTR Value 100
SYMBOL res 2968 1480 R0
SYMATTR InstName R40
SYMATTR Value 220
SYMBOL res 2968 1608 R0
SYMATTR InstName R41
SYMATTR Value 220
SYMBOL npn 2760 1208 R0
SYMATTR InstName Q39
SYMATTR Value 2N3904