* SPICE netlist
A1 N003 0 N005 0 N011 N006 QA1 0 DFLOP TD={TDQ}
A2 QA1 0 N005 0 N011 N007 QA2 0 DFLOP TD={TDQ}
A3 N002 0 N005 0 N011 N008 QA3 0 DFLOP TD={TDQ}
A4 QA3 0 N005 0 N011 N009 QA4 0 DFLOP TD={TDQ}
A5 QA4 0 N005 0 N011 N003 QA5 0 DFLOP TD={TDQ}
A6 0 QA3 0 QA1 0 0 N001 0 OR TD={TDB}
A7 0 N004 0 N010 0 0 N005 0 AND TD={TDB}
A8 _CP1 0 0 0 0 N004 0 0 BUF TD={TDB}
A9 CP0 0 0 0 0 0 N010 0 BUF TD={TDB}
A10 MR 0 0 0 0 0 N011 0 BUF TD={TDB}
A11 0 N001 0 QA2 0 0 N002 0 AND TD={TDB}
A12 0 QA1 0 QA5 0 N012 0 0 OR TD={TDOR}
A13 0 N006 0 QA2 0 N013 0 0 OR TD={TDOR}
A14 0 QA3 0 N007 0 N014 0 0 OR TD={TDOR}
A15 0 N008 0 QA4 0 N015 0 0 OR TD={TDOR}
A16 0 N009 0 QA5 0 N016 0 0 OR TD={TDOR}
A17 0 N003 0 N006 0 N017 0 0 OR TD={TDOR}
A18 0 N007 0 QA1 0 N018 0 0 OR TD={TDOR}
A19 0 N008 0 QA2 0 N019 0 0 OR TD={TDOR}
A20 0 QA3 0 N009 0 N020 0 0 OR TD={TDOR}
A21 0 N003 0 QA4 0 N021 0 0 OR TD={TDOR}
A22 N003 0 0 0 0 0 Q5_9 0 BUF TD={TDB} TRISE={TRB}
A23 N012 0 0 0 0 0 Q0 0 BUF TD={TDB} TRISE={TRB}
A24 N013 0 0 0 0 0 Q1 0 BUF TD={TDB} TRISE={TRB}
A25 N014 0 0 0 0 0 Q2 0 BUF TD={TDB} TRISE={TRB}
A26 N015 0 0 0 0 0 Q3 0 BUF TD={TDB} TRISE={TRB}
A27 N016 0 0 0 0 0 Q4 0 BUF TD={TDB} TRISE={TRB}
A28 N017 0 0 0 0 0 Q5 0 BUF TD={TDB} TRISE={TRB}
A29 N018 0 0 0 0 0 Q6 0 BUF TD={TDB} TRISE={TRB}
A30 N019 0 0 0 0 0 Q7 0 BUF TD={TDB} TRISE={TRB}
A31 N020 0 0 0 0 0 Q8 0 BUF TD={TDB} TRISE={TRB}
A32 N021 0 0 0 0 0 Q9 0 BUF TD={TDB} TRISE={TRB}
V1 1 0 1
V2 MR 0 0
V3 CP0 0 PULSE(0 1 1u 10n 10n 490n 1u)
V4 _CP1 0 0
.param TDQ=10n TDOR=10n TDB=10n TRB=20n
.tran 50u

