* Z:\tmp\asc_dec_bjh7r6w2\1367de861198_Waveform_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N009 N006 50k
XU5 N001 0 +15 -15 SQR LT1007 ;pnba In+)In-)V+)V-)OUT
C3 N015 N005 100p
R10 N013 N015 2k
R7 SNIC TRI 10k
R13 N007 N012 55.5k
R14 N010 0 550
XU1 N010 N002 +15 -15 TRI LT1001 ;pnba In+)In-)V+)V-)OUT
R9 N008 N007 1k
R8 SIN 0 680
D2 N011 TRI 1N4148
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001.asy), XU5 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1007.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1588 728
WIRE 992 -176 992 -208
WIRE 1136 -128 1040 -128
WIRE 400 -112 368 -112
WIRE 496 -112 464 -112
WIRE 736 -64 736 -112
WIRE 736 -64 672 -64
WIRE 800 -64 736 -64
WIRE 992 -64 992 -96
WIRE 992 -64 944 -64
WIRE 1040 -64 1040 -128
WIRE 1040 -64 992 -64
WIRE 1104 -64 1040 -64
WIRE -304 -32 -304 -64
WIRE 160 -32 128 -32
WIRE 256 -32 224 -32
WIRE 368 -32 368 -112
WIRE 400 -32 368 -32
WIRE 496 -32 496 -112
WIRE 496 -32 480 -32
WIRE 800 -32 800 -64
WIRE 1104 -32 1104 -64
WIRE 672 0 672 -64
WIRE 256 16 256 -32
WIRE 496 16 496 -32
WIRE -32 32 -64 32
WIRE 64 32 48 32
WIRE 128 32 128 -32
WIRE 128 32 64 32
WIRE 256 64 256 16
WIRE 272 64 256 64
WIRE 368 64 368 -32
WIRE 368 64 352 64
WIRE 496 64 496 16
WIRE 528 64 496 64
WIRE 800 64 800 48
WIRE 944 64 944 -64
WIRE 976 64 944 64
WIRE -304 80 -304 48
WIRE -304 80 -352 80
WIRE -256 80 -304 80
WIRE -64 80 -64 32
WIRE -64 80 -192 80
WIRE 1104 80 1104 48
WIRE 1104 80 1040 80
WIRE -480 96 -512 96
WIRE -384 96 -400 96
WIRE 128 96 128 32
WIRE 160 96 128 96
WIRE 368 96 368 64
WIRE 400 96 368 96
WIRE 976 96 944 96
WIRE -256 112 -256 80
WIRE -192 112 -192 80
WIRE 256 112 256 64
WIRE 256 112 224 112
WIRE 496 112 496 64
WIRE 496 112 464 112
WIRE -64 128 -64 80
WIRE -32 128 -64 128
WIRE 128 128 48 128
WIRE 160 128 128 128
WIRE 400 128 368 128
WIRE 672 128 672 64
WIRE 752 128 672 128
WIRE 1104 128 1104 80
WIRE 128 144 128 128
WIRE -624 160 -672 160
WIRE -512 160 -512 96
WIRE -512 160 -544 160
WIRE -384 160 -384 96
WIRE -320 160 -384 160
WIRE -96 160 -128 160
WIRE 880 160 800 160
WIRE 368 176 368 128
WIRE 672 176 672 128
WIRE 800 176 800 160
WIRE -512 208 -512 160
WIRE -480 208 -512 208
WIRE -96 208 -96 160
WIRE -384 224 -384 160
WIRE -384 224 -416 224
WIRE -480 240 -512 240
WIRE -256 240 -256 208
WIRE -224 240 -256 240
WIRE -192 240 -192 208
WIRE -192 240 -224 240
WIRE 64 240 64 32
WIRE 128 240 128 224
WIRE 944 240 944 96
WIRE 1024 240 944 240
WIRE 1104 240 1104 208
WIRE 1104 240 1024 240
WIRE -224 256 -224 240
WIRE -512 288 -512 240
WIRE 1024 288 1024 240
WIRE 208 304 112 304
WIRE 528 304 528 64
WIRE 528 304 272 304
WIRE 672 304 672 240
WIRE 800 304 800 256
WIRE -352 352 -352 80
WIRE -320 352 -352 352
WIRE -224 352 -224 336
WIRE -224 352 -256 352
WIRE 1024 400 1024 368
WIRE -352 464 -352 352
WIRE -320 464 -352 464
WIRE -224 480 -224 352
WIRE -224 480 -256 480
WIRE -320 496 -352 496
WIRE -352 528 -352 496
SYMBOL res 1120 224 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R1
SYMATTR Value 50k
SYMBOL Opamps\\LT1007 432 176 M180
SYMATTR InstName U5
SYMBOL cap -256 336 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C3
SYMATTR Value 100p
SYMBOL res -240 240 R0
SYMATTR InstName R10
SYMATTR Value 2k
SYMBOL res 1008 -80 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res -528 144 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R13
SYMATTR Value 55.5k
SYMBOL res 112 128 R0
SYMATTR InstName R14
SYMATTR Value 550
SYMBOL Opamps\\LT1001 192 48 R0
SYMATTR InstName U1
SYMBOL res -384 80 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL res 784 160 R0
SYMATTR InstName R8
SYMATTR Value 680
SYMBOL diode 688 64 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D2
SYMATTR Value 1N4148
FLAG 192 144 -15
FLAG 192 80 +15
FLAG 432 80 -15
FLAG 432 144 +15
FLAG 368 176 0
FLAG 128 240 0
FLAG -288 448 +15
FLAG -288 512 -15
FLAG -96 208 0
FLAG -304 -64 +15
FLAG -448 256 -15
FLAG -448 192 +15
FLAG -512 288 0
FLAG 256 16 TRI
FLAG 672 304 0
FLAG 800 304 0
FLAG 736 -112 TRI
FLAG 880 160 SIN
FLAG 496 16 SQR
FLAG 1008 112 -15
FLAG 1008 48 +15
FLAG -352 528 0
FLAG 992 -208 TRI
FLAG 1136 -128 SNIC
FLAG 1024 400 0