* SPICE netlist
XU1 0 N010 NC_01 NC_02 N011 level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R1 N010 N012 1K
Vref N012 0 1V
Q1 N010 0 N011 0 NPN
XU2 0 N005 NC_03 NC_04 N006 level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R2 N005 Input 1K
Vin Input 0 5V
Q2 N005 0 N006 0 NPN
XU3 N009 N007 NC_05 NC_06 LogOut level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R3 N009 0 1K
R4 N009 N011 1K
R5 N007 N006 1K
R6 LogOut N007 1K
XU5 0 N008 NC_07 NC_08 Antilog_Input level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R8 Antilog_Input N008 1K
R9 N008 LogOut 2K
V1 N004 0 1V
R7 N003 N004 1K
XU4 0 N003 NC_09 NC_10 N002 level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
Q3 N003 Antilog_Input N002 0 NPN
XU6 0 N001 NC_11 NC_12 Final level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
Q4 N001 0 N002 0 NPN
R10 N001 Final 1K
.tran 10ms

* LTspice schematic (.asc)
Version 4
SHEET 1 2112 1344
WIRE 960 -672 464 -672
WIRE 688 -592 624 -592
WIRE 864 -592 784 -592
WIRE 736 -528 736 -544
WIRE 736 -480 736 -528
WIRE 464 -400 464 -672
WIRE 496 -400 464 -400
WIRE 624 -400 624 -592
WIRE 624 -400 576 -400
WIRE 704 -400 624 -400
WIRE 960 -384 960 -672
WIRE 960 -384 768 -384
WIRE 1056 -384 960 -384
WIRE 704 -368 640 -368
WIRE 960 -320 960 -384
WIRE 640 -288 640 -368
WIRE 672 -144 608 -144
WIRE 864 -144 864 -592
WIRE 864 -144 768 -144
WIRE 720 -80 720 -96
WIRE 720 0 720 -80
WIRE 816 0 720 0
WIRE 464 48 416 48
WIRE 608 48 608 -144
WIRE 608 48 544 48
WIRE 688 48 608 48
WIRE 864 64 864 -144
WIRE 864 64 752 64
WIRE 688 80 624 80
WIRE -752 96 -784 96
WIRE -608 96 -656 96
WIRE 416 96 416 48
WIRE 624 160 624 80
WIRE -704 176 -704 160
WIRE -368 176 -416 176
WIRE -240 176 -288 176
WIRE 176 208 160 208
WIRE 304 208 256 208
WIRE -960 224 -1056 224
WIRE -912 224 -960 224
WIRE -784 224 -784 96
WIRE -784 224 -832 224
WIRE -736 224 -784 224
WIRE -608 240 -608 96
WIRE -608 240 -672 240
WIRE -544 240 -608 240
WIRE -416 240 -416 176
WIRE -416 240 -464 240
WIRE -960 256 -960 224
WIRE -736 256 -752 256
WIRE -416 288 -416 240
WIRE -368 288 -416 288
WIRE -240 304 -240 176
WIRE -240 304 -304 304
WIRE -224 304 -240 304
WIRE 64 304 -224 304
WIRE 160 304 160 208
WIRE 160 304 144 304
WIRE 176 304 160 304
WIRE -752 320 -752 256
WIRE -368 320 -416 320
WIRE 304 320 304 208
WIRE 304 320 240 320
WIRE 512 320 304 320
WIRE 816 320 816 0
WIRE 816 320 512 320
WIRE 176 336 128 336
WIRE -960 368 -960 336
WIRE -224 368 -224 304
WIRE -768 400 -800 400
WIRE -624 400 -672 400
WIRE -544 400 -624 400
WIRE -416 400 -416 320
WIRE -416 400 -464 400
WIRE 512 400 512 320
WIRE -416 416 -416 400
WIRE 128 416 128 336
WIRE -720 480 -720 464
WIRE -912 528 -960 528
WIRE -800 528 -800 400
WIRE -800 528 -832 528
WIRE -752 528 -800 528
WIRE -416 528 -416 496
WIRE -624 544 -624 400
WIRE -624 544 -688 544
WIRE -960 560 -960 528
WIRE -752 560 -768 560
WIRE -768 624 -768 560
WIRE -960 672 -960 640
FLAG -960 672 0
FLAG -768 624 0
FLAG -720 480 0
FLAG -960 368 0
FLAG -752 320 0
FLAG -704 176 0
FLAG -416 528 0
FLAG -1056 224 Input
FLAG -224 368 LogOut
FLAG 128 416 0
FLAG 416 176 0
FLAG 624 160 0
FLAG 640 -288 0
FLAG 736 -480 0
FLAG 960 -320 Final
FLAG 512 400 Antilog_Input
SYMBOL OpAmps\\UniversalOpAmp1 -720 544 R0
SYMATTR InstName U1
SYMBOL res -816 512 R90
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage -960 544 R0
SYMATTR InstName Vref
SYMATTR Value 1V
SYMBOL npn -768 464 R270
SYMATTR InstName Q1
SYMBOL OpAmps\\UniversalOpAmp1 -704 240 R0
SYMATTR InstName U2
SYMBOL res -816 208 R90
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -960 240 R0
SYMATTR InstName Vin
SYMATTR Value 5V
SYMBOL npn -752 160 R270
SYMATTR InstName Q2
SYMBOL OpAmps\\UniversalOpAmp1 -336 304 R0
SYMATTR InstName U3
SYMBOL res -432 400 R0
SYMATTR InstName R3
SYMATTR Value 1K
SYMBOL res -448 384 R90
SYMATTR InstName R4
SYMATTR Value 1K
SYMBOL res -448 224 R90
SYMATTR InstName R5
SYMATTR Value 1K
SYMBOL res -272 160 R90
SYMATTR InstName R6
SYMATTR Value 1K
SYMBOL OpAmps\\UniversalOpAmp1 208 320 R0
SYMATTR InstName U5
SYMBOL res 272 192 R90
SYMATTR InstName R8
SYMATTR Value 1K
SYMBOL res 160 288 R90
SYMATTR InstName R9
SYMATTR Value 2K
SYMBOL voltage 416 80 R0
SYMATTR InstName V1
SYMATTR Value 1V
SYMBOL res 560 32 R90
SYMATTR InstName R7
SYMATTR Value 1K
SYMBOL OpAmps\\UniversalOpAmp1 720 64 R0
SYMATTR InstName U4
SYMBOL npn 672 -80 R270
SYMATTR InstName Q3
SYMBOL OpAmps\\UniversalOpAmp1 736 -384 R0
SYMATTR InstName U6
SYMBOL npn 688 -528 R270
SYMATTR InstName Q4
SYMBOL res 592 -416 R90
SYMATTR InstName R10
SYMATTR Value 1K