* LTspice schematic (.asc)
Version 4
SHEET 1 2032 848
WIRE -968 -424 -1016 -424
WIRE -1016 -392 -1016 -424
WIRE 280 -376 -344 -376
WIRE -344 -312 -344 -376
WIRE -248 -312 -344 -312
WIRE -88 -312 -184 -312
WIRE -8 -312 -24 -312
WIRE -1016 -280 -1016 -312
WIRE -248 -280 -344 -280
WIRE -88 -280 -104 -280
WIRE 872 -232 -680 -232
WIRE -888 -168 -952 -168
WIRE -792 -168 -824 -168
WIRE -680 -136 -680 -232
WIRE -648 -136 -680 -136
WIRE -424 -136 -488 -136
WIRE -392 -136 -424 -136
WIRE -344 -136 -344 -280
WIRE -344 -136 -392 -136
WIRE -312 -136 -344 -136
WIRE -104 -136 -104 -280
WIRE -104 -136 -152 -136
WIRE -72 -136 -104 -136
WIRE -56 -136 -72 -136
WIRE -8 -136 -8 -312
WIRE 24 -136 -8 -136
WIRE 216 -136 184 -136
WIRE 248 -136 216 -136
WIRE 280 -136 280 -376
WIRE 280 -136 248 -136
WIRE 360 -136 280 -136
WIRE 568 -136 520 -136
WIRE 600 -136 568 -136
WIRE 680 -136 600 -136
WIRE 904 -136 840 -136
WIRE -792 -88 -792 -168
WIRE -760 -88 -792 -88
WIRE -680 -88 -696 -88
WIRE -648 -88 -680 -88
WIRE -424 -88 -472 -88
WIRE -312 -88 -344 -88
WIRE -104 -88 -136 -88
WIRE 24 -88 -8 -88
WIRE 216 -88 200 -88
WIRE 360 -88 328 -88
WIRE 568 -88 536 -88
WIRE 680 -88 648 -88
WIRE 872 -88 872 -232
WIRE 872 -88 856 -88
WIRE -888 -56 -952 -56
WIRE -760 -56 -824 -56
WIRE -680 -8 -680 -88
WIRE -344 -8 -344 -88
WIRE -344 -8 -680 -8
WIRE -8 -8 -8 -88
WIRE -8 -8 -344 -8
WIRE 328 -8 328 -88
WIRE 328 -8 -8 -8
WIRE 648 -8 648 -88
WIRE 648 -8 328 -8
WIRE -888 24 -952 24
WIRE -568 24 -568 -40
WIRE -568 24 -824 24
WIRE -232 24 -232 -40
WIRE -232 24 -568 24
WIRE 104 24 104 -40
WIRE 104 24 -232 24
WIRE 440 24 440 -40
WIRE 440 24 104 24
WIRE 760 24 760 -40
WIRE 760 24 440 24
WIRE 904 56 904 -136
WIRE 904 56 -696 56
WIRE 600 72 600 -136
WIRE 600 72 -184 72
WIRE 776 72 600 72
WIRE -968 88 -1016 88
WIRE 216 88 216 -88
WIRE 216 88 -152 88
WIRE 488 88 216 88
WIRE 248 104 248 -136
WIRE 248 104 -312 104
WIRE 648 104 248 104
WIRE -1016 120 -1016 88
WIRE -56 120 -56 -136
WIRE -56 120 -520 120
WIRE 456 120 -56 120
WIRE -104 136 -104 -88
WIRE -104 136 -344 136
WIRE 328 136 -104 136
WIRE -392 152 -392 -136
WIRE -392 152 -664 152
WIRE 296 152 -392 152
WIRE -696 168 -696 56
WIRE -24 168 -696 168
WIRE 568 168 568 -88
WIRE 568 168 8 168
WIRE 616 168 568 168
WIRE -424 184 -424 -88
WIRE -424 184 -488 184
WIRE 136 184 -424 184
WIRE 808 184 168 184
WIRE 872 184 872 -88
WIRE 872 184 808 184
WIRE 952 184 872 184
WIRE -696 216 -696 168
WIRE -664 216 -664 152
WIRE -520 216 -520 120
WIRE -488 216 -488 184
WIRE -344 216 -344 136
WIRE -312 216 -312 104
WIRE -184 216 -184 72
WIRE -152 216 -152 88
WIRE -24 216 -24 168
WIRE 8 216 8 168
WIRE 136 216 136 184
WIRE 168 216 168 184
WIRE 296 216 296 152
WIRE 328 216 328 136
WIRE 456 216 456 120
WIRE 488 216 488 88
WIRE 616 216 616 168
WIRE 648 216 648 104
WIRE 776 216 776 72
WIRE 808 216 808 184
WIRE 952 216 952 184
WIRE -1016 232 -1016 200
WIRE -968 280 -1016 280
WIRE -856 280 -904 280
WIRE -1016 312 -1016 280
WIRE -904 312 -904 280
WIRE -696 312 -696 280
WIRE -520 312 -520 280
WIRE -344 312 -344 280
WIRE -184 312 -184 280
WIRE -24 312 -24 280
WIRE 136 312 136 280
WIRE 296 312 296 280
WIRE 456 312 456 280
WIRE 616 312 616 280
WIRE 776 312 776 280
WIRE -696 408 -696 376
WIRE -520 408 -520 376
WIRE -344 408 -344 376
WIRE -184 408 -184 376
WIRE -24 408 -24 376
WIRE 136 408 136 376
WIRE 296 408 296 376
WIRE 456 408 456 376
WIRE 616 408 616 376
WIRE 776 408 776 376
WIRE 952 408 952 280
WIRE -1016 424 -1016 392
WIRE -904 424 -904 392
FLAG -952 24 MR
FLAG -952 -56 CP0
FLAG -952 -168 _CP1
FLAG -696 408 Q0
FLAG -520 408 Q1
FLAG -344 408 Q2
FLAG -184 408 Q3
FLAG -24 408 Q4
FLAG 136 408 Q5
FLAG 296 408 Q6
FLAG 456 408 Q7
FLAG 616 408 Q8
FLAG 776 408 Q9
FLAG 952 408 Q5_9
FLAG -1016 232 0
FLAG -1016 424 0
FLAG -1016 -280 0
FLAG -968 -424 CP0
FLAG -968 88 1
FLAG -968 280 MR
FLAG -904 424 0
FLAG -856 280 _CP1
FLAG -424 -136 QA1
FLAG -72 -136 QA2
FLAG 216 -136 QA3
FLAG 568 -136 QA4
FLAG 904 -136 QA5
SYMBOL Digital\\dflop -568 -184 R0
SYMATTR InstName A1
SYMATTR SpiceLine TD={TDQ}
SYMBOL Digital\\dflop -232 -184 R0
SYMATTR InstName A2
SYMATTR SpiceLine TD={TDQ}
SYMBOL Digital\\dflop 104 -184 R0
SYMATTR InstName A3
SYMATTR SpiceLine TD={TDQ}
SYMBOL Digital\\dflop 440 -184 R0
SYMATTR InstName A4
SYMATTR SpiceLine TD={TDQ}
SYMBOL Digital\\dflop 760 -184 R0
SYMATTR InstName A5
SYMATTR SpiceLine TD={TDQ}
SYMBOL Digital\\or -216 -360 R0
SYMATTR InstName A6
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\and -728 -136 R0
SYMATTR InstName A7
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\inv -888 -232 R0
SYMATTR InstName A8
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\buf1 -888 -120 R0
SYMATTR InstName A9
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\buf1 -888 -40 R0
SYMATTR InstName A10
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\and -56 -360 R0
SYMATTR InstName A11
SYMATTR SpiceLine TD={TDB}
SYMBOL Digital\\or -616 248 R90
SYMATTR InstName A12
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or -440 248 R90
SYMATTR InstName A13
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or -264 248 R90
SYMATTR InstName A14
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or -104 248 R90
SYMATTR InstName A15
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 56 248 R90
SYMATTR InstName A16
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 216 248 R90
SYMATTR InstName A17
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 376 248 R90
SYMATTR InstName A18
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 536 248 R90
SYMATTR InstName A19
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 696 248 R90
SYMATTR InstName A20
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\or 856 248 R90
SYMATTR InstName A21
SYMATTR SpiceLine TD={TDOR}
SYMBOL Digital\\buf1 1016 216 R90
SYMATTR InstName A22
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 -632 312 R90
SYMATTR InstName A23
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 -456 312 R90
SYMATTR InstName A24
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 -280 312 R90
SYMATTR InstName A25
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 -120 312 R90
SYMATTR InstName A26
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 40 312 R90
SYMATTR InstName A27
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 200 312 R90
SYMATTR InstName A28
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 360 312 R90
SYMATTR InstName A29
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 520 312 R90
SYMATTR InstName A30
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 680 312 R90
SYMATTR InstName A31
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL Digital\\buf1 840 312 R90
SYMATTR InstName A32
SYMATTR SpiceLine TD={TDB} TRISE={TRB}
SYMBOL voltage -1016 104 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL voltage -1016 296 R0
SYMATTR InstName V2
SYMATTR Value 0
SYMBOL voltage -1016 -408 R0
SYMATTR InstName V3
SYMATTR Value PULSE(0 1 1u 10n 10n 490n 1u)
SYMBOL voltage -904 296 R0
SYMATTR InstName V4
SYMATTR Value 0