* SPICE netlist
I6 0 CLK PULSE(0 1 0 0 0 .5M 1M)
I3 0 C 1.
I5 0 ENP 1.
I2 0 _LD PWL(0 1 4.5M 1 4.51M 0 5.5M 0 5.51M 1 6.5M 1)
I1 0 _CLR PWL(0 1 1.5M 1 1.51M 0 2.5M 0 2.51M 1 3.5M 1)
R5 CLK 0 1.
R3 C 0 1.
R4 ENP 0 1.
R2 _LD 0 1.
R1 _CLR 0 1.
A39 N010 0 0 0 0 N005 0 0 BUF
A37 _LD 0 0 0 0 N010 0 0 BUF
A42 _CLR 0 0 0 0 N011 0 0 BUF
A23 N035 0 0 0 0 N036 0 0 BUF
A22 N031 0 0 0 0 N033 0 0 BUF
A15 N023 0 0 0 0 N024 0 0 BUF
A16 N022 0 0 0 0 N026 0 0 BUF
A9 N013 0 0 0 0 N017 0 0 BUF
A8 N015 0 0 0 0 N016 0 0 BUF
A7 N001 0 0 0 0 N006 0 0 BUF
A6 N002 0 0 0 0 N003 0 0 BUF
A38 QD 0 QA 0 ENP 0 RC 0 AND
A41 0 _LD ENP ENP 0 0 N001 0 AND
A29 0 QA 0 N005 0 0 N002 0 AND
A1 0 N001 0 N003 0 N004 0 0 AND
A3 0 0 0 N010 0 N008 0 0 AND
A2 0 N002 0 N006 0 N007 0 0 AND
A4 0 N004 N007 N008 0 N009 0 0 AND TD=10N
A10 N012 0 N013 0 N016 N014 0 0 AND
A31 0 QA 0 N001 0 0 N013 0 AND
A30 0 QB 0 N005 0 0 N015 0 AND
A12 0 0 0 N010 0 N019 0 0 AND
A11 0 N015 0 N017 0 N018 0 0 AND
A13 0 N014 N018 N019 0 N020 0 0 AND TD=10N
A33 0 QB QA N001 0 0 N022 0 AND
A32 0 QC 0 N005 0 0 N023 0 AND
A17 0 N022 0 N024 0 N025 0 0 AND
A19 0 C 0 N010 0 N028 0 0 AND
A18 0 N023 0 N026 0 N027 0 0 AND
A20 0 N025 N027 N028 0 N029 0 0 AND TD=10N
A26 0 C 0 N010 0 N038 0 0 AND
A35 QC QB 0 QA N001 0 N032 0 AND
A34 0 QD 0 N005 0 0 N031 0 AND
A36 0 QA 0 N001 0 0 N035 0 AND
A24 0 N032 0 N033 0 N034 0 0 AND
A25 0 N031 0 N036 0 N037 0 0 AND
A27 0 N034 N037 N038 0 N039 0 0 AND TD=10N
A5 N009 0 CLK 0 N011 0 QA 0 DFLOP
A14 N020 0 CLK 0 N011 0 QB 0 DFLOP
A21 N029 0 CLK 0 N011 0 QC 0 DFLOP
A28 N039 0 CLK 0 N011 N012 QD 0 DFLOP
.tran 1u 100m

