Version 4
SHEET 1 1316 772
WIRE 336 -80 208 -80
WIRE 208 -48 208 -80
WIRE 208 64 208 32
WIRE 400 64 208 64
WIRE 448 64 400 64
WIRE 208 80 208 64
WIRE -208 128 -256 128
WIRE -112 128 -208 128
WIRE -64 128 -112 128
WIRE 112 128 16 128
WIRE 144 128 112 128
WIRE 112 144 112 128
WIRE -256 176 -256 128
WIRE 208 240 208 176
WIRE 208 240 -160 240
WIRE 112 272 112 224
WIRE 272 272 112 272
WIRE 336 272 336 -80
WIRE 416 272 336 272
WIRE 512 272 416 272
WIRE -256 304 -256 256
WIRE -112 304 -112 128
WIRE 208 304 -112 304
WIRE 512 304 512 272
WIRE 112 320 112 272
WIRE 272 320 272 272
WIRE 208 368 208 304
WIRE -208 416 -256 416
WIRE -160 416 -160 240
WIRE -160 416 -208 416
WIRE -64 416 -160 416
WIRE 112 416 112 400
WIRE 112 416 16 416
WIRE 144 416 112 416
WIRE 512 416 512 384
WIRE -256 464 -256 416
WIRE 208 480 208 464
WIRE 400 480 208 480
WIRE 448 480 400 480
WIRE 208 512 208 480
WIRE -256 592 -256 544
WIRE 208 624 208 592
WIRE 336 624 336 272
WIRE 336 624 208 624
FLAG 416 272 VCC
FLAG -256 304 0
FLAG 512 416 0
FLAG -256 592 0
FLAG 400 64 OUT_A
FLAG 400 480 OUT_B
FLAG -208 128 IN_A
FLAG -208 416 IN_B
FLAG 272 320 0
SYMBOL npn 144 80 R0
SYMATTR InstName Q1
SYMATTR Value BC847B
SYMBOL res 192 -64 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 32 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 128 240 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage 512 288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -256 160 R0
WINDOW 3 -663 67 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -138 37 Left 2
SYMATTR Value PWL file=stimVa.pwl.txt
SYMATTR SpiceLine Rser=10
SYMATTR InstName V2
SYMBOL voltage -256 448 R0
WINDOW 3 -658 67 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 -131 35 Left 2
SYMATTR Value PWL file=stimVb.pwl.txt
SYMATTR SpiceLine Rser=10
SYMATTR InstName V3
SYMBOL npn 144 464 M180
SYMATTR InstName Q2
SYMATTR Value BC847B
SYMBOL res 32 400 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res 128 416 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res 192 496 R0
SYMATTR InstName R7
SYMATTR Value 10k
TEXT -592 40 Left 2 !.tran 200m
