* Z:\tmp\asc_dec_bjh7r6w2\0192396b22ce_Amplifier_Square_Wave_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R11 vb10 Vout 33
Q3 N005 Vb3 N002 0 2N5401C
Q5 Vb8 N006 N008 0 2N5551C
Vneg 0 N011 35
R14 Vout vb 0.33
Q4 N008 N009 N010 0 2N5551C
R5 N001 N002 620
Voffset N007 0 0.00383
R9 N001 Vb6 62
Vin VIN N007 PULSE(-0.05 0.05 0 10ns 10ns 10u 20u 4)
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2428 1420
WIRE -128 -224 -352 -224
WIRE 256 -224 -128 -224
WIRE 416 -224 256 -224
WIRE 608 -224 416 -224
WIRE 416 -192 416 -224
WIRE -128 -176 -128 -224
WIRE -352 -128 -352 -224
WIRE 256 -128 256 -224
WIRE 352 -80 320 -80
WIRE 416 -80 416 -112
WIRE 416 -80 352 -80
WIRE -128 -64 -128 -96
WIRE 416 -32 416 -80
WIRE -352 -16 -352 -64
WIRE -256 -16 -352 -16
WIRE -192 -16 -256 -16
WIRE 256 16 256 -32
WIRE -352 32 -352 -16
WIRE 720 96 720 -224
WIRE 560 144 416 144
WIRE 656 144 560 144
WIRE -352 160 -352 112
WIRE 720 224 720 192
WIRE 816 224 720 224
WIRE 864 224 816 224
WIRE 720 272 720 224
WIRE -128 288 -128 32
WIRE -592 448 -608 448
WIRE -384 448 -592 448
WIRE 720 448 720 352
WIRE 720 448 304 448
WIRE 928 448 928 384
WIRE 1040 448 928 448
WIRE 1152 448 1040 448
WIRE 720 480 720 448
WIRE 928 480 928 448
WIRE 928 480 720 480
WIRE 416 496 416 144
WIRE 528 496 416 496
WIRE -608 512 -608 448
WIRE 528 512 528 496
WIRE 416 576 416 496
WIRE 528 624 528 592
WIRE 528 624 480 624
WIRE -608 640 -608 592
WIRE 928 640 928 480
WIRE 528 656 528 624
WIRE 720 688 720 480
WIRE 928 736 928 720
WIRE -608 752 -608 720
WIRE 416 752 416 672
WIRE 528 752 528 736
WIRE 528 752 416 752
WIRE 928 752 928 736
WIRE 720 800 720 768
WIRE 800 800 720 800
WIRE 864 800 800 800
WIRE 720 832 720 800
WIRE 416 880 416 752
WIRE 576 880 416 880
WIRE 256 896 192 896
WIRE 416 896 416 880
WIRE 416 896 320 896
WIRE 416 992 416 896
WIRE 192 1040 192 896
WIRE 192 1040 -96 1040
WIRE 352 1040 192 1040
WIRE 1152 1040 1024 1040
WIRE 1024 1104 1024 1040
WIRE 1152 1104 1152 1040
WIRE 416 1120 416 1088
WIRE 1152 1280 1152 1184
WIRE 1152 1280 928 1280
SYMBOL res 704 256 R0
SYMATTR InstName R11
SYMATTR Value 33
SYMBOL pnp -192 32 M180
SYMATTR InstName Q3
SYMATTR Value 2N5401C
SYMBOL npn 480 576 M0
SYMATTR InstName Q5
SYMATTR Value 2N5551C
SYMBOL voltage 1152 1088 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 41 48 Left 0
WINDOW 3 51 87 Left 0
SYMATTR InstName Vneg
SYMATTR Value 35
SYMBOL res 912 624 R0
SYMATTR InstName R14
SYMATTR Value 0.33
SYMBOL npn 352 992 R0
SYMATTR InstName Q4
SYMATTR Value 2N5551C
SYMBOL res -144 -192 R0
SYMATTR InstName R5
SYMATTR Value 620
SYMBOL voltage -608 624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 44 42 Left 0
WINDOW 3 48 75 Left 0
SYMATTR InstName Voffset
SYMATTR Value 0.00383
SYMBOL res 400 -208 R0
SYMATTR InstName R9
SYMATTR Value 62
SYMBOL voltage -608 496 R0
WINDOW 123 44 66 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -575 85 Left 0
WINDOW 0 46 33 Left 0
SYMATTR Value PULSE(-0.05 0.05 0 10ns 10ns 10u 20u 4)
SYMATTR InstName Vin
FLAG -608 752 0
FLAG -592 448 VIN
FLAG -352 160 0
FLAG 1024 1104 0
FLAG 928 736 vb
FLAG 816 224 vb10
FLAG 800 800 vb11
FLAG 560 144 Vb8
FLAG -256 -16 Vb3
FLAG 352 -80 Vb6
FLAG 1040 448 Vout