* SPICE netlist
A1 ONE 0 Vin1 0 N004 Vo_LEAD_n Vo_LEAD 0 DFLOP
A2 ONE 0 Vin2 0 N006 0 Vo_LAG 0 DFLOP
V1 Vin1 0 PULSE(0 1 0u 1n 1n 5u 10u)
V2 Vin2 0 PULSE(0 1 5u 1n 1n 5u 10u)
V3 ONE 0 1
A4 0 Vin2 0 Vo_LAG 0 0 N004 0 OR
A5 0 Vin1 0 Vo_LEAD 0 0 N006 0 OR
R1 N002 0 10k
Q1 N002 N001 ONE 0 2N3906
Q2 N002 N005 0 0 2N3904
R3 N001 Vo_LEAD_n 10k
R4 N005 Vo_LAG 10k
C2 N003 0 1n
R2 ONE N002 10k
R5 N003 N002 10k
C1 Vout 0 1n
R6 Vout N003 10k
.tran 0 250u 0

* LTspice schematic (.asc)
Version 4
SHEET 1 1472 672
WIRE -80 -272 -192 -272
WIRE -16 -272 -80 -272
WIRE 208 -272 208 -336
WIRE 400 -256 400 -288
WIRE -464 -224 -560 -224
WIRE -352 -224 -464 -224
WIRE -112 -224 -176 -224
WIRE 0 -224 -112 -224
WIRE 144 -224 80 -224
WIRE -560 -176 -560 -224
WIRE -112 -144 -112 -224
WIRE -16 -144 -112 -144
WIRE 208 -128 208 -176
WIRE 400 -128 400 -176
WIRE 400 -128 208 -128
WIRE 432 -128 400 -128
WIRE 528 -128 512 -128
WIRE 560 -128 528 -128
WIRE 672 -128 640 -128
WIRE 736 -128 672 -128
WIRE -352 -96 -432 -96
WIRE -272 -96 -272 -176
WIRE -272 -96 -288 -96
WIRE -560 -80 -560 -96
WIRE 400 -80 400 -128
WIRE -352 -64 -400 -64
WIRE 208 -64 208 -128
WIRE 528 -64 528 -128
WIRE 672 -64 672 -128
WIRE -400 -16 -400 -64
WIRE -112 -16 -400 -16
WIRE 16 -16 -112 -16
WIRE 144 -16 96 -16
WIRE 400 32 400 0
WIRE 528 32 528 0
WIRE 672 32 672 0
WIRE -112 80 -112 -16
WIRE -112 80 -192 80
WIRE 0 80 -112 80
WIRE 208 96 208 32
WIRE -432 128 -432 -96
WIRE -432 128 -560 128
WIRE -352 128 -432 128
WIRE -560 176 -560 128
WIRE -464 256 -464 -224
WIRE -352 256 -464 256
WIRE -272 256 -272 176
WIRE -272 256 -288 256
WIRE -560 272 -560 256
WIRE -352 288 -464 288
WIRE -464 336 -464 288
WIRE -80 336 -80 -272
WIRE -80 336 -464 336
FLAG -560 -80 0
FLAG -560 272 0
FLAG -352 -176 0
FLAG -352 176 0
FLAG -16 -272 Vo_LEAD
IOPIN 416 96 Out
FLAG 0 80 Vo_LAG
IOPIN 432 448 Out
FLAG -736 112 0
FLAG -736 32 ONE
FLAG -352 -272 ONE
FLAG -352 80 ONE
FLAG 208 -336 ONE
FLAG 208 96 0
FLAG 736 -128 Vout
IOPIN 1168 240 Out
FLAG -16 -144 Vo_LEAD_n
IOPIN 416 224 Out
FLAG 400 32 0
FLAG 528 32 0
FLAG 400 -288 ONE
FLAG 672 32 0
FLAG -560 -224 Vin1
IOPIN -128 144 In
FLAG -560 128 Vin2
IOPIN -128 496 In
SYMBOL Digital\\dflop -272 -320 R0
SYMATTR InstName A1
SYMBOL Digital\\dflop -272 32 R0
SYMATTR InstName A2
SYMBOL voltage -560 -192 M0
SYMATTR InstName V1
SYMATTR Value PULSE(0 1 0u 1n 1n 5u 10u)
SYMBOL voltage -560 160 M0
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 5u 1n 1n 5u 10u)
SYMBOL voltage -736 16 R0
SYMATTR InstName V3
SYMATTR Value 1
SYMBOL Digital\\or -320 -144 R0
SYMATTR InstName A4
SYMBOL Digital\\or -320 208 R0
SYMATTR InstName A5
SYMBOL res 384 -96 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL pnp 144 -176 M180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL npn 144 -64 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 96 -240 R90
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 112 -32 R90
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL cap 512 -64 R0
SYMATTR InstName C2
SYMATTR Value 1n
SYMBOL res 384 -272 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 528 -144 R90
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL cap 656 -64 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 656 -144 R90
SYMATTR InstName R6
SYMATTR Value 10k