* LTspice schematic (.asc)
Version 4
SHEET 1 2192 1696
WIRE 936 -848 24 -848
WIRE 424 -800 280 -800
WIRE 24 -768 24 -848
WIRE 88 -768 24 -768
WIRE 296 -768 152 -768
WIRE 328 -768 296 -768
WIRE 424 -768 392 -768
WIRE 552 -768 488 -768
WIRE -968 -752 -1080 -752
WIRE -872 -752 -968 -752
WIRE 88 -736 -8 -736
WIRE -1080 -720 -1080 -752
WIRE -968 -720 -968 -752
WIRE 296 -672 296 -768
WIRE 424 -672 296 -672
WIRE 552 -656 552 -768
WIRE 584 -656 552 -656
WIRE 280 -640 280 -800
WIRE 280 -640 -24 -640
WIRE 328 -640 280 -640
WIRE 424 -640 392 -640
WIRE 584 -640 488 -640
WIRE 584 -624 552 -624
WIRE 744 -624 648 -624
WIRE 936 -624 936 -848
WIRE 936 -624 904 -624
WIRE 1096 -624 936 -624
WIRE -1080 -608 -1080 -640
WIRE -968 -608 -968 -640
WIRE 744 -576 712 -576
WIRE 424 -544 -280 -544
WIRE -968 -528 -1080 -528
WIRE -872 -528 -968 -528
WIRE 424 -512 8 -512
WIRE 552 -512 552 -624
WIRE 552 -512 488 -512
WIRE -1080 -496 -1080 -528
WIRE -968 -496 -968 -528
WIRE 824 -496 824 -528
WIRE 824 -496 728 -496
WIRE 936 -480 40 -480
WIRE 424 -448 248 -448
WIRE 424 -416 280 -416
WIRE 552 -400 488 -400
WIRE -1080 -384 -1080 -416
WIRE -968 -384 -968 -416
WIRE 40 -384 40 -480
WIRE 88 -384 40 -384
WIRE 296 -384 152 -384
WIRE 328 -384 296 -384
WIRE 424 -384 392 -384
WIRE -8 -352 -8 -736
WIRE 88 -352 -8 -352
WIRE -824 -304 -840 -304
WIRE -728 -304 -760 -304
WIRE 296 -288 296 -384
WIRE 424 -288 296 -288
WIRE 552 -272 552 -400
WIRE 584 -272 552 -272
WIRE -840 -256 -840 -304
WIRE -840 -256 -968 -256
WIRE 24 -256 24 -768
WIRE 88 -256 24 -256
WIRE 280 -256 280 -416
WIRE 280 -256 152 -256
WIRE 328 -256 280 -256
WIRE 424 -256 392 -256
WIRE 584 -256 488 -256
WIRE 584 -240 552 -240
WIRE 744 -240 648 -240
WIRE 936 -240 936 -480
WIRE 936 -240 904 -240
WIRE 1096 -240 936 -240
WIRE -968 -224 -968 -256
WIRE -24 -224 -24 -640
WIRE 88 -224 -24 -224
WIRE -840 -192 -840 -256
WIRE -824 -192 -840 -192
WIRE -728 -192 -760 -192
WIRE 712 -192 712 -576
WIRE 744 -192 712 -192
WIRE 424 -160 -280 -160
WIRE 8 -128 8 -512
WIRE 424 -128 8 -128
WIRE 552 -128 552 -240
WIRE 552 -128 488 -128
WIRE 728 -112 728 -496
WIRE 824 -112 824 -144
WIRE 824 -112 728 -112
WIRE -824 -96 -840 -96
WIRE -728 -96 -760 -96
WIRE 936 -96 56 -96
WIRE -968 -48 -1080 -48
WIRE -840 -48 -840 -96
WIRE -840 -48 -968 -48
WIRE 424 -48 280 -48
WIRE -1080 -16 -1080 -48
WIRE -968 -16 -968 -48
WIRE 56 -16 56 -96
WIRE 88 -16 56 -16
WIRE 296 -16 152 -16
WIRE 328 -16 296 -16
WIRE 424 -16 392 -16
WIRE 552 -16 488 -16
WIRE -840 0 -840 -48
WIRE -824 0 -840 0
WIRE -728 0 -760 0
WIRE -8 16 -8 -352
WIRE 88 16 -8 16
WIRE 296 80 296 -16
WIRE 424 80 296 80
WIRE -1080 96 -1080 64
WIRE -968 96 -968 64
WIRE 552 96 552 -16
WIRE 584 96 552 96
WIRE 40 112 40 -384
WIRE 88 112 40 112
WIRE 280 112 280 -48
WIRE 280 112 152 112
WIRE 328 112 280 112
WIRE 424 112 392 112
WIRE 584 112 488 112
WIRE 24 128 24 -256
WIRE 88 128 24 128
WIRE 584 128 552 128
WIRE 744 128 648 128
WIRE 936 128 936 -96
WIRE 936 128 904 128
WIRE 1096 128 936 128
WIRE -24 144 -24 -224
WIRE 88 144 -24 144
WIRE 712 176 712 -192
WIRE 744 176 712 176
WIRE -824 192 -840 192
WIRE -728 192 -760 192
WIRE 424 208 -280 208
WIRE -968 240 -1080 240
WIRE -840 240 -840 192
WIRE -840 240 -968 240
WIRE 8 240 8 -128
WIRE 424 240 8 240
WIRE 552 240 552 128
WIRE 552 240 488 240
WIRE 728 256 728 -112
WIRE 824 256 824 224
WIRE 824 256 728 256
WIRE -1080 272 -1080 240
WIRE -968 272 -968 240
WIRE 952 272 72 272
WIRE -840 304 -840 240
WIRE -824 304 -840 304
WIRE -728 304 -760 304
WIRE 72 304 72 272
WIRE 88 304 72 304
WIRE 296 304 152 304
WIRE -232 336 -280 336
WIRE -216 336 -232 336
WIRE -136 336 -152 336
WIRE -104 336 -136 336
WIRE -8 336 -8 16
WIRE -8 336 -40 336
WIRE 88 336 -8 336
WIRE 424 368 280 368
WIRE -1080 384 -1080 352
WIRE -968 384 -968 352
WIRE 56 400 56 -16
WIRE 88 400 56 400
WIRE 296 400 296 304
WIRE 328 400 296 400
WIRE 424 400 392 400
WIRE 552 400 488 400
WIRE -136 416 -136 336
WIRE 8 416 8 240
WIRE 8 416 -136 416
WIRE 40 416 40 112
WIRE 88 416 40 416
WIRE 280 416 280 368
WIRE 280 416 152 416
WIRE 24 448 24 128
WIRE 88 448 24 448
WIRE 88 464 56 464
WIRE -968 496 -1080 496
WIRE -856 496 -968 496
WIRE 296 496 296 400
WIRE 424 496 296 496
WIRE 552 512 552 400
WIRE 584 512 552 512
WIRE -1080 528 -1080 496
WIRE -968 528 -968 496
WIRE 24 528 24 448
WIRE 88 528 24 528
WIRE 328 528 152 528
WIRE 424 528 392 528
WIRE 584 528 488 528
WIRE 584 544 552 544
WIRE 744 544 648 544
WIRE 952 544 952 272
WIRE 952 544 904 544
WIRE 1096 544 952 544
WIRE -232 560 -232 336
WIRE -152 560 -232 560
WIRE -24 560 -24 144
WIRE -24 560 -88 560
WIRE 56 560 56 464
WIRE 56 560 -24 560
WIRE 88 560 56 560
WIRE -152 576 -280 576
WIRE -152 592 -232 592
WIRE 712 592 712 176
WIRE 744 592 712 592
WIRE 936 592 920 592
WIRE -1080 640 -1080 608
WIRE -968 640 -968 608
WIRE 424 640 -280 640
WIRE 8 672 8 416
WIRE 424 672 8 672
WIRE 552 672 552 544
WIRE 552 672 488 672
WIRE 728 672 728 256
WIRE 824 672 824 640
WIRE 824 672 728 672
WIRE 248 720 248 -448
WIRE 936 720 936 592
WIRE 936 720 248 720
WIRE 712 736 712 592
WIRE 712 736 -280 736
WIRE 88 784 -280 784
WIRE 824 784 824 672
WIRE 824 784 152 784
WIRE 952 784 952 544
WIRE 968 784 952 784
WIRE 1096 800 1032 800
WIRE 24 816 24 528
WIRE 968 816 24 816
WIRE -232 848 -232 592
WIRE -232 848 -280 848
WIRE 968 848 -232 848
FLAG 1096 -624 QA
FLAG 1096 -240 QB
FLAG 1096 128 QC
FLAG 1096 544 QD
FLAG 1096 800 RC
FLAG -1080 640 0
FLAG -968 640 0
FLAG -968 -224 0
FLAG -1080 96 0
FLAG -968 96 0
FLAG -1080 384 0
FLAG -968 384 0
FLAG -1080 -384 0
FLAG -968 -384 0
FLAG -1080 -608 0
FLAG -968 -608 0
FLAG -280 784 _CLR
FLAG -872 -752 _CLR
FLAG -280 -544 A
FLAG -728 -304 A
FLAG -728 -192 B
FLAG -280 -160 B
FLAG -728 -96 C
FLAG -280 208 C
FLAG -280 336 _LD
FLAG -872 -528 _LD
FLAG -728 192 ENP
FLAG -280 576 ENP
FLAG -728 0 D
FLAG -280 640 D
FLAG -856 496 CLK
FLAG -280 736 CLK
FLAG -728 304 ENT
FLAG -280 848 ENT
SYMBOL CURRENT -968 608 M180
SYMATTR InstName I6
SYMATTR Value PULSE(0 1 0 0 0 .5M 1M)
SYMBOL CURRENT -968 64 R180
SYMATTR InstName I3
SYMATTR Value 1.
SYMBOL CURRENT -968 352 R180
SYMATTR InstName I5
SYMATTR Value 1.
SYMBOL CURRENT -968 -416 M180
SYMATTR InstName I2
SYMATTR Value PWL(0 1 4.5M 1 4.51M 0 5.5M 0 5.51M 1 6.5M 1)
SYMBOL CURRENT -968 -640 M180
SYMATTR InstName I1
SYMATTR Value PWL(0 1 1.5M 1 1.51M 0 2.5M 0 2.51M 1 3.5M 1)
SYMBOL MISC\\JUMPER -792 240 R0
SYMATTR InstName J6
SYMBOL MISC\\JUMPER -792 128 R0
SYMATTR InstName J5
SYMBOL MISC\\JUMPER -792 -64 R0
SYMATTR InstName J4
SYMBOL MISC\\JUMPER -792 -160 R0
SYMATTR InstName J3
SYMBOL MISC\\JUMPER -792 -256 R0
SYMATTR InstName J2
SYMBOL MISC\\JUMPER -792 -368 R0
SYMATTR InstName J1
SYMBOL RES -1096 512 R0
SYMATTR InstName R5
SYMATTR Value 1.
SYMBOL RES -1096 -32 R0
SYMATTR InstName R3
SYMATTR Value 1.
SYMBOL RES -1096 256 R0
SYMATTR InstName R4
SYMATTR Value 1.
SYMBOL RES -1096 -512 R0
SYMATTR InstName R2
SYMATTR Value 1.
SYMBOL RES -1096 -736 R0
SYMATTR InstName R1
SYMATTR Value 1.
SYMBOL DIGITAL\\INV -104 272 R0
SYMATTR InstName A39
SYMBOL DIGITAL\\INV -216 272 R0
SYMATTR InstName A37
SYMBOL DIGITAL\\INV 88 720 R0
SYMATTR InstName A42
SYMBOL DIGITAL\\INV 328 464 R0
SYMATTR InstName A23
SYMBOL DIGITAL\\INV 328 336 R0
SYMATTR InstName A22
SYMBOL DIGITAL\\INV 328 -80 R0
SYMATTR InstName A15
SYMBOL DIGITAL\\INV 328 48 R0
SYMATTR InstName A16
SYMBOL DIGITAL\\INV 328 -320 R0
SYMATTR InstName A9
SYMBOL DIGITAL\\INV 328 -448 R0
SYMATTR InstName A8
SYMBOL DIGITAL\\INV 328 -704 R0
SYMATTR InstName A7
SYMBOL DIGITAL\\INV 328 -832 R0
SYMATTR InstName A6
SYMBOL DIGITAL\\AND 1000 752 R0
SYMATTR InstName A38
SYMBOL DIGITAL\\AND -120 512 R0
SYMATTR InstName A41
SYMBOL DIGITAL\\AND 120 -816 R0
SYMATTR InstName A29
SYMBOL DIGITAL\\AND 456 -848 R0
SYMATTR InstName A1
SYMBOL DIGITAL\\AND 456 -592 R0
SYMATTR InstName A3
SYMBOL DIGITAL\\AND 456 -720 R0
SYMATTR InstName A2
SYMBOL DIGITAL\\AND 616 -704 R0
SYMATTR InstName A4
SYMATTR Value TD=10N
SYMBOL DIGITAL\\AND 456 -480 R0
SYMATTR InstName A10
SYMBOL DIGITAL\\AND 120 -304 R0
SYMATTR InstName A31
SYMBOL DIGITAL\\AND 120 -432 R0
SYMATTR InstName A30
SYMBOL DIGITAL\\AND 456 -208 R0
SYMATTR InstName A12
SYMBOL DIGITAL\\AND 456 -336 R0
SYMATTR InstName A11
SYMBOL DIGITAL\\AND 616 -320 R0
SYMATTR InstName A13
SYMATTR Value TD=10N
SYMBOL DIGITAL\\AND 120 64 R0
SYMATTR InstName A33
SYMBOL DIGITAL\\AND 120 -64 R0
SYMATTR InstName A32
SYMBOL DIGITAL\\AND 456 -96 R0
SYMATTR InstName A17
SYMBOL DIGITAL\\AND 456 160 R0
SYMATTR InstName A19
SYMBOL DIGITAL\\AND 456 32 R0
SYMATTR InstName A18
SYMBOL DIGITAL\\AND 616 48 R0
SYMATTR InstName A20
SYMATTR Value TD=10N
SYMBOL DIGITAL\\AND 456 592 R0
SYMATTR InstName A26
SYMBOL DIGITAL\\AND 120 368 R0
SYMATTR InstName A35
SYMBOL DIGITAL\\AND 120 256 R0
SYMATTR InstName A34
SYMBOL DIGITAL\\AND 120 480 R0
SYMATTR InstName A36
SYMBOL DIGITAL\\AND 456 320 R0
SYMATTR InstName A24
SYMBOL DIGITAL\\AND 456 448 R0
SYMATTR InstName A25
SYMBOL DIGITAL\\AND 616 464 R0
SYMATTR InstName A27
SYMATTR Value TD=10N
SYMBOL DIGITAL\\DFLOP 824 -672 R0
SYMATTR InstName A5
SYMBOL DIGITAL\\DFLOP 824 -288 R0
SYMATTR InstName A14
SYMBOL DIGITAL\\DFLOP 824 80 R0
SYMATTR InstName A21
SYMBOL DIGITAL\\DFLOP 824 496 R0
SYMATTR InstName A28