* SPICE netlist
M1 Vdd S_NAND Q Vdd PMOS l=0.6u w=6u
M2 Vdd Q_BAR Q Vdd PMOS l=0.6u w=6u
M3 Q S_NAND N002 0 NMOS l=0.6u w=3u
M4 N002 Q_BAR 0 0 NMOS l=0.6u w=3u
V1 Vdd 0 5v
M5 Vdd4 Q Q_BAR Vdd4 PMOS l=0.6u w=6u
M6 Vdd4 R_NAND Q_BAR Vdd4 PMOS l=0.6u w=6u
M7 Q_BAR Q N005 0 NMOS l=0.6u w=3u
M8 N005 R_NAND 0 0 NMOS l=0.6u w=3u
V2 Vdd4 0 5v
M9 Vdd3 CLK R_NAND Vdd3 PMOS l=0.6u w=6u
M10 Vdd3 S R_NAND Vdd3 PMOS l=0.6u w=6u
M11 R_NAND CLK N006 0 NMOS l=0.6u w=3u
M12 N006 S 0 0 NMOS l=0.6u w=3u
V4 Vdd3 0 5v
VCLOCK CLK 0 PULSE(0 1 10n 0 0 10n 20n)
M13 Vdd2 CLK S_NAND Vdd2 PMOS l=0.6u w=6u
M14 Vdd2 inv_D S_NAND Vdd2 PMOS l=0.6u w=6u
M15 S_NAND CLK N001 0 NMOS l=0.6u w=3u
M16 N001 inv_D 0 0 NMOS l=0.6u w=3u
V7 Vdd2 0 5v
VD S 0 PULSE(0 5 0 0 0 20n 40n)
V3 CLK_2 0 PULSE(0 1 0 0 0 10n 20n)
A1 0 R_2 0 CLK_2 0 N003 0 0 AND
A2 0 CLK_2 0 S_2 0 N004 0 0 AND
A3 0 0 N003 Q_BAR_2 0 Q_2 0 0 AND td=1n
A4 0 Q_2 N004 0 0 Q_BAR_2 0 0 AND td=1n
VD_2 S_2 0 PULSE(0 1 0 0 0 20n 40n)
A5 S_2 0 0 0 0 R_2 0 0 BUF
M17 Vdd26 S inv_D Vdd26 PMOS l=0.6u w=6u
M18 inv_D S 0 0 NMOS l=0.6u w=3u
V5 Vdd26 0 5v
.tran 0 100n 0 0.1n

