* SPICE netlist
M1 VDD A N001 N001 PMOS
M2 VDD B N001 N001 PMOS
M3 N001 A_BAR OUT OUT PMOS
M4 N001 B_BAR OUT OUT PMOS
M5 OUT A N003 N003 NMOS
M6 OUT A_BAR N004 N004 NMOS
M7 N004 B_BAR 0 0 NMOS
M8 N003 B 0 0 NMOS
V2 N002 0 5V
M9 N002 A A_BAR N002 PMOS l=0.6u w=6u
M10 A_BAR A 0 0 NMOS l=0.6u w=3u
V3 A 0 PULSE(0 5 0 60ps 60ps 2n 4n)
V4 B 0 PULSE(0 5 0 60ps 60ps 1n 2n)
V6 N005 0 5V
M11 N005 B B_BAR N005 PMOS l=0.6u w=6u
M12 B_BAR B 0 0 NMOS l=0.6u w=3u
V1 VDD 0 5
.tran 0 20ns 0 0.001ns

* LTspice schematic (.asc)
Version 4
SHEET 1 2304 2816
WIRE -944 -1392 -1152 -1392
WIRE -512 -1392 -944 -1392
WIRE 944 -1232 -288 -1232
WIRE -944 -1104 -1152 -1104
WIRE -736 -1104 -944 -1104
WIRE 688 -912 608 -912
WIRE 1152 -912 688 -912
WIRE 608 -864 608 -912
WIRE 608 -864 464 -864
WIRE 752 -864 608 -864
WIRE 464 -816 464 -864
WIRE 752 -816 752 -864
WIRE -736 -736 -736 -1104
WIRE 272 -736 -736 -736
WIRE 416 -736 272 -736
WIRE 944 -736 944 -1232
WIRE 944 -736 800 -736
WIRE 464 -672 464 -720
WIRE 608 -672 464 -672
WIRE 752 -672 752 -720
WIRE 752 -672 608 -672
WIRE -512 -608 -512 -1392
WIRE -64 -608 -512 -608
WIRE 608 -608 608 -672
WIRE 608 -608 464 -608
WIRE 752 -608 608 -608
WIRE 464 -544 464 -608
WIRE 752 -544 752 -608
WIRE -512 -464 -512 -608
WIRE -288 -464 -288 -1232
WIRE -288 -464 -512 -464
WIRE 272 -464 -160 -464
WIRE 416 -464 272 -464
WIRE 944 -464 800 -464
WIRE 1040 -464 944 -464
WIRE -736 -400 -736 -736
WIRE -736 -400 -1008 -400
WIRE 464 -400 464 -448
WIRE 608 -400 464 -400
WIRE 752 -400 752 -448
WIRE 752 -400 608 -400
WIRE 608 -352 608 -400
WIRE 1152 -352 608 -352
WIRE 608 -256 608 -352
WIRE 608 -256 464 -256
WIRE 752 -256 608 -256
WIRE -736 -240 -832 -240
WIRE -624 -240 -736 -240
WIRE 464 -192 464 -256
WIRE 752 -192 752 -256
WIRE -832 -128 -832 -240
WIRE 416 -112 272 -112
WIRE 944 -112 800 -112
WIRE 1136 -112 944 -112
WIRE -1008 -96 -1008 -400
WIRE -736 -80 -736 -240
WIRE -736 -80 -832 -80
WIRE -1008 -48 -1008 -96
WIRE -928 -48 -1008 -48
WIRE -880 -48 -928 -48
WIRE -832 0 -832 -32
WIRE -768 0 -832 0
WIRE -160 0 -160 -464
WIRE -160 0 -768 0
WIRE -832 48 -832 0
WIRE 464 64 464 -96
WIRE 752 64 752 -96
WIRE -736 96 -832 96
WIRE -928 128 -928 -48
WIRE -880 128 -928 128
WIRE -64 144 -64 -608
WIRE 272 144 -64 144
WIRE 416 144 272 144
WIRE 944 144 800 144
WIRE -624 176 -624 -240
WIRE 464 208 464 160
WIRE 608 208 464 208
WIRE 752 208 752 160
WIRE 752 208 608 208
WIRE 608 272 608 208
WIRE -832 400 -832 144
WIRE -736 400 -736 96
WIRE -736 400 -832 400
WIRE -624 400 -624 256
WIRE -624 400 -736 400
WIRE -832 416 -832 400
WIRE -160 560 -160 0
WIRE 1136 560 1136 -112
WIRE 1136 560 -160 560
WIRE -512 624 -512 -464
WIRE -512 624 -800 624
WIRE -528 752 -624 752
WIRE -416 752 -528 752
WIRE -624 864 -624 752
WIRE -800 896 -800 624
WIRE -528 912 -528 752
WIRE -528 912 -624 912
WIRE -800 944 -800 896
WIRE -720 944 -800 944
WIRE -672 944 -720 944
WIRE -624 992 -624 960
WIRE -560 992 -624 992
WIRE 944 992 944 144
WIRE 944 992 -560 992
WIRE 1040 992 1040 -464
WIRE 1040 992 944 992
WIRE -624 1040 -624 992
WIRE -528 1088 -624 1088
WIRE -720 1120 -720 944
WIRE -672 1120 -720 1120
WIRE -416 1168 -416 752
WIRE -624 1392 -624 1136
WIRE -528 1392 -528 1088
WIRE -528 1392 -624 1392
WIRE -416 1392 -416 1248
WIRE -416 1392 -528 1392
WIRE -624 1408 -624 1392
FLAG 944 -736 B
FLAG 688 -912 VDD
FLAG 272 -736 A
FLAG 944 -464 B_BAR
FLAG 272 -464 A_BAR
FLAG 1152 -352 OUT
FLAG 608 272 0
FLAG 272 -112 A
FLAG 944 -112 A_BAR
FLAG 272 144 B
FLAG 944 144 B_BAR
FLAG -832 416 0
FLAG -1008 -96 A
FLAG -768 0 A_BAR
FLAG -1152 -1312 0
FLAG -1152 -1024 0
FLAG -944 -1392 B
FLAG -944 -1104 A
FLAG -624 1408 0
FLAG -800 896 B
FLAG -560 992 B_BAR
FLAG 1152 -832 0
SYMBOL pmos 416 -816 R0
SYMATTR InstName M1
SYMBOL pmos 800 -816 M0
SYMATTR InstName M2
SYMBOL pmos 416 -544 R0
SYMATTR InstName M3
SYMBOL pmos 800 -544 M0
SYMATTR InstName M4
SYMBOL nmos 416 -192 R0
SYMATTR InstName M5
SYMBOL nmos 800 -192 M0
SYMATTR InstName M6
SYMBOL nmos 800 64 M0
SYMATTR InstName M7
SYMBOL nmos 416 64 R0
SYMATTR InstName M8
SYMBOL voltage -624 160 R0
SYMATTR InstName V2
SYMATTR Value 5V
SYMBOL pmos4 -880 -128 R0
SYMATTR InstName M9
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 -880 48 R0
SYMATTR InstName M10
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage -1152 -1120 R0
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 0 60ps 60ps 2n 4n)
SYMBOL voltage -1152 -1408 R0
SYMATTR InstName V4
SYMATTR Value PULSE(0 5 0 60ps 60ps 1n 2n)
SYMBOL voltage -416 1152 R0
SYMATTR InstName V6
SYMATTR Value 5V
SYMBOL pmos4 -672 864 R0
SYMATTR InstName M11
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 -672 1040 R0
SYMATTR InstName M12
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 1152 -928 R0
SYMATTR InstName V1
SYMATTR Value 5