* LTspice schematic (.asc)
Version 4
SHEET 1 6624 2720
WIRE 1776 -1360 928 -1360
WIRE 336 -1088 336 -1120
WIRE 736 -1088 336 -1088
WIRE 2160 -1088 2160 -1120
WIRE 2560 -1088 2160 -1088
WIRE 736 -1040 736 -1088
WIRE 2560 -1040 2560 -1088
WIRE 736 -1024 736 -1040
WIRE 2560 -1024 2560 -1040
WIRE 336 -992 336 -1088
WIRE 336 -992 208 -992
WIRE 464 -992 336 -992
WIRE 2160 -992 2160 -1088
WIRE 2160 -992 2032 -992
WIRE 2288 -992 2160 -992
WIRE 208 -912 208 -992
WIRE 464 -912 464 -992
WIRE 736 -912 736 -960
WIRE 2032 -912 2032 -992
WIRE 2288 -912 2288 -992
WIRE 2560 -912 2560 -960
WIRE 80 -832 80 -864
WIRE 80 -832 0 -832
WIRE 160 -832 80 -832
WIRE 592 -832 592 -864
WIRE 592 -832 512 -832
WIRE 736 -832 592 -832
WIRE 1776 -832 1776 -1360
WIRE 1904 -832 1904 -864
WIRE 1904 -832 1776 -832
WIRE 1984 -832 1904 -832
WIRE 2416 -832 2416 -864
WIRE 2416 -832 2336 -832
WIRE 3280 -832 2416 -832
WIRE 208 -752 208 -816
WIRE 336 -752 208 -752
WIRE 464 -752 464 -816
WIRE 464 -752 336 -752
WIRE 2032 -752 2032 -816
WIRE 2160 -752 2032 -752
WIRE 2288 -752 2288 -816
WIRE 2288 -752 2160 -752
WIRE 336 -704 336 -752
WIRE 480 -704 336 -704
WIRE 2160 -704 2160 -752
WIRE 2288 -704 2160 -704
WIRE 336 -672 336 -704
WIRE 2160 -672 2160 -704
WIRE 80 -592 80 -832
WIRE 288 -592 80 -592
WIRE 1904 -592 1904 -832
WIRE 2112 -592 1904 -592
WIRE 336 -528 336 -576
WIRE 2160 -528 2160 -576
WIRE 2320 -528 2288 -704
WIRE 2992 -528 2320 -528
WIRE 3168 -528 2992 -528
WIRE 3184 -528 3168 -528
WIRE -656 -448 -752 -448
WIRE -544 -448 -544 -496
WIRE -544 -448 -656 -448
WIRE 592 -448 592 -832
WIRE 592 -448 384 -448
WIRE 2416 -448 2416 -832
WIRE 2416 -448 2208 -448
WIRE 336 -368 336 -432
WIRE 2160 -368 2160 -432
WIRE -752 -336 -752 -448
WIRE 480 -320 480 -704
WIRE 928 -320 928 -1360
WIRE 928 -320 480 -320
WIRE -656 -288 -656 -448
WIRE -656 -288 -752 -288
WIRE -800 -256 -848 -256
WIRE 2992 -256 2992 -528
WIRE 736 -240 736 -832
WIRE 736 -240 -320 -240
WIRE -3024 -208 -3120 -208
WIRE -2512 -208 -2960 -208
WIRE -752 -208 -752 -240
WIRE -688 -208 -752 -208
WIRE -320 -208 -320 -240
WIRE -320 -208 -688 -208
WIRE -848 -192 -848 -256
WIRE -848 -192 -976 -192
WIRE -752 -160 -752 -208
WIRE 1744 -128 2992 -256
WIRE 3280 -128 3280 -832
WIRE 3280 -128 2992 -128
WIRE -656 -112 -752 -112
WIRE -2512 -80 -2512 -208
WIRE -2384 -80 -2512 -80
WIRE -848 -80 -848 -192
WIRE -800 -80 -848 -80
WIRE -2384 -48 -2512 -48
WIRE -2144 -48 -2320 -48
WIRE 2160 -48 2160 -80
WIRE 2560 -48 2160 -48
WIRE -2144 -32 -2240 -32
WIRE -1904 -32 -2080 -32
WIRE -1824 -32 -1904 -32
WIRE -2624 -16 -2624 -32
WIRE -2544 -16 -2624 -16
WIRE -2624 0 -2624 -16
WIRE -544 0 -544 -448
WIRE 0 0 0 -832
WIRE 208 0 0 0
WIRE 2560 0 2560 -48
WIRE -2544 16 -2544 -16
WIRE -2512 16 -2512 -48
WIRE -2512 16 -2544 16
WIRE 2560 16 2560 0
WIRE 2160 48 2160 -48
WIRE 2160 48 2032 48
WIRE 2288 48 2160 48
WIRE 208 80 208 0
WIRE -2624 96 -2624 80
WIRE -2512 96 -2512 16
WIRE -2384 96 -2512 96
WIRE 208 96 208 80
WIRE -2240 112 -1904 -32
WIRE -2144 112 -2240 112
WIRE -2384 128 -2512 128
WIRE -2144 128 -2320 128
WIRE 2032 128 2032 48
WIRE 2288 128 2288 48
WIRE 2560 128 2560 80
WIRE -1904 144 -2240 -32
WIRE -1904 144 -2080 144
WIRE -1824 144 -1904 144
WIRE -3120 176 -3120 -208
WIRE -3120 176 -3312 176
WIRE -2512 176 -2512 128
WIRE -2512 176 -3120 176
WIRE -752 192 -752 -64
WIRE -656 192 -656 -112
WIRE -656 192 -752 192
WIRE -544 192 -544 80
WIRE -544 192 -656 192
WIRE -752 208 -752 192
WIRE 1744 208 1744 -128
WIRE 1904 208 1904 176
WIRE 1904 208 1744 208
WIRE 1984 208 1904 208
WIRE 2416 208 2416 176
WIRE 2416 208 2336 208
WIRE 2560 208 2416 208
WIRE 208 224 208 160
WIRE -3312 256 -3312 176
WIRE 2032 288 2032 224
WIRE 2160 288 2032 288
WIRE 2288 288 2288 224
WIRE 2288 288 2160 288
WIRE 2160 336 2160 288
WIRE 2304 336 2160 336
WIRE -3312 368 -3312 336
WIRE 2160 368 2160 336
WIRE 1904 448 1904 208
WIRE 2112 448 1904 448
WIRE 416 496 416 464
WIRE 816 496 416 496
WIRE -976 512 -976 -192
WIRE -320 512 -976 512
WIRE 2160 512 2160 464
WIRE 2304 512 2304 336
WIRE 2992 512 2992 -128
WIRE 2992 512 2304 512
WIRE 3312 512 2992 512
WIRE 816 544 816 496
WIRE 816 560 816 544
WIRE 416 592 416 496
WIRE 416 592 288 592
WIRE 544 592 416 592
WIRE 2416 592 2416 208
WIRE 2416 592 2208 592
WIRE -976 624 -976 512
WIRE 288 672 288 592
WIRE 544 672 544 592
WIRE 816 672 816 624
WIRE 2160 672 2160 608
WIRE -976 752 -976 704
WIRE 0 752 0 0
WIRE 160 752 160 720
WIRE 160 752 0 752
WIRE 240 752 160 752
WIRE 672 752 672 720
WIRE 672 752 592 752
WIRE 816 752 672 752
WIRE 288 832 288 768
WIRE 416 832 288 832
WIRE 544 832 544 768
WIRE 544 832 416 832
WIRE 416 880 416 832
WIRE 576 880 416 880
WIRE 2560 880 2560 208
WIRE 2560 880 992 880
WIRE 416 912 416 880
WIRE 160 992 160 752
WIRE 368 992 160 992
WIRE 416 1056 416 1008
WIRE 672 1136 672 752
WIRE 672 1136 464 1136
WIRE 416 1216 416 1152
WIRE 576 1232 576 880
WIRE 992 1232 992 880
WIRE 992 1232 576 1232
WIRE -320 1360 -320 512
WIRE 816 1360 816 752
WIRE 816 1360 -320 1360
FLAG 2160 -368 0
FLAG 2160 -1120 Vdd
FLAG 2032 -864 Vdd
FLAG 2288 -864 Vdd
FLAG 1904 -864 S_NAND
FLAG 2416 -864 Q_BAR
FLAG 2560 -912 0
FLAG 2160 -624 0
FLAG 2160 -480 0
FLAG 2160 672 0
FLAG 2160 -80 Vdd4
FLAG 2032 176 Vdd4
FLAG 2288 176 Vdd4
FLAG 1904 176 Q
FLAG 2416 176 R_NAND
FLAG 2560 128 0
FLAG 2160 416 0
FLAG 2160 560 0
FLAG 3168 -528 Q
FLAG 3312 512 Q_BAR
FLAG 416 1216 0
FLAG 416 464 Vdd3
FLAG 288 720 Vdd3
FLAG 544 720 Vdd3
FLAG 160 720 CLK
FLAG 672 720 S
FLAG 816 672 0
FLAG 416 960 0
FLAG 416 1104 0
FLAG 336 -368 0
FLAG -976 752 0
FLAG 208 224 0
FLAG 336 -1120 Vdd2
FLAG 208 -864 Vdd2
FLAG 464 -864 Vdd2
FLAG 80 -864 CLK
FLAG 592 -864 R
FLAG 736 -912 0
FLAG 336 -624 0
FLAG 336 -480 0
FLAG -1824 -32 Q_2
FLAG -1824 144 Q_BAR_2
FLAG -2624 96 0
FLAG -2624 -32 CLK_2
FLAG -3312 368 0
FLAG -2512 -208 R_2
FLAG -2512 176 S_2
FLAG -3312 176 D_2
FLAG -752 208 0
FLAG -544 -496 Vdd26
FLAG -688 -208 inv_D
FLAG -976 512 D
SYMBOL pmos4 1984 -912 R0
SYMATTR InstName M1
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 2336 -912 M0
SYMATTR InstName M2
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 2112 -672 R0
SYMATTR InstName M3
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 2208 -528 M0
SYMATTR InstName M4
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 2560 -1056 R0
SYMATTR InstName V1
SYMATTR Value 5v
SYMBOL pmos4 1984 128 R0
SYMATTR InstName M5
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 2336 128 M0
SYMATTR InstName M6
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 2112 368 R0
SYMATTR InstName M7
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 2208 512 M0
SYMATTR InstName M8
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 2560 -16 R0
SYMATTR InstName V2
SYMATTR Value 5v
SYMBOL pmos4 240 672 R0
SYMATTR InstName M9
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 592 672 M0
SYMATTR InstName M10
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 368 912 R0
SYMATTR InstName M11
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 464 1056 M0
SYMATTR InstName M12
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 816 528 R0
SYMATTR InstName V4
SYMATTR Value 5v
SYMBOL voltage 208 64 M0
SYMATTR Value PULSE(0 1 10n 0 0 10n 20n)
SYMATTR InstName CLOCK
SYMBOL pmos4 160 -912 R0
SYMATTR InstName M13
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 512 -912 M0
SYMATTR InstName M14
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 288 -672 R0
SYMATTR InstName M15
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 384 -528 M0
SYMATTR InstName M16
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 736 -1056 R0
SYMATTR InstName V7
SYMATTR Value 5v
SYMBOL voltage -976 608 R0
SYMATTR Value PULSE(0 5 0 0 0 20n 40n)
SYMATTR InstName VD
SYMBOL voltage -2624 -16 R0
SYMATTR Value PULSE(0 1 0 0 0 10n 20n)
SYMATTR InstName V3
SYMBOL Digital\\and -2352 -128 R0
SYMATTR InstName A1
SYMBOL Digital\\and -2352 48 R0
SYMATTR InstName A2
SYMBOL Digital\\and -2112 -112 R0
SYMATTR Value td=1n
SYMATTR InstName A3
SYMBOL Digital\\and -2112 64 R0
SYMATTR Value td=1n
SYMATTR InstName A4
SYMBOL voltage -3312 240 R0
SYMATTR Value PULSE(0 1 0 0 0 20n 40n)
SYMATTR InstName VD_2
SYMBOL Digital\\inv -3024 -272 R0
SYMATTR InstName A5
SYMBOL pmos4 -800 -336 R0
SYMATTR InstName M17
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 -800 -160 R0
SYMATTR InstName M18
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage -544 -16 R0
SYMATTR InstName V5
SYMATTR Value 5v