summaryrefslogtreecommitdiff
path: root/CMOS
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-12-15 14:26:29 +1100
committerJed Barber <jjbarber@y7mail.com>2016-12-15 14:26:29 +1100
commit76682bade38a8b2d58490ddbb80cb627a2b2ad1b (patch)
tree2b6aa35854a5a9488e419ddf9792d4037bf697d5 /CMOS
parent1e7286b071bcb070ddaa95f09d29614bad7a282d (diff)
Old uncommitted changesHEADmaster
Diffstat (limited to 'CMOS')
-rw-r--r--CMOS/2_input_antimax.asc210
-rw-r--r--CMOS/2_input_antimax.asy48
-rw-r--r--CMOS/2_input_antimin.asc206
-rw-r--r--CMOS/2_input_antimin.asy48
-rw-r--r--CMOS/2_input_max.asc30
-rw-r--r--CMOS/2_input_max.asy44
-rw-r--r--CMOS/2_input_min.asc30
-rw-r--r--CMOS/2_input_min.asy44
-rw-r--r--CMOS/3_input_antimax.asc270
-rw-r--r--CMOS/3_input_antimin.asc274
-rw-r--r--CMOS/buffer.asc24
-rw-r--r--CMOS/buffer.asy34
-rw-r--r--CMOS/clamp_down.asc80
-rw-r--r--CMOS/clamp_down.asy40
-rw-r--r--CMOS/clamp_up.asc76
-rw-r--r--CMOS/clamp_up.asy40
-rw-r--r--CMOS/consensus.asc30
-rw-r--r--CMOS/consensus.asy44
-rw-r--r--CMOS/custom.mos46
-rw-r--r--CMOS/decrement.asc146
-rw-r--r--CMOS/decrement.asy34
-rw-r--r--CMOS/equality.asc338
-rw-r--r--CMOS/equality.asy44
-rw-r--r--CMOS/gullible.asc30
-rw-r--r--CMOS/gullible.asy44
-rw-r--r--CMOS/increment.asc146
-rw-r--r--CMOS/increment.asy34
-rw-r--r--CMOS/inverting_consensus.asc200
-rw-r--r--CMOS/inverting_consensus.asy46
-rw-r--r--CMOS/inverting_gullible.asc324
-rw-r--r--CMOS/inverting_gullible.asy46
-rw-r--r--CMOS/is_false.asc20
-rw-r--r--CMOS/is_false.asy34
-rw-r--r--CMOS/is_true.asc24
-rw-r--r--CMOS/is_true.asy34
-rw-r--r--CMOS/is_unknown.asc134
-rw-r--r--CMOS/is_unknown.asy34
-rw-r--r--CMOS/monadic_decoder.asc160
-rw-r--r--CMOS/monadic_decoder.asy56
-rw-r--r--CMOS/negative_threshold_inverter.asc90
-rw-r--r--CMOS/negative_threshold_inverter.asy36
-rw-r--r--CMOS/positive_threshold_inverter.asc90
-rw-r--r--CMOS/positive_threshold_inverter.asy36
-rw-r--r--CMOS/standard_inverter.asc126
-rw-r--r--CMOS/standard_inverter.asy36
-rw-r--r--CMOS/sum.asc588
-rw-r--r--CMOS/sum.asy44
-rw-r--r--CMOS/xor.asc350
-rw-r--r--CMOS/xor.asy44
49 files changed, 2493 insertions, 2493 deletions
diff --git a/CMOS/2_input_antimax.asc b/CMOS/2_input_antimax.asc
index d74f80e..4675cc2 100644
--- a/CMOS/2_input_antimax.asc
+++ b/CMOS/2_input_antimax.asc
@@ -1,105 +1,105 @@
-Version 4
-SHEET 1 972 680
-WIRE -496 -192 -528 -192
-WIRE -96 -192 -416 -192
-WIRE -528 -160 -528 -192
-WIRE -96 -144 -96 -192
-WIRE -144 -128 -304 -128
-WIRE 384 -112 32 -112
-WIRE 624 -112 384 -112
-WIRE 752 -112 624 -112
-WIRE 528 -48 224 -48
-WIRE -96 -16 -96 -48
-WIRE 384 -16 384 -112
-WIRE 624 -16 624 -112
-WIRE -304 0 -304 -128
-WIRE -304 0 -416 0
-WIRE -144 0 -192 0
-WIRE 336 64 288 64
-WIRE 528 64 528 -48
-WIRE 576 64 528 64
-WIRE -96 128 -96 80
-WIRE 32 128 32 -112
-WIRE 32 128 -96 128
-WIRE -192 144 -192 0
-WIRE -192 144 -416 144
-WIRE 384 176 384 80
-WIRE 496 176 384 176
-WIRE 624 176 624 80
-WIRE 624 176 496 176
-WIRE -192 192 -192 144
-WIRE -48 192 -192 192
-WIRE 224 192 224 -48
-WIRE 224 192 -48 192
-WIRE 496 208 496 176
-WIRE -304 288 -304 0
-WIRE 288 288 288 64
-WIRE 288 288 -304 288
-WIRE 448 288 288 288
-WIRE 496 336 496 304
-WIRE -96 352 -96 128
-WIRE -96 352 -208 352
-WIRE 32 352 -96 352
-WIRE -208 400 -208 352
-WIRE 32 400 32 352
-WIRE 224 416 224 192
-WIRE 448 416 224 416
-WIRE -304 480 -304 288
-WIRE -256 480 -304 480
-WIRE -48 480 -48 192
-WIRE -16 480 -48 480
-WIRE 496 496 496 432
-WIRE -496 544 -528 544
-WIRE -208 544 -208 496
-WIRE -208 544 -416 544
-WIRE 32 544 32 496
-WIRE 32 544 -208 544
-WIRE -528 576 -528 544
-FLAG 496 496 0
-FLAG -528 576 0
-FLAG -528 -160 0
-FLAG -416 0 A
-IOPIN -416 0 In
-FLAG -416 144 B
-IOPIN -416 144 In
-FLAG 752 -112 Y
-IOPIN 752 -112 Out
-SYMBOL pmos -144 -48 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -144 80 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL nmos -256 400 R0
-SYMATTR InstName M3
-SYMATTR Value N-ENH
-SYMBOL nmos -16 400 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL nmos 336 -16 R0
-SYMATTR InstName M5
-SYMATTR Value N-DLOW
-SYMBOL nmos 576 -16 R0
-SYMATTR InstName M6
-SYMATTR Value N-DLOW
-SYMBOL pmos 448 208 R0
-SYMATTR InstName M7
-SYMATTR Value P-DLOW
-SYMBOL pmos 448 336 R0
-SYMATTR InstName M8
-SYMATTR Value P-DLOW
-SYMBOL voltage -400 -192 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value 1
-SYMBOL voltage -400 544 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V4
-SYMATTR Value -1
-TEXT 328 -176 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 972 680
+WIRE -496 -192 -528 -192
+WIRE -96 -192 -416 -192
+WIRE -528 -160 -528 -192
+WIRE -96 -144 -96 -192
+WIRE -144 -128 -304 -128
+WIRE 384 -112 32 -112
+WIRE 624 -112 384 -112
+WIRE 752 -112 624 -112
+WIRE 528 -48 224 -48
+WIRE -96 -16 -96 -48
+WIRE 384 -16 384 -112
+WIRE 624 -16 624 -112
+WIRE -304 0 -304 -128
+WIRE -304 0 -416 0
+WIRE -144 0 -192 0
+WIRE 336 64 288 64
+WIRE 528 64 528 -48
+WIRE 576 64 528 64
+WIRE -96 128 -96 80
+WIRE 32 128 32 -112
+WIRE 32 128 -96 128
+WIRE -192 144 -192 0
+WIRE -192 144 -416 144
+WIRE 384 176 384 80
+WIRE 496 176 384 176
+WIRE 624 176 624 80
+WIRE 624 176 496 176
+WIRE -192 192 -192 144
+WIRE -48 192 -192 192
+WIRE 224 192 224 -48
+WIRE 224 192 -48 192
+WIRE 496 208 496 176
+WIRE -304 288 -304 0
+WIRE 288 288 288 64
+WIRE 288 288 -304 288
+WIRE 448 288 288 288
+WIRE 496 336 496 304
+WIRE -96 352 -96 128
+WIRE -96 352 -208 352
+WIRE 32 352 -96 352
+WIRE -208 400 -208 352
+WIRE 32 400 32 352
+WIRE 224 416 224 192
+WIRE 448 416 224 416
+WIRE -304 480 -304 288
+WIRE -256 480 -304 480
+WIRE -48 480 -48 192
+WIRE -16 480 -48 480
+WIRE 496 496 496 432
+WIRE -496 544 -528 544
+WIRE -208 544 -208 496
+WIRE -208 544 -416 544
+WIRE 32 544 32 496
+WIRE 32 544 -208 544
+WIRE -528 576 -528 544
+FLAG 496 496 0
+FLAG -528 576 0
+FLAG -528 -160 0
+FLAG -416 0 A
+IOPIN -416 0 In
+FLAG -416 144 B
+IOPIN -416 144 In
+FLAG 752 -112 Y
+IOPIN 752 -112 Out
+SYMBOL pmos -144 -48 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -144 80 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL nmos -256 400 R0
+SYMATTR InstName M3
+SYMATTR Value N-ENH
+SYMBOL nmos -16 400 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL nmos 336 -16 R0
+SYMATTR InstName M5
+SYMATTR Value N-DLOW
+SYMBOL nmos 576 -16 R0
+SYMATTR InstName M6
+SYMATTR Value N-DLOW
+SYMBOL pmos 448 208 R0
+SYMATTR InstName M7
+SYMATTR Value P-DLOW
+SYMBOL pmos 448 336 R0
+SYMATTR InstName M8
+SYMATTR Value P-DLOW
+SYMBOL voltage -400 -192 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value 1
+SYMBOL voltage -400 544 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V4
+SYMATTR Value -1
+TEXT 328 -176 Left 0 !.inc ./custom.mos
diff --git a/CMOS/2_input_antimax.asy b/CMOS/2_input_antimax.asy
index e29234c..8ef0d80 100644
--- a/CMOS/2_input_antimax.asy
+++ b/CMOS/2_input_antimax.asy
@@ -1,24 +1,24 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 56 48 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 77 Center 0 MAX
-TEXT 0 52 Center 0 ANTI
-SYMATTR Description 2-input ANTIMAX gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 56 48 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 77 Center 0 MAX
+TEXT 0 52 Center 0 ANTI
+SYMATTR Description 2-input ANTIMAX gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/2_input_antimin.asc b/CMOS/2_input_antimin.asc
index 14b61d2..79255dc 100644
--- a/CMOS/2_input_antimin.asc
+++ b/CMOS/2_input_antimin.asc
@@ -1,103 +1,103 @@
-Version 4
-SHEET 1 880 680
-WIRE -528 -208 -592 -208
-WIRE -96 -208 -448 -208
-WIRE -592 -176 -592 -208
-WIRE -96 -144 -96 -208
-WIRE -96 -144 -192 -144
-WIRE 16 -144 -96 -144
-WIRE -32 -112 -384 -112
-WIRE -192 -96 -192 -144
-WIRE 16 -96 16 -144
-WIRE 256 -96 112 -96
-WIRE 512 -96 256 -96
-WIRE 704 -96 512 -96
-WIRE -240 -80 -336 -80
-WIRE -32 -80 -32 -112
-WIRE 256 -16 256 -96
-WIRE 512 -16 512 -96
-WIRE -384 32 -384 -112
-WIRE -384 32 -448 32
-WIRE -192 96 -192 0
-WIRE -96 96 -192 96
-WIRE 16 96 16 0
-WIRE 16 96 -96 96
-WIRE 112 96 112 -96
-WIRE 112 96 16 96
-WIRE -384 144 -384 32
-WIRE 208 144 208 64
-WIRE 208 144 -384 144
-WIRE 256 160 256 80
-WIRE 368 160 256 160
-WIRE 512 160 512 80
-WIRE 512 160 368 160
-WIRE -336 192 -336 -80
-WIRE -336 192 -448 192
-WIRE 144 192 -336 192
-WIRE 464 192 464 64
-WIRE 464 192 144 192
-WIRE -96 208 -96 96
-WIRE 368 240 368 160
-WIRE -336 288 -336 192
-WIRE -144 288 -336 288
-WIRE 208 320 208 144
-WIRE 320 320 208 320
-WIRE -96 352 -96 304
-WIRE 368 368 368 336
-WIRE -384 432 -384 144
-WIRE -144 432 -384 432
-WIRE 144 448 144 192
-WIRE 320 448 144 448
-WIRE -528 512 -592 512
-WIRE -96 512 -96 448
-WIRE -96 512 -448 512
-WIRE 368 528 368 464
-WIRE -592 544 -592 512
-FLAG -592 544 0
-FLAG 368 528 0
-FLAG -592 -176 0
-FLAG -448 32 A
-IOPIN -448 32 In
-FLAG -448 192 B
-IOPIN -448 192 In
-FLAG 704 -96 Y
-IOPIN 704 -96 Out
-SYMBOL pmos -240 0 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -32 0 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL nmos -144 208 R0
-SYMATTR InstName M3
-SYMATTR Value N-ENH
-SYMBOL nmos -144 352 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL voltage -432 -208 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -432 512 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V4
-SYMATTR Value -1
-SYMBOL nmos 320 368 R0
-SYMATTR InstName M5
-SYMATTR Value N-DLOW
-SYMBOL nmos 320 240 R0
-SYMATTR InstName M6
-SYMATTR Value N-DLOW
-SYMBOL pmos 208 -16 R0
-SYMATTR InstName M7
-SYMATTR Value P-DLOW
-SYMBOL pmos 464 -16 R0
-SYMATTR InstName M8
-SYMATTR Value P-DLOW
-TEXT 360 -184 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 880 680
+WIRE -528 -208 -592 -208
+WIRE -96 -208 -448 -208
+WIRE -592 -176 -592 -208
+WIRE -96 -144 -96 -208
+WIRE -96 -144 -192 -144
+WIRE 16 -144 -96 -144
+WIRE -32 -112 -384 -112
+WIRE -192 -96 -192 -144
+WIRE 16 -96 16 -144
+WIRE 256 -96 112 -96
+WIRE 512 -96 256 -96
+WIRE 704 -96 512 -96
+WIRE -240 -80 -336 -80
+WIRE -32 -80 -32 -112
+WIRE 256 -16 256 -96
+WIRE 512 -16 512 -96
+WIRE -384 32 -384 -112
+WIRE -384 32 -448 32
+WIRE -192 96 -192 0
+WIRE -96 96 -192 96
+WIRE 16 96 16 0
+WIRE 16 96 -96 96
+WIRE 112 96 112 -96
+WIRE 112 96 16 96
+WIRE -384 144 -384 32
+WIRE 208 144 208 64
+WIRE 208 144 -384 144
+WIRE 256 160 256 80
+WIRE 368 160 256 160
+WIRE 512 160 512 80
+WIRE 512 160 368 160
+WIRE -336 192 -336 -80
+WIRE -336 192 -448 192
+WIRE 144 192 -336 192
+WIRE 464 192 464 64
+WIRE 464 192 144 192
+WIRE -96 208 -96 96
+WIRE 368 240 368 160
+WIRE -336 288 -336 192
+WIRE -144 288 -336 288
+WIRE 208 320 208 144
+WIRE 320 320 208 320
+WIRE -96 352 -96 304
+WIRE 368 368 368 336
+WIRE -384 432 -384 144
+WIRE -144 432 -384 432
+WIRE 144 448 144 192
+WIRE 320 448 144 448
+WIRE -528 512 -592 512
+WIRE -96 512 -96 448
+WIRE -96 512 -448 512
+WIRE 368 528 368 464
+WIRE -592 544 -592 512
+FLAG -592 544 0
+FLAG 368 528 0
+FLAG -592 -176 0
+FLAG -448 32 A
+IOPIN -448 32 In
+FLAG -448 192 B
+IOPIN -448 192 In
+FLAG 704 -96 Y
+IOPIN 704 -96 Out
+SYMBOL pmos -240 0 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -32 0 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL nmos -144 208 R0
+SYMATTR InstName M3
+SYMATTR Value N-ENH
+SYMBOL nmos -144 352 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL voltage -432 -208 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -432 512 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V4
+SYMATTR Value -1
+SYMBOL nmos 320 368 R0
+SYMATTR InstName M5
+SYMATTR Value N-DLOW
+SYMBOL nmos 320 240 R0
+SYMATTR InstName M6
+SYMATTR Value N-DLOW
+SYMBOL pmos 208 -16 R0
+SYMATTR InstName M7
+SYMATTR Value P-DLOW
+SYMBOL pmos 464 -16 R0
+SYMATTR InstName M8
+SYMATTR Value P-DLOW
+TEXT 360 -184 Left 0 !.inc ./custom.mos
diff --git a/CMOS/2_input_antimin.asy b/CMOS/2_input_antimin.asy
index 1b33509..2e9850b 100644
--- a/CMOS/2_input_antimin.asy
+++ b/CMOS/2_input_antimin.asy
@@ -1,24 +1,24 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 56 48 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 77 Center 0 MIN
-TEXT 0 52 Center 0 ANTI
-SYMATTR Description 2-input ANTIMIN gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 56 48 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 77 Center 0 MIN
+TEXT 0 52 Center 0 ANTI
+SYMATTR Description 2-input ANTIMIN gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/2_input_max.asc b/CMOS/2_input_max.asc
index 6edc382..7787925 100644
--- a/CMOS/2_input_max.asc
+++ b/CMOS/2_input_max.asc
@@ -1,15 +1,15 @@
-Version 4
-SHEET 1 880 680
-WIRE 80 160 64 160
-WIRE 320 176 304 176
-WIRE 80 192 64 192
-FLAG 64 160 A
-IOPIN 64 160 In
-FLAG 64 192 B
-IOPIN 64 192 In
-FLAG 320 176 Y
-IOPIN 320 176 Out
-SYMBOL .\\2_input_antimax 128 112 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter 240 128 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 880 680
+WIRE 80 160 64 160
+WIRE 320 176 304 176
+WIRE 80 192 64 192
+FLAG 64 160 A
+IOPIN 64 160 In
+FLAG 64 192 B
+IOPIN 64 192 In
+FLAG 320 176 Y
+IOPIN 320 176 Out
+SYMBOL .\\2_input_antimax 128 112 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter 240 128 R0
+SYMATTR InstName U2
diff --git a/CMOS/2_input_max.asy b/CMOS/2_input_max.asy
index 5552b62..a398f78 100644
--- a/CMOS/2_input_max.asy
+++ b/CMOS/2_input_max.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 MAX
-SYMATTR Description 2-input MAX gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 MAX
+SYMATTR Description 2-input MAX gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/2_input_min.asc b/CMOS/2_input_min.asc
index 6f991fc..becb35c 100644
--- a/CMOS/2_input_min.asc
+++ b/CMOS/2_input_min.asc
@@ -1,15 +1,15 @@
-Version 4
-SHEET 1 880 680
-WIRE 80 160 64 160
-WIRE 320 176 304 176
-WIRE 80 192 64 192
-FLAG 64 160 A
-IOPIN 64 160 In
-FLAG 64 192 B
-IOPIN 64 192 In
-FLAG 320 176 Y
-IOPIN 320 176 Out
-SYMBOL .\\2_input_antimin 128 112 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter 240 128 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 880 680
+WIRE 80 160 64 160
+WIRE 320 176 304 176
+WIRE 80 192 64 192
+FLAG 64 160 A
+IOPIN 64 160 In
+FLAG 64 192 B
+IOPIN 64 192 In
+FLAG 320 176 Y
+IOPIN 320 176 Out
+SYMBOL .\\2_input_antimin 128 112 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter 240 128 R0
+SYMATTR InstName U2
diff --git a/CMOS/2_input_min.asy b/CMOS/2_input_min.asy
index 0efa86d..3e5b13c 100644
--- a/CMOS/2_input_min.asy
+++ b/CMOS/2_input_min.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 MIN
-SYMATTR Description 2-input MIN gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 MIN
+SYMATTR Description 2-input MIN gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/3_input_antimax.asc b/CMOS/3_input_antimax.asc
index 4a394af..b32cc6d 100644
--- a/CMOS/3_input_antimax.asc
+++ b/CMOS/3_input_antimax.asc
@@ -1,135 +1,135 @@
-Version 4
-SHEET 1 1040 680
-WIRE -240 -256 -272 -256
-WIRE -48 -256 -160 -256
-WIRE -272 -224 -272 -256
-WIRE 464 -176 224 -176
-WIRE 656 -176 464 -176
-WIRE 848 -176 656 -176
-WIRE 960 -176 848 -176
-WIRE -48 -160 -48 -256
-WIRE -336 -144 -480 -144
-WIRE -96 -144 -336 -144
-WIRE 464 -112 464 -176
-WIRE 656 -112 656 -176
-WIRE 848 -112 848 -176
-WIRE -48 -32 -48 -64
-WIRE 416 -32 368 -32
-WIRE 608 -32 560 -32
-WIRE 800 -32 752 -32
-WIRE -144 -16 -480 -16
-WIRE -96 -16 -144 -16
-WIRE 752 32 752 -32
-WIRE 752 32 512 32
-WIRE -48 96 -48 64
-WIRE 464 96 464 -16
-WIRE 656 96 656 -16
-WIRE 656 96 464 96
-WIRE 848 96 848 -16
-WIRE 848 96 656 96
-WIRE -192 112 -480 112
-WIRE -96 112 -192 112
-WIRE 656 112 656 96
-WIRE 512 192 512 32
-WIRE 608 192 512 192
-WIRE -48 224 -48 192
-WIRE -48 224 -240 224
-WIRE 144 224 -48 224
-WIRE 224 224 224 -176
-WIRE 224 224 144 224
-WIRE 656 240 656 208
-WIRE -336 256 -336 -144
-WIRE 512 256 512 192
-WIRE 512 256 -336 256
-WIRE -144 288 -144 -16
-WIRE 368 288 368 -32
-WIRE 368 288 -144 288
-WIRE -192 320 -192 112
-WIRE 48 320 -192 320
-WIRE 560 320 560 -32
-WIRE 560 320 48 320
-WIRE 608 320 560 320
-WIRE -240 352 -240 224
-WIRE -48 352 -48 224
-WIRE 144 352 144 224
-WIRE 656 368 656 336
-WIRE -336 432 -336 256
-WIRE -288 432 -336 432
-WIRE -144 432 -144 288
-WIRE -96 432 -144 432
-WIRE 48 432 48 320
-WIRE 96 432 48 432
-WIRE 368 448 368 288
-WIRE 608 448 368 448
-WIRE -240 480 -240 448
-WIRE -48 480 -48 448
-WIRE -48 480 -240 480
-WIRE 144 480 144 448
-WIRE 144 480 -48 480
-WIRE 656 496 656 464
-WIRE -240 576 -272 576
-WIRE -48 576 -48 480
-WIRE -48 576 -160 576
-WIRE -272 608 -272 576
-FLAG 656 496 0
-FLAG -272 -224 0
-FLAG -272 608 0
-FLAG -480 -144 A
-IOPIN -480 -144 In
-FLAG -480 -16 B
-IOPIN -480 -16 In
-FLAG -480 112 C
-IOPIN -480 112 In
-FLAG 960 -176 Y
-IOPIN 960 -176 Out
-SYMBOL pmos -96 -64 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -96 64 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL pmos -96 192 M180
-SYMATTR InstName M3
-SYMATTR Value P-ENH
-SYMBOL nmos -96 352 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL nmos -288 352 R0
-SYMATTR InstName M5
-SYMATTR Value N-ENH
-SYMBOL nmos 96 352 R0
-SYMATTR InstName M6
-SYMATTR Value N-ENH
-SYMBOL nmos 416 -112 R0
-SYMATTR InstName M7
-SYMATTR Value N-DLOW
-SYMBOL nmos 608 -112 R0
-SYMATTR InstName M8
-SYMATTR Value N-DLOW
-SYMBOL nmos 800 -112 R0
-SYMATTR InstName M9
-SYMATTR Value N-DLOW
-SYMBOL pmos 608 112 R0
-SYMATTR InstName M10
-SYMATTR Value P-DLOW
-SYMBOL pmos 608 240 R0
-SYMATTR InstName M11
-SYMATTR Value P-DLOW
-SYMBOL pmos 608 368 R0
-SYMATTR InstName M12
-SYMATTR Value P-DLOW
-SYMBOL voltage -144 -256 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -144 576 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-TEXT 240 -240 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 1040 680
+WIRE -240 -256 -272 -256
+WIRE -48 -256 -160 -256
+WIRE -272 -224 -272 -256
+WIRE 464 -176 224 -176
+WIRE 656 -176 464 -176
+WIRE 848 -176 656 -176
+WIRE 960 -176 848 -176
+WIRE -48 -160 -48 -256
+WIRE -336 -144 -480 -144
+WIRE -96 -144 -336 -144
+WIRE 464 -112 464 -176
+WIRE 656 -112 656 -176
+WIRE 848 -112 848 -176
+WIRE -48 -32 -48 -64
+WIRE 416 -32 368 -32
+WIRE 608 -32 560 -32
+WIRE 800 -32 752 -32
+WIRE -144 -16 -480 -16
+WIRE -96 -16 -144 -16
+WIRE 752 32 752 -32
+WIRE 752 32 512 32
+WIRE -48 96 -48 64
+WIRE 464 96 464 -16
+WIRE 656 96 656 -16
+WIRE 656 96 464 96
+WIRE 848 96 848 -16
+WIRE 848 96 656 96
+WIRE -192 112 -480 112
+WIRE -96 112 -192 112
+WIRE 656 112 656 96
+WIRE 512 192 512 32
+WIRE 608 192 512 192
+WIRE -48 224 -48 192
+WIRE -48 224 -240 224
+WIRE 144 224 -48 224
+WIRE 224 224 224 -176
+WIRE 224 224 144 224
+WIRE 656 240 656 208
+WIRE -336 256 -336 -144
+WIRE 512 256 512 192
+WIRE 512 256 -336 256
+WIRE -144 288 -144 -16
+WIRE 368 288 368 -32
+WIRE 368 288 -144 288
+WIRE -192 320 -192 112
+WIRE 48 320 -192 320
+WIRE 560 320 560 -32
+WIRE 560 320 48 320
+WIRE 608 320 560 320
+WIRE -240 352 -240 224
+WIRE -48 352 -48 224
+WIRE 144 352 144 224
+WIRE 656 368 656 336
+WIRE -336 432 -336 256
+WIRE -288 432 -336 432
+WIRE -144 432 -144 288
+WIRE -96 432 -144 432
+WIRE 48 432 48 320
+WIRE 96 432 48 432
+WIRE 368 448 368 288
+WIRE 608 448 368 448
+WIRE -240 480 -240 448
+WIRE -48 480 -48 448
+WIRE -48 480 -240 480
+WIRE 144 480 144 448
+WIRE 144 480 -48 480
+WIRE 656 496 656 464
+WIRE -240 576 -272 576
+WIRE -48 576 -48 480
+WIRE -48 576 -160 576
+WIRE -272 608 -272 576
+FLAG 656 496 0
+FLAG -272 -224 0
+FLAG -272 608 0
+FLAG -480 -144 A
+IOPIN -480 -144 In
+FLAG -480 -16 B
+IOPIN -480 -16 In
+FLAG -480 112 C
+IOPIN -480 112 In
+FLAG 960 -176 Y
+IOPIN 960 -176 Out
+SYMBOL pmos -96 -64 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -96 64 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos -96 192 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL nmos -96 352 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL nmos -288 352 R0
+SYMATTR InstName M5
+SYMATTR Value N-ENH
+SYMBOL nmos 96 352 R0
+SYMATTR InstName M6
+SYMATTR Value N-ENH
+SYMBOL nmos 416 -112 R0
+SYMATTR InstName M7
+SYMATTR Value N-DLOW
+SYMBOL nmos 608 -112 R0
+SYMATTR InstName M8
+SYMATTR Value N-DLOW
+SYMBOL nmos 800 -112 R0
+SYMATTR InstName M9
+SYMATTR Value N-DLOW
+SYMBOL pmos 608 112 R0
+SYMATTR InstName M10
+SYMATTR Value P-DLOW
+SYMBOL pmos 608 240 R0
+SYMATTR InstName M11
+SYMATTR Value P-DLOW
+SYMBOL pmos 608 368 R0
+SYMATTR InstName M12
+SYMATTR Value P-DLOW
+SYMBOL voltage -144 -256 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -144 576 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+TEXT 240 -240 Left 0 !.inc ./custom.mos
diff --git a/CMOS/3_input_antimin.asc b/CMOS/3_input_antimin.asc
index 67da610..e920541 100644
--- a/CMOS/3_input_antimin.asc
+++ b/CMOS/3_input_antimin.asc
@@ -1,137 +1,137 @@
-Version 4
-SHEET 1 960 680
-WIRE -208 -288 -240 -288
-WIRE 16 -288 -128 -288
-WIRE -240 -256 -240 -288
-WIRE 16 -192 16 -288
-WIRE 16 -192 -176 -192
-WIRE 208 -192 16 -192
-WIRE 624 -176 384 -176
-WIRE 880 -176 624 -176
-WIRE -176 -160 -176 -192
-WIRE 16 -160 16 -192
-WIRE 208 -160 208 -192
-WIRE -272 -144 -384 -144
-WIRE -224 -144 -272 -144
-WIRE -32 -144 -80 -144
-WIRE 160 -144 112 -144
-WIRE 624 -112 624 -176
-WIRE -272 -32 -272 -144
-WIRE 528 -32 -272 -32
-WIRE 576 -32 528 -32
-WIRE -80 0 -80 -144
-WIRE -80 0 -384 0
-WIRE 480 0 -80 0
-WIRE 624 16 624 -16
-WIRE 112 32 112 -144
-WIRE 112 32 -128 32
-WIRE 336 32 112 32
-WIRE -176 64 -176 -64
-WIRE 16 64 16 -64
-WIRE 16 64 -176 64
-WIRE 208 64 208 -64
-WIRE 208 64 16 64
-WIRE 384 64 384 -176
-WIRE 384 64 208 64
-WIRE 16 96 16 64
-WIRE 480 96 480 0
-WIRE 576 96 480 96
-WIRE -128 144 -128 32
-WIRE -128 144 -384 144
-WIRE 624 144 624 112
-WIRE -128 176 -128 144
-WIRE -32 176 -128 176
-WIRE 16 224 16 192
-WIRE 336 224 336 32
-WIRE 576 224 336 224
-WIRE 624 256 624 240
-WIRE 624 256 432 256
-WIRE 816 256 624 256
-WIRE -80 304 -80 0
-WIRE -32 304 -80 304
-WIRE 480 304 480 96
-WIRE 720 304 480 304
-WIRE 16 352 16 320
-WIRE 432 368 432 256
-WIRE 624 368 624 256
-WIRE 816 368 816 256
-WIRE -272 432 -272 -32
-WIRE -32 432 -272 432
-WIRE 336 448 336 224
-WIRE 384 448 336 448
-WIRE 528 448 528 -32
-WIRE 576 448 528 448
-WIRE 720 448 720 304
-WIRE 768 448 720 448
-WIRE 432 496 432 464
-WIRE 624 496 624 464
-WIRE 624 496 432 496
-WIRE 816 496 816 464
-WIRE 816 496 624 496
-WIRE 624 528 624 496
-WIRE -208 544 -240 544
-WIRE 16 544 16 448
-WIRE 16 544 -128 544
-WIRE -240 576 -240 544
-FLAG 624 528 0
-FLAG -240 -256 0
-FLAG -240 576 0
-FLAG -384 -144 A
-IOPIN -384 -144 In
-FLAG -384 0 B
-IOPIN -384 0 In
-FLAG -384 144 C
-IOPIN -384 144 In
-FLAG 880 -176 Y
-IOPIN 880 -176 Out
-SYMBOL pmos -224 -64 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -32 -64 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL pmos 160 -64 M180
-SYMATTR InstName M3
-SYMATTR Value P-ENH
-SYMBOL nmos -32 96 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL nmos -32 224 R0
-SYMATTR InstName M5
-SYMATTR Value N-ENH
-SYMBOL nmos -32 352 R0
-SYMATTR InstName M6
-SYMATTR Value N-ENH
-SYMBOL nmos 576 -112 R0
-SYMATTR InstName M7
-SYMATTR Value N-DLOW
-SYMBOL nmos 576 16 R0
-SYMATTR InstName M8
-SYMATTR Value N-DLOW
-SYMBOL nmos 576 144 R0
-SYMATTR InstName M9
-SYMATTR Value N-DLOW
-SYMBOL pmos 576 368 R0
-SYMATTR InstName M10
-SYMATTR Value P-DLOW
-SYMBOL pmos 384 368 R0
-SYMATTR InstName M11
-SYMATTR Value P-DLOW
-SYMBOL pmos 768 368 R0
-SYMATTR InstName M12
-SYMATTR Value P-DLOW
-SYMBOL voltage -112 -288 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -112 544 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-TEXT 224 -248 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 960 680
+WIRE -208 -288 -240 -288
+WIRE 16 -288 -128 -288
+WIRE -240 -256 -240 -288
+WIRE 16 -192 16 -288
+WIRE 16 -192 -176 -192
+WIRE 208 -192 16 -192
+WIRE 624 -176 384 -176
+WIRE 880 -176 624 -176
+WIRE -176 -160 -176 -192
+WIRE 16 -160 16 -192
+WIRE 208 -160 208 -192
+WIRE -272 -144 -384 -144
+WIRE -224 -144 -272 -144
+WIRE -32 -144 -80 -144
+WIRE 160 -144 112 -144
+WIRE 624 -112 624 -176
+WIRE -272 -32 -272 -144
+WIRE 528 -32 -272 -32
+WIRE 576 -32 528 -32
+WIRE -80 0 -80 -144
+WIRE -80 0 -384 0
+WIRE 480 0 -80 0
+WIRE 624 16 624 -16
+WIRE 112 32 112 -144
+WIRE 112 32 -128 32
+WIRE 336 32 112 32
+WIRE -176 64 -176 -64
+WIRE 16 64 16 -64
+WIRE 16 64 -176 64
+WIRE 208 64 208 -64
+WIRE 208 64 16 64
+WIRE 384 64 384 -176
+WIRE 384 64 208 64
+WIRE 16 96 16 64
+WIRE 480 96 480 0
+WIRE 576 96 480 96
+WIRE -128 144 -128 32
+WIRE -128 144 -384 144
+WIRE 624 144 624 112
+WIRE -128 176 -128 144
+WIRE -32 176 -128 176
+WIRE 16 224 16 192
+WIRE 336 224 336 32
+WIRE 576 224 336 224
+WIRE 624 256 624 240
+WIRE 624 256 432 256
+WIRE 816 256 624 256
+WIRE -80 304 -80 0
+WIRE -32 304 -80 304
+WIRE 480 304 480 96
+WIRE 720 304 480 304
+WIRE 16 352 16 320
+WIRE 432 368 432 256
+WIRE 624 368 624 256
+WIRE 816 368 816 256
+WIRE -272 432 -272 -32
+WIRE -32 432 -272 432
+WIRE 336 448 336 224
+WIRE 384 448 336 448
+WIRE 528 448 528 -32
+WIRE 576 448 528 448
+WIRE 720 448 720 304
+WIRE 768 448 720 448
+WIRE 432 496 432 464
+WIRE 624 496 624 464
+WIRE 624 496 432 496
+WIRE 816 496 816 464
+WIRE 816 496 624 496
+WIRE 624 528 624 496
+WIRE -208 544 -240 544
+WIRE 16 544 16 448
+WIRE 16 544 -128 544
+WIRE -240 576 -240 544
+FLAG 624 528 0
+FLAG -240 -256 0
+FLAG -240 576 0
+FLAG -384 -144 A
+IOPIN -384 -144 In
+FLAG -384 0 B
+IOPIN -384 0 In
+FLAG -384 144 C
+IOPIN -384 144 In
+FLAG 880 -176 Y
+IOPIN 880 -176 Out
+SYMBOL pmos -224 -64 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -32 -64 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos 160 -64 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL nmos -32 96 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL nmos -32 224 R0
+SYMATTR InstName M5
+SYMATTR Value N-ENH
+SYMBOL nmos -32 352 R0
+SYMATTR InstName M6
+SYMATTR Value N-ENH
+SYMBOL nmos 576 -112 R0
+SYMATTR InstName M7
+SYMATTR Value N-DLOW
+SYMBOL nmos 576 16 R0
+SYMATTR InstName M8
+SYMATTR Value N-DLOW
+SYMBOL nmos 576 144 R0
+SYMATTR InstName M9
+SYMATTR Value N-DLOW
+SYMBOL pmos 576 368 R0
+SYMATTR InstName M10
+SYMATTR Value P-DLOW
+SYMBOL pmos 384 368 R0
+SYMATTR InstName M11
+SYMATTR Value P-DLOW
+SYMBOL pmos 768 368 R0
+SYMATTR InstName M12
+SYMATTR Value P-DLOW
+SYMBOL voltage -112 -288 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -112 544 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+TEXT 224 -248 Left 0 !.inc ./custom.mos
diff --git a/CMOS/buffer.asc b/CMOS/buffer.asc
index 5947710..3d8de74 100644
--- a/CMOS/buffer.asc
+++ b/CMOS/buffer.asc
@@ -1,12 +1,12 @@
-Version 4
-SHEET 1 944 680
-WIRE 0 80 -16 80
-WIRE 240 80 224 80
-FLAG -16 80 A
-IOPIN -16 80 In
-FLAG 240 80 Y
-IOPIN 240 80 Out
-SYMBOL .\\standard_inverter 48 32 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter 160 32 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 944 680
+WIRE 0 80 -16 80
+WIRE 240 80 224 80
+FLAG -16 80 A
+IOPIN -16 80 In
+FLAG 240 80 Y
+IOPIN 240 80 Out
+SYMBOL .\\standard_inverter 48 32 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter 160 32 R0
+SYMATTR InstName U2
diff --git a/CMOS/buffer.asy b/CMOS/buffer.asy
index e92d13d..a659405 100644
--- a/CMOS/buffer.asy
+++ b/CMOS/buffer.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 BUF
-SYMATTR Description Buffer
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 BUF
+SYMATTR Description Buffer
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/clamp_down.asc b/CMOS/clamp_down.asc
index a465876..2ca37a8 100644
--- a/CMOS/clamp_down.asc
+++ b/CMOS/clamp_down.asc
@@ -1,40 +1,40 @@
-Version 4
-SHEET 1 940 680
-WIRE 304 -128 208 -128
-WIRE 208 -112 208 -128
-WIRE 304 -64 304 -128
-WIRE 256 -48 192 -48
-WIRE -96 144 -160 144
-WIRE 192 144 192 -48
-WIRE 192 144 16 144
-WIRE 304 144 304 32
-WIRE 448 144 304 144
-WIRE 304 272 304 144
-WIRE 192 352 192 144
-WIRE 256 352 192 352
-WIRE 16 432 -32 432
-WIRE 304 432 304 368
-WIRE 304 432 96 432
-WIRE -32 464 -32 432
-FLAG -32 464 0
-FLAG 208 -112 0
-FLAG -160 144 A
-IOPIN -160 144 In
-FLAG 448 144 Y
-IOPIN 448 144 Out
-SYMBOL voltage 112 432 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-SYMBOL pmos 256 32 M180
-SYMATTR InstName M3
-SYMATTR Value P-DLOW
-SYMBOL nmos 256 272 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL .\\negative_threshold_inverter -48 96 R0
-SYMATTR InstName U1
-TEXT 424 -136 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 940 680
+WIRE 304 -128 208 -128
+WIRE 208 -112 208 -128
+WIRE 304 -64 304 -128
+WIRE 256 -48 192 -48
+WIRE -96 144 -160 144
+WIRE 192 144 192 -48
+WIRE 192 144 16 144
+WIRE 304 144 304 32
+WIRE 448 144 304 144
+WIRE 304 272 304 144
+WIRE 192 352 192 144
+WIRE 256 352 192 352
+WIRE 16 432 -32 432
+WIRE 304 432 304 368
+WIRE 304 432 96 432
+WIRE -32 464 -32 432
+FLAG -32 464 0
+FLAG 208 -112 0
+FLAG -160 144 A
+IOPIN -160 144 In
+FLAG 448 144 Y
+IOPIN 448 144 Out
+SYMBOL voltage 112 432 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+SYMBOL pmos 256 32 M180
+SYMATTR InstName M3
+SYMATTR Value P-DLOW
+SYMBOL nmos 256 272 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL .\\negative_threshold_inverter -48 96 R0
+SYMATTR InstName U1
+TEXT 424 -136 Left 0 !.inc ./custom.mos
diff --git a/CMOS/clamp_down.asy b/CMOS/clamp_down.asy
index 3fccbd7..cc88457 100644
--- a/CMOS/clamp_down.asy
+++ b/CMOS/clamp_down.asy
@@ -1,20 +1,20 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 MIN
-TEXT -63 80 Left 0 0
-SYMATTR Description CLAMP DOWN gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 MIN
+TEXT -63 80 Left 0 0
+SYMATTR Description CLAMP DOWN gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/clamp_up.asc b/CMOS/clamp_up.asc
index 1205e4a..ae5ada0 100644
--- a/CMOS/clamp_up.asc
+++ b/CMOS/clamp_up.asc
@@ -1,38 +1,38 @@
-Version 4
-SHEET 1 924 680
-WIRE 80 -160 32 -160
-WIRE 352 -160 160 -160
-WIRE 32 -128 32 -160
-WIRE 352 -96 352 -160
-WIRE 304 -80 256 -80
-WIRE -16 96 -96 96
-WIRE 256 96 256 -80
-WIRE 256 96 96 96
-WIRE 352 96 352 0
-WIRE 480 96 352 96
-WIRE 352 240 352 96
-WIRE 256 320 256 96
-WIRE 304 320 256 320
-WIRE 352 400 352 336
-FLAG 32 -128 0
-FLAG 352 400 0
-FLAG -96 96 A
-IOPIN -96 96 In
-FLAG 480 96 Y
-IOPIN 480 96 Out
-SYMBOL voltage 176 -160 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL pmos 304 0 M180
-SYMATTR InstName M3
-SYMATTR Value P-ENH
-SYMBOL nmos 304 240 R0
-SYMATTR InstName M4
-SYMATTR Value N-DLOW
-SYMBOL .\\positive_threshold_inverter 32 48 R0
-SYMATTR InstName U1
-TEXT -136 296 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 924 680
+WIRE 80 -160 32 -160
+WIRE 352 -160 160 -160
+WIRE 32 -128 32 -160
+WIRE 352 -96 352 -160
+WIRE 304 -80 256 -80
+WIRE -16 96 -96 96
+WIRE 256 96 256 -80
+WIRE 256 96 96 96
+WIRE 352 96 352 0
+WIRE 480 96 352 96
+WIRE 352 240 352 96
+WIRE 256 320 256 96
+WIRE 304 320 256 320
+WIRE 352 400 352 336
+FLAG 32 -128 0
+FLAG 352 400 0
+FLAG -96 96 A
+IOPIN -96 96 In
+FLAG 480 96 Y
+IOPIN 480 96 Out
+SYMBOL voltage 176 -160 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL pmos 304 0 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL nmos 304 240 R0
+SYMATTR InstName M4
+SYMATTR Value N-DLOW
+SYMBOL .\\positive_threshold_inverter 32 48 R0
+SYMATTR InstName U1
+TEXT -136 296 Left 0 !.inc ./custom.mos
diff --git a/CMOS/clamp_up.asy b/CMOS/clamp_up.asy
index b4ebc93..5504d00 100644
--- a/CMOS/clamp_up.asy
+++ b/CMOS/clamp_up.asy
@@ -1,20 +1,20 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 MAX
-TEXT -63 80 Left 0 0
-SYMATTR Description CLAMP UP gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 MAX
+TEXT -63 80 Left 0 0
+SYMATTR Description CLAMP UP gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/consensus.asc b/CMOS/consensus.asc
index 15d3dc6..9da0552 100644
--- a/CMOS/consensus.asc
+++ b/CMOS/consensus.asc
@@ -1,15 +1,15 @@
-Version 4
-SHEET 1 880 680
-WIRE 32 144 16 144
-WIRE 272 160 256 160
-WIRE 32 176 16 176
-FLAG 16 144 A
-IOPIN 16 144 In
-FLAG 16 176 B
-IOPIN 16 176 In
-FLAG 272 160 Y
-IOPIN 272 160 Out
-SYMBOL .\\inverting_consensus 80 96 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter 192 112 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 880 680
+WIRE 32 144 16 144
+WIRE 272 160 256 160
+WIRE 32 176 16 176
+FLAG 16 144 A
+IOPIN 16 144 In
+FLAG 16 176 B
+IOPIN 16 176 In
+FLAG 272 160 Y
+IOPIN 272 160 Out
+SYMBOL .\\inverting_consensus 80 96 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter 192 112 R0
+SYMATTR InstName U2
diff --git a/CMOS/consensus.asy b/CMOS/consensus.asy
index 1201fa4..b7aff7d 100644
--- a/CMOS/consensus.asy
+++ b/CMOS/consensus.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 52 Center 0 CON
-SYMATTR Description 2-input consensus gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 52 Center 0 CON
+SYMATTR Description 2-input consensus gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/custom.mos b/CMOS/custom.mos
index 9f38457..d63d327 100644
--- a/CMOS/custom.mos
+++ b/CMOS/custom.mos
@@ -1,24 +1,24 @@
-.model P-DEP VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=1.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
-
-.model N-DEP VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=-1.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
-
-
-
-.model P-DLOW VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=0.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
-
-.model N-DLOW VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=-0.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
-
-
-
-
-
-
-.model P-ENH VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=-1.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
-
-.model N-ENH VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=1.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
-
-
-
-.model P-ELOW VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=-0.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
-
+.model P-DEP VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=1.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
+
+.model N-DEP VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=-1.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
+
+
+
+.model P-DLOW VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=0.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
+
+.model N-DLOW VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=-0.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
+
+
+
+
+
+
+.model P-ENH VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=-1.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
+
+.model N-ENH VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=1.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n)
+
+
+
+.model P-ELOW VDMOS(pchan Rg=3 Rd=14m Rs=10m Vto=-0.5 Kp=32 Cgdmax=.5n Cgdmin=.07n Cgs=.9n Cjo=.26n Is=26p Rb=17m mfg=Custom Vds=-20 Ron=34m Qg=13n)
+
.model N-ELOW VDMOS(Rg=3 Rd=4.8m Rs=3.6m Vto=0.5 Kp=90 Cgdmax=.7n Cgdmin=.25n Cgs=1n Cjo=.36n Is=36p Rb=6m mfg=Custom Vds=20 Ron=12m Qg=18n) \ No newline at end of file
diff --git a/CMOS/decrement.asc b/CMOS/decrement.asc
index e38789b..9ed740e 100644
--- a/CMOS/decrement.asc
+++ b/CMOS/decrement.asc
@@ -1,73 +1,73 @@
-Version 4
-SHEET 1 880 680
-WIRE -336 -192 -400 -192
-WIRE 144 -192 -256 -192
-WIRE -400 -160 -400 -192
-WIRE 144 -144 144 -192
-WIRE 96 -128 16 -128
-WIRE 144 -16 144 -48
-WIRE 672 -16 144 -16
-WIRE 768 -16 672 -16
-WIRE 144 32 144 -16
-WIRE 16 48 16 -128
-WIRE 16 48 -256 48
-WIRE 16 112 16 48
-WIRE 96 112 16 112
-WIRE 144 160 144 128
-WIRE 672 208 672 -16
-WIRE 480 240 192 240
-WIRE 144 288 144 256
-WIRE 624 288 560 288
-WIRE 16 352 16 112
-WIRE 272 352 16 352
-WIRE 560 352 560 288
-WIRE 560 352 272 352
-WIRE 672 368 672 304
-WIRE 272 448 272 352
-WIRE 320 448 272 448
-WIRE 480 448 480 240
-WIRE 480 448 432 448
-WIRE 624 448 480 448
-WIRE -336 512 -400 512
-WIRE 672 512 672 464
-WIRE 672 512 -256 512
-WIRE -400 544 -400 512
-FLAG -400 -160 0
-FLAG 144 288 0
-FLAG -400 544 0
-FLAG -256 48 A
-IOPIN -256 48 In
-FLAG 768 -16 Y
-IOPIN 768 -16 Out
-SYMBOL nmos 96 32 R0
-SYMATTR InstName M1
-SYMATTR Value N-ELOW
-SYMBOL pmos 192 160 M0
-SYMATTR InstName M2
-SYMATTR Value P-DLOW
-SYMBOL pmos 96 -48 M180
-SYMATTR InstName M3
-SYMATTR Value P-ENH
-SYMBOL voltage -240 -192 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -240 512 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-SYMBOL nmos 624 208 R0
-SYMATTR InstName M6
-SYMATTR Value N-ELOW
-SYMBOL nmos 624 368 R0
-SYMATTR InstName M7
-SYMATTR Value N-ENH
-SYMBOL .\\positive_threshold_inverter 368 400 R0
-SYMATTR InstName U1
-TEXT 536 -184 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 880 680
+WIRE -336 -192 -400 -192
+WIRE 144 -192 -256 -192
+WIRE -400 -160 -400 -192
+WIRE 144 -144 144 -192
+WIRE 96 -128 16 -128
+WIRE 144 -16 144 -48
+WIRE 672 -16 144 -16
+WIRE 768 -16 672 -16
+WIRE 144 32 144 -16
+WIRE 16 48 16 -128
+WIRE 16 48 -256 48
+WIRE 16 112 16 48
+WIRE 96 112 16 112
+WIRE 144 160 144 128
+WIRE 672 208 672 -16
+WIRE 480 240 192 240
+WIRE 144 288 144 256
+WIRE 624 288 560 288
+WIRE 16 352 16 112
+WIRE 272 352 16 352
+WIRE 560 352 560 288
+WIRE 560 352 272 352
+WIRE 672 368 672 304
+WIRE 272 448 272 352
+WIRE 320 448 272 448
+WIRE 480 448 480 240
+WIRE 480 448 432 448
+WIRE 624 448 480 448
+WIRE -336 512 -400 512
+WIRE 672 512 672 464
+WIRE 672 512 -256 512
+WIRE -400 544 -400 512
+FLAG -400 -160 0
+FLAG 144 288 0
+FLAG -400 544 0
+FLAG -256 48 A
+IOPIN -256 48 In
+FLAG 768 -16 Y
+IOPIN 768 -16 Out
+SYMBOL nmos 96 32 R0
+SYMATTR InstName M1
+SYMATTR Value N-ELOW
+SYMBOL pmos 192 160 M0
+SYMATTR InstName M2
+SYMATTR Value P-DLOW
+SYMBOL pmos 96 -48 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL voltage -240 -192 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -240 512 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+SYMBOL nmos 624 208 R0
+SYMATTR InstName M6
+SYMATTR Value N-ELOW
+SYMBOL nmos 624 368 R0
+SYMATTR InstName M7
+SYMATTR Value N-ENH
+SYMBOL .\\positive_threshold_inverter 368 400 R0
+SYMATTR InstName U1
+TEXT 536 -184 Left 0 !.inc ./custom.mos
diff --git a/CMOS/decrement.asy b/CMOS/decrement.asy
index 3e3d8f7..4d5540b 100644
--- a/CMOS/decrement.asy
+++ b/CMOS/decrement.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 -1
-SYMATTR Description Decrement gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 -1
+SYMATTR Description Decrement gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/equality.asc b/CMOS/equality.asc
index 58bc12c..4cfc348 100644
--- a/CMOS/equality.asc
+++ b/CMOS/equality.asc
@@ -1,169 +1,169 @@
-Version 4
-SHEET 1 944 868
-WIRE -400 -240 -448 -240
-WIRE -128 -240 -320 -240
-WIRE 128 -240 -128 -240
-WIRE 704 -240 128 -240
-WIRE -448 -208 -448 -240
-WIRE 448 -176 224 -176
-WIRE -128 -128 -128 -240
-WIRE 128 -128 128 -240
-WIRE 448 -128 448 -176
-WIRE 704 -128 704 -240
-WIRE -224 -112 -592 -112
-WIRE -176 -112 -224 -112
-WIRE 80 -112 32 -112
-WIRE 400 -112 288 -112
-WIRE 656 -112 560 -112
-WIRE -224 -16 -224 -112
-WIRE 32 -16 32 -112
-WIRE 32 -16 -224 -16
-WIRE -592 48 -592 -112
-WIRE -592 48 -784 48
-WIRE -544 48 -592 48
-WIRE 288 48 288 -112
-WIRE 288 48 -432 48
-WIRE 560 48 560 -112
-WIRE 560 48 288 48
-WIRE -128 64 -128 -32
-WIRE 128 64 128 -32
-WIRE 448 64 448 -32
-WIRE 704 64 704 -32
-WIRE -176 80 -288 80
-WIRE 80 80 -32 80
-WIRE 400 80 352 80
-WIRE 656 80 608 80
-WIRE 352 176 352 80
-WIRE 352 176 -384 176
-WIRE 608 176 608 80
-WIRE 608 176 352 176
-WIRE 128 208 128 160
-WIRE 224 208 224 -176
-WIRE 224 208 128 208
-WIRE -128 272 -128 160
-WIRE 128 272 -128 272
-WIRE 448 272 448 160
-WIRE 448 272 128 272
-WIRE 704 272 704 160
-WIRE 704 272 448 272
-WIRE 864 272 704 272
-WIRE -592 352 -784 352
-WIRE -544 352 -592 352
-WIRE -384 352 -384 176
-WIRE -384 352 -432 352
-WIRE -128 384 -128 272
-WIRE 128 384 128 272
-WIRE 448 384 448 272
-WIRE 704 384 704 272
-WIRE -224 464 -224 -16
-WIRE -176 464 -224 464
-WIRE 32 464 32 -16
-WIRE 80 464 32 464
-WIRE 288 464 288 48
-WIRE 400 464 288 464
-WIRE 560 464 560 48
-WIRE 656 464 560 464
-WIRE -592 512 -592 352
-WIRE -288 512 -288 80
-WIRE -288 512 -592 512
-WIRE -32 512 -32 80
-WIRE -32 512 -288 512
-WIRE 352 512 -32 512
-WIRE 608 512 352 512
-WIRE -384 560 -384 352
-WIRE 32 560 -384 560
-WIRE -128 576 -128 480
-WIRE 128 576 128 480
-WIRE 448 576 448 480
-WIRE 704 576 704 480
-WIRE -384 656 -384 560
-WIRE -176 656 -384 656
-WIRE 32 656 32 560
-WIRE 80 656 32 656
-WIRE 352 656 352 512
-WIRE 400 656 352 656
-WIRE 608 656 608 512
-WIRE 656 656 608 656
-WIRE -400 784 -448 784
-WIRE -128 784 -128 672
-WIRE -128 784 -320 784
-WIRE 128 784 128 672
-WIRE 128 784 -128 784
-WIRE 448 784 448 672
-WIRE 448 784 128 784
-WIRE 704 784 704 672
-WIRE 704 784 448 784
-WIRE -448 816 -448 784
-FLAG -448 816 0
-FLAG -448 -208 0
-FLAG -784 48 A
-IOPIN -784 48 In
-FLAG -784 352 B
-IOPIN -784 352 In
-FLAG 864 272 Y
-IOPIN 864 272 Out
-SYMBOL pmos -176 -32 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -176 160 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL pmos 80 -32 M180
-SYMATTR InstName M3
-SYMATTR Value P-ELOW
-SYMBOL pmos 80 160 M180
-SYMATTR InstName M4
-SYMATTR Value P-ELOW
-SYMBOL pmos 400 -32 M180
-SYMATTR InstName M5
-SYMATTR Value P-ELOW
-SYMBOL pmos 400 160 M180
-SYMATTR InstName M6
-SYMATTR Value P-ELOW
-SYMBOL pmos 656 -32 M180
-SYMATTR InstName M7
-SYMATTR Value P-ENH
-SYMBOL pmos 656 160 M180
-SYMATTR InstName M8
-SYMATTR Value P-ENH
-SYMBOL voltage -304 -240 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL nmos -176 384 R0
-SYMATTR InstName M9
-SYMATTR Value N-ENH
-SYMBOL nmos -176 576 R0
-SYMATTR InstName M10
-SYMATTR Value N-ELOW
-SYMBOL nmos 80 384 R0
-SYMATTR InstName M11
-SYMATTR Value N-ELOW
-SYMBOL nmos 80 576 R0
-SYMATTR InstName M12
-SYMATTR Value N-ENH
-SYMBOL nmos 400 384 R0
-SYMATTR InstName M13
-SYMATTR Value N-ENH
-SYMBOL nmos 400 576 R0
-SYMATTR InstName M14
-SYMATTR Value N-ELOW
-SYMBOL nmos 656 384 R0
-SYMATTR InstName M15
-SYMATTR Value N-ELOW
-SYMBOL nmos 656 576 R0
-SYMATTR InstName M16
-SYMATTR Value N-ENH
-SYMBOL voltage -304 784 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL .\\standard_inverter -496 0 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter -496 304 R0
-SYMATTR InstName U2
-TEXT -752 624 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 944 868
+WIRE -400 -240 -448 -240
+WIRE -128 -240 -320 -240
+WIRE 128 -240 -128 -240
+WIRE 704 -240 128 -240
+WIRE -448 -208 -448 -240
+WIRE 448 -176 224 -176
+WIRE -128 -128 -128 -240
+WIRE 128 -128 128 -240
+WIRE 448 -128 448 -176
+WIRE 704 -128 704 -240
+WIRE -224 -112 -592 -112
+WIRE -176 -112 -224 -112
+WIRE 80 -112 32 -112
+WIRE 400 -112 288 -112
+WIRE 656 -112 560 -112
+WIRE -224 -16 -224 -112
+WIRE 32 -16 32 -112
+WIRE 32 -16 -224 -16
+WIRE -592 48 -592 -112
+WIRE -592 48 -784 48
+WIRE -544 48 -592 48
+WIRE 288 48 288 -112
+WIRE 288 48 -432 48
+WIRE 560 48 560 -112
+WIRE 560 48 288 48
+WIRE -128 64 -128 -32
+WIRE 128 64 128 -32
+WIRE 448 64 448 -32
+WIRE 704 64 704 -32
+WIRE -176 80 -288 80
+WIRE 80 80 -32 80
+WIRE 400 80 352 80
+WIRE 656 80 608 80
+WIRE 352 176 352 80
+WIRE 352 176 -384 176
+WIRE 608 176 608 80
+WIRE 608 176 352 176
+WIRE 128 208 128 160
+WIRE 224 208 224 -176
+WIRE 224 208 128 208
+WIRE -128 272 -128 160
+WIRE 128 272 -128 272
+WIRE 448 272 448 160
+WIRE 448 272 128 272
+WIRE 704 272 704 160
+WIRE 704 272 448 272
+WIRE 864 272 704 272
+WIRE -592 352 -784 352
+WIRE -544 352 -592 352
+WIRE -384 352 -384 176
+WIRE -384 352 -432 352
+WIRE -128 384 -128 272
+WIRE 128 384 128 272
+WIRE 448 384 448 272
+WIRE 704 384 704 272
+WIRE -224 464 -224 -16
+WIRE -176 464 -224 464
+WIRE 32 464 32 -16
+WIRE 80 464 32 464
+WIRE 288 464 288 48
+WIRE 400 464 288 464
+WIRE 560 464 560 48
+WIRE 656 464 560 464
+WIRE -592 512 -592 352
+WIRE -288 512 -288 80
+WIRE -288 512 -592 512
+WIRE -32 512 -32 80
+WIRE -32 512 -288 512
+WIRE 352 512 -32 512
+WIRE 608 512 352 512
+WIRE -384 560 -384 352
+WIRE 32 560 -384 560
+WIRE -128 576 -128 480
+WIRE 128 576 128 480
+WIRE 448 576 448 480
+WIRE 704 576 704 480
+WIRE -384 656 -384 560
+WIRE -176 656 -384 656
+WIRE 32 656 32 560
+WIRE 80 656 32 656
+WIRE 352 656 352 512
+WIRE 400 656 352 656
+WIRE 608 656 608 512
+WIRE 656 656 608 656
+WIRE -400 784 -448 784
+WIRE -128 784 -128 672
+WIRE -128 784 -320 784
+WIRE 128 784 128 672
+WIRE 128 784 -128 784
+WIRE 448 784 448 672
+WIRE 448 784 128 784
+WIRE 704 784 704 672
+WIRE 704 784 448 784
+WIRE -448 816 -448 784
+FLAG -448 816 0
+FLAG -448 -208 0
+FLAG -784 48 A
+IOPIN -784 48 In
+FLAG -784 352 B
+IOPIN -784 352 In
+FLAG 864 272 Y
+IOPIN 864 272 Out
+SYMBOL pmos -176 -32 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -176 160 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos 80 -32 M180
+SYMATTR InstName M3
+SYMATTR Value P-ELOW
+SYMBOL pmos 80 160 M180
+SYMATTR InstName M4
+SYMATTR Value P-ELOW
+SYMBOL pmos 400 -32 M180
+SYMATTR InstName M5
+SYMATTR Value P-ELOW
+SYMBOL pmos 400 160 M180
+SYMATTR InstName M6
+SYMATTR Value P-ELOW
+SYMBOL pmos 656 -32 M180
+SYMATTR InstName M7
+SYMATTR Value P-ENH
+SYMBOL pmos 656 160 M180
+SYMATTR InstName M8
+SYMATTR Value P-ENH
+SYMBOL voltage -304 -240 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL nmos -176 384 R0
+SYMATTR InstName M9
+SYMATTR Value N-ENH
+SYMBOL nmos -176 576 R0
+SYMATTR InstName M10
+SYMATTR Value N-ELOW
+SYMBOL nmos 80 384 R0
+SYMATTR InstName M11
+SYMATTR Value N-ELOW
+SYMBOL nmos 80 576 R0
+SYMATTR InstName M12
+SYMATTR Value N-ENH
+SYMBOL nmos 400 384 R0
+SYMATTR InstName M13
+SYMATTR Value N-ENH
+SYMBOL nmos 400 576 R0
+SYMATTR InstName M14
+SYMATTR Value N-ELOW
+SYMBOL nmos 656 384 R0
+SYMATTR InstName M15
+SYMATTR Value N-ELOW
+SYMBOL nmos 656 576 R0
+SYMATTR InstName M16
+SYMATTR Value N-ENH
+SYMBOL voltage -304 784 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL .\\standard_inverter -496 0 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter -496 304 R0
+SYMATTR InstName U2
+TEXT -752 624 Left 0 !.inc ./custom.mos
diff --git a/CMOS/equality.asy b/CMOS/equality.asy
index c6470ce..14fb10a 100644
--- a/CMOS/equality.asy
+++ b/CMOS/equality.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 52 Center 0 =
-SYMATTR Description 2-input equality gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 52 Center 0 =
+SYMATTR Description 2-input equality gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/gullible.asc b/CMOS/gullible.asc
index ab6240d..dccd112 100644
--- a/CMOS/gullible.asc
+++ b/CMOS/gullible.asc
@@ -1,15 +1,15 @@
-Version 4
-SHEET 1 880 680
-WIRE 0 144 -16 144
-WIRE 240 160 224 160
-WIRE 0 176 -16 176
-FLAG -16 144 A
-IOPIN -16 144 In
-FLAG -16 176 B
-IOPIN -16 176 In
-FLAG 240 160 Y
-IOPIN 240 160 Out
-SYMBOL .\\inverting_gullible 48 96 R0
-SYMATTR InstName U1
-SYMBOL .\\standard_inverter 160 112 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 880 680
+WIRE 0 144 -16 144
+WIRE 240 160 224 160
+WIRE 0 176 -16 176
+FLAG -16 144 A
+IOPIN -16 144 In
+FLAG -16 176 B
+IOPIN -16 176 In
+FLAG 240 160 Y
+IOPIN 240 160 Out
+SYMBOL .\\inverting_gullible 48 96 R0
+SYMATTR InstName U1
+SYMBOL .\\standard_inverter 160 112 R0
+SYMATTR InstName U2
diff --git a/CMOS/gullible.asy b/CMOS/gullible.asy
index cd75b7e..7d8ba23 100644
--- a/CMOS/gullible.asy
+++ b/CMOS/gullible.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 52 Center 0 GUL
-SYMATTR Description 2-input gullible gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 52 Center 0 GUL
+SYMATTR Description 2-input gullible gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/increment.asc b/CMOS/increment.asc
index 533c432..7a09449 100644
--- a/CMOS/increment.asc
+++ b/CMOS/increment.asc
@@ -1,73 +1,73 @@
-Version 4
-SHEET 1 880 680
-WIRE -416 -192 -480 -192
-WIRE 416 -192 -336 -192
-WIRE -480 -160 -480 -192
-WIRE 416 -112 416 -192
-WIRE 64 -96 -240 -96
-WIRE 128 -96 64 -96
-WIRE 304 -96 240 -96
-WIRE 368 -96 304 -96
-WIRE -64 -64 -160 -64
-WIRE -160 -32 -160 -64
-WIRE -64 0 -64 -64
-WIRE 304 16 304 -96
-WIRE 304 16 -16 16
-WIRE 416 64 416 -16
-WIRE 64 80 64 -96
-WIRE 368 80 64 80
-WIRE -64 144 -64 96
-WIRE -240 160 -240 -96
-WIRE -240 160 -336 160
-WIRE -160 160 -240 160
-WIRE -112 160 -160 160
-WIRE -64 304 -64 240
-WIRE 416 304 416 160
-WIRE 416 304 -64 304
-WIRE 544 304 416 304
-WIRE -64 368 -64 304
-WIRE -160 448 -160 160
-WIRE -112 448 -160 448
-WIRE -416 496 -480 496
-WIRE -64 496 -64 464
-WIRE -64 496 -336 496
-WIRE -480 528 -480 496
-FLAG -480 528 0
-FLAG -160 -32 0
-FLAG -480 -160 0
-FLAG -336 160 A
-IOPIN -336 160 In
-FLAG 544 304 Y
-IOPIN 544 304 Out
-SYMBOL nmos -112 368 R0
-SYMATTR InstName M1
-SYMATTR Value N-ENH
-SYMBOL voltage -320 -192 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -320 496 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-SYMBOL pmos -112 240 M180
-SYMATTR InstName M2
-SYMATTR Value P-ELOW
-SYMBOL pmos 368 -16 M180
-SYMATTR InstName M5
-SYMATTR Value P-ENH
-SYMBOL pmos 368 160 M180
-SYMATTR InstName M6
-SYMATTR Value P-ELOW
-SYMBOL nmos -16 96 R180
-SYMATTR InstName M7
-SYMATTR Value N-DLOW
-SYMBOL .\\negative_threshold_inverter 176 -144 R0
-SYMATTR InstName U1
-TEXT 296 472 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 880 680
+WIRE -416 -192 -480 -192
+WIRE 416 -192 -336 -192
+WIRE -480 -160 -480 -192
+WIRE 416 -112 416 -192
+WIRE 64 -96 -240 -96
+WIRE 128 -96 64 -96
+WIRE 304 -96 240 -96
+WIRE 368 -96 304 -96
+WIRE -64 -64 -160 -64
+WIRE -160 -32 -160 -64
+WIRE -64 0 -64 -64
+WIRE 304 16 304 -96
+WIRE 304 16 -16 16
+WIRE 416 64 416 -16
+WIRE 64 80 64 -96
+WIRE 368 80 64 80
+WIRE -64 144 -64 96
+WIRE -240 160 -240 -96
+WIRE -240 160 -336 160
+WIRE -160 160 -240 160
+WIRE -112 160 -160 160
+WIRE -64 304 -64 240
+WIRE 416 304 416 160
+WIRE 416 304 -64 304
+WIRE 544 304 416 304
+WIRE -64 368 -64 304
+WIRE -160 448 -160 160
+WIRE -112 448 -160 448
+WIRE -416 496 -480 496
+WIRE -64 496 -64 464
+WIRE -64 496 -336 496
+WIRE -480 528 -480 496
+FLAG -480 528 0
+FLAG -160 -32 0
+FLAG -480 -160 0
+FLAG -336 160 A
+IOPIN -336 160 In
+FLAG 544 304 Y
+IOPIN 544 304 Out
+SYMBOL nmos -112 368 R0
+SYMATTR InstName M1
+SYMATTR Value N-ENH
+SYMBOL voltage -320 -192 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -320 496 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+SYMBOL pmos -112 240 M180
+SYMATTR InstName M2
+SYMATTR Value P-ELOW
+SYMBOL pmos 368 -16 M180
+SYMATTR InstName M5
+SYMATTR Value P-ENH
+SYMBOL pmos 368 160 M180
+SYMATTR InstName M6
+SYMATTR Value P-ELOW
+SYMBOL nmos -16 96 R180
+SYMATTR InstName M7
+SYMATTR Value N-DLOW
+SYMBOL .\\negative_threshold_inverter 176 -144 R0
+SYMATTR InstName U1
+TEXT 296 472 Left 0 !.inc ./custom.mos
diff --git a/CMOS/increment.asy b/CMOS/increment.asy
index b4f6f39..0d06e22 100644
--- a/CMOS/increment.asy
+++ b/CMOS/increment.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 +1
-SYMATTR Description Increment gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 +1
+SYMATTR Description Increment gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/inverting_consensus.asc b/CMOS/inverting_consensus.asc
index ef326e8..01357f4 100644
--- a/CMOS/inverting_consensus.asc
+++ b/CMOS/inverting_consensus.asc
@@ -1,100 +1,100 @@
-Version 4
-SHEET 1 880 680
-WIRE -368 -224 -448 -224
-WIRE -16 -224 -288 -224
-WIRE -448 -192 -448 -224
-WIRE -16 -144 -16 -224
-WIRE -64 -128 -192 -128
-WIRE -16 -16 -16 -48
-WIRE -64 0 -128 0
-WIRE -192 64 -192 -128
-WIRE -192 64 -288 64
-WIRE -16 144 -16 80
-WIRE 304 144 -16 144
-WIRE 544 144 304 144
-WIRE 640 144 544 144
-WIRE -128 208 -128 0
-WIRE -128 208 -288 208
-WIRE -16 208 -16 144
-WIRE 304 208 304 144
-WIRE 544 208 544 144
-WIRE -128 288 -128 208
-WIRE -96 288 -128 288
-WIRE -64 288 -96 288
-WIRE 256 288 192 288
-WIRE 496 288 448 288
-WIRE -96 320 -96 288
-WIRE 192 320 192 288
-WIRE 192 320 -96 320
-WIRE 448 320 448 288
-WIRE 448 320 192 320
-WIRE -16 336 -16 304
-WIRE 304 336 304 304
-WIRE 544 336 544 304
-WIRE -192 416 -192 64
-WIRE -96 416 -192 416
-WIRE -64 416 -96 416
-WIRE 256 416 192 416
-WIRE 496 416 448 416
-WIRE -96 448 -96 416
-WIRE 192 448 192 416
-WIRE 192 448 -96 448
-WIRE 448 448 448 416
-WIRE 448 448 192 448
-WIRE -368 512 -448 512
-WIRE -16 512 -16 432
-WIRE -16 512 -288 512
-WIRE 304 512 304 432
-WIRE 432 512 304 512
-WIRE 544 512 544 432
-WIRE 544 512 432 512
-WIRE -448 544 -448 512
-WIRE 432 544 432 512
-FLAG -448 -192 0
-FLAG 432 544 0
-FLAG -448 544 0
-FLAG -288 64 A
-IOPIN -288 64 In
-FLAG -288 208 B
-IOPIN -288 208 In
-FLAG 640 144 Y
-IOPIN 640 144 Out
-SYMBOL pmos -64 -48 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -64 80 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL nmos -64 208 R0
-SYMATTR InstName M3
-SYMATTR Value N-ENH
-SYMBOL nmos -64 336 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL voltage -272 -224 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -272 512 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL pmos 256 208 R0
-SYMATTR InstName M5
-SYMATTR Value P-DLOW
-SYMBOL nmos 256 336 R0
-SYMATTR InstName M6
-SYMATTR Value N-DLOW
-SYMBOL nmos 496 208 R0
-SYMATTR InstName M7
-SYMATTR Value N-DLOW
-SYMBOL pmos 496 336 R0
-SYMATTR InstName M8
-SYMATTR Value P-DLOW
-TEXT 464 -240 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 880 680
+WIRE -368 -224 -448 -224
+WIRE -16 -224 -288 -224
+WIRE -448 -192 -448 -224
+WIRE -16 -144 -16 -224
+WIRE -64 -128 -192 -128
+WIRE -16 -16 -16 -48
+WIRE -64 0 -128 0
+WIRE -192 64 -192 -128
+WIRE -192 64 -288 64
+WIRE -16 144 -16 80
+WIRE 304 144 -16 144
+WIRE 544 144 304 144
+WIRE 640 144 544 144
+WIRE -128 208 -128 0
+WIRE -128 208 -288 208
+WIRE -16 208 -16 144
+WIRE 304 208 304 144
+WIRE 544 208 544 144
+WIRE -128 288 -128 208
+WIRE -96 288 -128 288
+WIRE -64 288 -96 288
+WIRE 256 288 192 288
+WIRE 496 288 448 288
+WIRE -96 320 -96 288
+WIRE 192 320 192 288
+WIRE 192 320 -96 320
+WIRE 448 320 448 288
+WIRE 448 320 192 320
+WIRE -16 336 -16 304
+WIRE 304 336 304 304
+WIRE 544 336 544 304
+WIRE -192 416 -192 64
+WIRE -96 416 -192 416
+WIRE -64 416 -96 416
+WIRE 256 416 192 416
+WIRE 496 416 448 416
+WIRE -96 448 -96 416
+WIRE 192 448 192 416
+WIRE 192 448 -96 448
+WIRE 448 448 448 416
+WIRE 448 448 192 448
+WIRE -368 512 -448 512
+WIRE -16 512 -16 432
+WIRE -16 512 -288 512
+WIRE 304 512 304 432
+WIRE 432 512 304 512
+WIRE 544 512 544 432
+WIRE 544 512 432 512
+WIRE -448 544 -448 512
+WIRE 432 544 432 512
+FLAG -448 -192 0
+FLAG 432 544 0
+FLAG -448 544 0
+FLAG -288 64 A
+IOPIN -288 64 In
+FLAG -288 208 B
+IOPIN -288 208 In
+FLAG 640 144 Y
+IOPIN 640 144 Out
+SYMBOL pmos -64 -48 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -64 80 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL nmos -64 208 R0
+SYMATTR InstName M3
+SYMATTR Value N-ENH
+SYMBOL nmos -64 336 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL voltage -272 -224 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -272 512 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL pmos 256 208 R0
+SYMATTR InstName M5
+SYMATTR Value P-DLOW
+SYMBOL nmos 256 336 R0
+SYMATTR InstName M6
+SYMATTR Value N-DLOW
+SYMBOL nmos 496 208 R0
+SYMATTR InstName M7
+SYMATTR Value N-DLOW
+SYMBOL pmos 496 336 R0
+SYMATTR InstName M8
+SYMATTR Value P-DLOW
+TEXT 464 -240 Left 0 !.inc ./custom.mos
diff --git a/CMOS/inverting_consensus.asy b/CMOS/inverting_consensus.asy
index c0f87df..54f5aca 100644
--- a/CMOS/inverting_consensus.asy
+++ b/CMOS/inverting_consensus.asy
@@ -1,23 +1,23 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 56 48 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 52 Center 0 CON
-SYMATTR Description 2-input inverting consensus
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 56 48 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 52 Center 0 CON
+SYMATTR Description 2-input inverting consensus
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/inverting_gullible.asc b/CMOS/inverting_gullible.asc
index 8a4888c..26a542e 100644
--- a/CMOS/inverting_gullible.asc
+++ b/CMOS/inverting_gullible.asc
@@ -1,162 +1,162 @@
-Version 4
-SHEET 1 1168 708
-WIRE -352 -208 -384 -208
-WIRE -80 -208 -272 -208
-WIRE 176 -208 -80 -208
-WIRE -384 -176 -384 -208
-WIRE 464 -160 288 -160
-WIRE 720 -160 464 -160
-WIRE 976 -160 720 -160
-WIRE 1088 -160 976 -160
-WIRE -80 -144 -80 -208
-WIRE 176 -144 176 -208
-WIRE -176 -128 -240 -128
-WIRE -128 -128 -176 -128
-WIRE 128 -128 80 -128
-WIRE 464 -80 464 -160
-WIRE 720 -80 720 -160
-WIRE 976 -80 976 -160
-WIRE -176 -32 -176 -128
-WIRE 80 -32 80 -128
-WIRE 80 -32 -176 -32
-WIRE 336 -32 80 -32
-WIRE 416 0 384 0
-WIRE 672 0 624 0
-WIRE 928 0 816 0
-WIRE 32 32 -176 32
-WIRE 384 32 384 0
-WIRE 384 32 32 32
-WIRE 624 32 624 0
-WIRE 624 32 384 32
-WIRE 880 32 624 32
-WIRE -80 48 -80 -48
-WIRE 176 48 176 -48
-WIRE -176 64 -176 32
-WIRE -176 64 -352 64
-WIRE -128 64 -176 64
-WIRE 32 64 32 32
-WIRE 128 64 32 64
-WIRE 336 96 336 -32
-WIRE 624 96 336 96
-WIRE 816 96 816 0
-WIRE 816 96 624 96
-WIRE 464 112 464 16
-WIRE 720 112 720 16
-WIRE 976 112 976 16
-WIRE 384 192 384 32
-WIRE 416 192 384 192
-WIRE 624 192 624 96
-WIRE 672 192 624 192
-WIRE 880 192 880 32
-WIRE 928 192 880 192
-WIRE -80 208 -80 144
-WIRE 176 208 176 144
-WIRE 176 208 -80 208
-WIRE 288 208 288 -160
-WIRE 288 208 176 208
-WIRE -80 272 -80 208
-WIRE 176 272 176 208
-WIRE 720 272 720 208
-WIRE 976 272 976 208
-WIRE 976 272 720 272
-WIRE 464 304 464 208
-WIRE 976 336 976 272
-WIRE -240 352 -240 -128
-WIRE -240 352 -352 352
-WIRE -128 352 -240 352
-WIRE 128 352 80 352
-WIRE 336 384 336 96
-WIRE 416 384 336 384
-WIRE -240 400 -240 352
-WIRE 80 400 80 352
-WIRE 80 400 -240 400
-WIRE -80 464 -80 368
-WIRE 176 464 176 368
-WIRE 464 496 464 400
-WIRE -176 544 -176 64
-WIRE -128 544 -176 544
-WIRE 32 544 32 64
-WIRE 128 544 32 544
-WIRE 336 576 336 384
-WIRE 416 576 336 576
-WIRE -352 624 -384 624
-WIRE -80 624 -80 560
-WIRE -80 624 -272 624
-WIRE 176 624 176 560
-WIRE 176 624 -80 624
-WIRE 464 624 464 592
-WIRE 720 624 720 272
-WIRE 720 624 464 624
-WIRE -384 656 -384 624
-FLAG -384 656 0
-FLAG 976 336 0
-FLAG -384 -176 0
-FLAG -352 64 A
-IOPIN -352 64 In
-FLAG -352 352 B
-IOPIN -352 352 In
-FLAG 1088 -160 Y
-IOPIN 1088 -160 Out
-SYMBOL pmos -128 -48 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -128 144 M180
-SYMATTR InstName M2
-SYMATTR Value P-ELOW
-SYMBOL pmos 128 -48 M180
-SYMATTR InstName M3
-SYMATTR Value P-ELOW
-SYMBOL pmos 128 144 M180
-SYMATTR InstName M4
-SYMATTR Value P-ENH
-SYMBOL nmos -128 272 R0
-SYMATTR InstName M5
-SYMATTR Value N-ELOW
-SYMBOL nmos -128 464 R0
-SYMATTR InstName M6
-SYMATTR Value N-ENH
-SYMBOL nmos 128 272 R0
-SYMATTR InstName M7
-SYMATTR Value N-ENH
-SYMBOL nmos 128 464 R0
-SYMATTR InstName M8
-SYMATTR Value N-ELOW
-SYMBOL voltage -256 -208 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -256 624 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL nmos 416 -80 R0
-SYMATTR InstName M9
-SYMATTR Value N-DLOW
-SYMBOL nmos 672 -80 R0
-SYMATTR InstName M10
-SYMATTR Value N-ELOW
-SYMBOL nmos 928 -80 R0
-SYMATTR InstName M11
-SYMATTR Value N-ELOW
-SYMBOL pmos 416 112 R0
-SYMATTR InstName M12
-SYMATTR Value P-DLOW
-SYMBOL pmos 672 112 R0
-SYMATTR InstName M13
-SYMATTR Value P-ELOW
-SYMBOL pmos 928 112 R0
-SYMATTR InstName M14
-SYMATTR Value P-ELOW
-SYMBOL nmos 416 304 R0
-SYMATTR InstName M15
-SYMATTR Value N-DLOW
-SYMBOL pmos 416 496 R0
-SYMATTR InstName M16
-SYMATTR Value P-DLOW
-TEXT 280 -272 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 1168 708
+WIRE -352 -208 -384 -208
+WIRE -80 -208 -272 -208
+WIRE 176 -208 -80 -208
+WIRE -384 -176 -384 -208
+WIRE 464 -160 288 -160
+WIRE 720 -160 464 -160
+WIRE 976 -160 720 -160
+WIRE 1088 -160 976 -160
+WIRE -80 -144 -80 -208
+WIRE 176 -144 176 -208
+WIRE -176 -128 -240 -128
+WIRE -128 -128 -176 -128
+WIRE 128 -128 80 -128
+WIRE 464 -80 464 -160
+WIRE 720 -80 720 -160
+WIRE 976 -80 976 -160
+WIRE -176 -32 -176 -128
+WIRE 80 -32 80 -128
+WIRE 80 -32 -176 -32
+WIRE 336 -32 80 -32
+WIRE 416 0 384 0
+WIRE 672 0 624 0
+WIRE 928 0 816 0
+WIRE 32 32 -176 32
+WIRE 384 32 384 0
+WIRE 384 32 32 32
+WIRE 624 32 624 0
+WIRE 624 32 384 32
+WIRE 880 32 624 32
+WIRE -80 48 -80 -48
+WIRE 176 48 176 -48
+WIRE -176 64 -176 32
+WIRE -176 64 -352 64
+WIRE -128 64 -176 64
+WIRE 32 64 32 32
+WIRE 128 64 32 64
+WIRE 336 96 336 -32
+WIRE 624 96 336 96
+WIRE 816 96 816 0
+WIRE 816 96 624 96
+WIRE 464 112 464 16
+WIRE 720 112 720 16
+WIRE 976 112 976 16
+WIRE 384 192 384 32
+WIRE 416 192 384 192
+WIRE 624 192 624 96
+WIRE 672 192 624 192
+WIRE 880 192 880 32
+WIRE 928 192 880 192
+WIRE -80 208 -80 144
+WIRE 176 208 176 144
+WIRE 176 208 -80 208
+WIRE 288 208 288 -160
+WIRE 288 208 176 208
+WIRE -80 272 -80 208
+WIRE 176 272 176 208
+WIRE 720 272 720 208
+WIRE 976 272 976 208
+WIRE 976 272 720 272
+WIRE 464 304 464 208
+WIRE 976 336 976 272
+WIRE -240 352 -240 -128
+WIRE -240 352 -352 352
+WIRE -128 352 -240 352
+WIRE 128 352 80 352
+WIRE 336 384 336 96
+WIRE 416 384 336 384
+WIRE -240 400 -240 352
+WIRE 80 400 80 352
+WIRE 80 400 -240 400
+WIRE -80 464 -80 368
+WIRE 176 464 176 368
+WIRE 464 496 464 400
+WIRE -176 544 -176 64
+WIRE -128 544 -176 544
+WIRE 32 544 32 64
+WIRE 128 544 32 544
+WIRE 336 576 336 384
+WIRE 416 576 336 576
+WIRE -352 624 -384 624
+WIRE -80 624 -80 560
+WIRE -80 624 -272 624
+WIRE 176 624 176 560
+WIRE 176 624 -80 624
+WIRE 464 624 464 592
+WIRE 720 624 720 272
+WIRE 720 624 464 624
+WIRE -384 656 -384 624
+FLAG -384 656 0
+FLAG 976 336 0
+FLAG -384 -176 0
+FLAG -352 64 A
+IOPIN -352 64 In
+FLAG -352 352 B
+IOPIN -352 352 In
+FLAG 1088 -160 Y
+IOPIN 1088 -160 Out
+SYMBOL pmos -128 -48 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -128 144 M180
+SYMATTR InstName M2
+SYMATTR Value P-ELOW
+SYMBOL pmos 128 -48 M180
+SYMATTR InstName M3
+SYMATTR Value P-ELOW
+SYMBOL pmos 128 144 M180
+SYMATTR InstName M4
+SYMATTR Value P-ENH
+SYMBOL nmos -128 272 R0
+SYMATTR InstName M5
+SYMATTR Value N-ELOW
+SYMBOL nmos -128 464 R0
+SYMATTR InstName M6
+SYMATTR Value N-ENH
+SYMBOL nmos 128 272 R0
+SYMATTR InstName M7
+SYMATTR Value N-ENH
+SYMBOL nmos 128 464 R0
+SYMATTR InstName M8
+SYMATTR Value N-ELOW
+SYMBOL voltage -256 -208 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -256 624 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL nmos 416 -80 R0
+SYMATTR InstName M9
+SYMATTR Value N-DLOW
+SYMBOL nmos 672 -80 R0
+SYMATTR InstName M10
+SYMATTR Value N-ELOW
+SYMBOL nmos 928 -80 R0
+SYMATTR InstName M11
+SYMATTR Value N-ELOW
+SYMBOL pmos 416 112 R0
+SYMATTR InstName M12
+SYMATTR Value P-DLOW
+SYMBOL pmos 672 112 R0
+SYMATTR InstName M13
+SYMATTR Value P-ELOW
+SYMBOL pmos 928 112 R0
+SYMATTR InstName M14
+SYMATTR Value P-ELOW
+SYMBOL nmos 416 304 R0
+SYMATTR InstName M15
+SYMATTR Value N-DLOW
+SYMBOL pmos 416 496 R0
+SYMATTR InstName M16
+SYMATTR Value P-DLOW
+TEXT 280 -272 Left 0 !.inc ./custom.mos
diff --git a/CMOS/inverting_gullible.asy b/CMOS/inverting_gullible.asy
index 3e6991f..34a9c84 100644
--- a/CMOS/inverting_gullible.asy
+++ b/CMOS/inverting_gullible.asy
@@ -1,23 +1,23 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 56 48 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 0 52 Center 0 GUL
-SYMATTR Description 2-input inverting gullible
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 56 48 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 0 52 Center 0 GUL
+SYMATTR Description 2-input inverting gullible
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/is_false.asc b/CMOS/is_false.asc
index 44db15a..c02d271 100644
--- a/CMOS/is_false.asc
+++ b/CMOS/is_false.asc
@@ -1,10 +1,10 @@
-Version 4
-SHEET 1 924 680
-WIRE -112 128 -128 128
-WIRE 16 128 0 128
-FLAG -128 128 A
-IOPIN -128 128 In
-FLAG 16 128 Y
-IOPIN 16 128 Out
-SYMBOL .\\negative_threshold_inverter -64 80 R0
-SYMATTR InstName U1
+Version 4
+SHEET 1 924 680
+WIRE -112 128 -128 128
+WIRE 16 128 0 128
+FLAG -128 128 A
+IOPIN -128 128 In
+FLAG 16 128 Y
+IOPIN 16 128 Out
+SYMBOL .\\negative_threshold_inverter -64 80 R0
+SYMATTR InstName U1
diff --git a/CMOS/is_false.asy b/CMOS/is_false.asy
index e5e3fee..2204505 100644
--- a/CMOS/is_false.asy
+++ b/CMOS/is_false.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 =-
-SYMATTR Description IS FALSE gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 =-
+SYMATTR Description IS FALSE gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/is_true.asc b/CMOS/is_true.asc
index 37700f7..199c42a 100644
--- a/CMOS/is_true.asc
+++ b/CMOS/is_true.asc
@@ -1,12 +1,12 @@
-Version 4
-SHEET 1 924 680
-WIRE -16 96 -32 96
-WIRE 224 96 208 96
-FLAG -32 96 A
-IOPIN -32 96 In
-FLAG 224 96 Y
-IOPIN 224 96 Out
-SYMBOL .\\positive_threshold_inverter 32 48 R0
-SYMATTR InstName U1
-SYMBOL .\\negative_threshold_inverter 144 48 R0
-SYMATTR InstName U2
+Version 4
+SHEET 1 924 680
+WIRE -16 96 -32 96
+WIRE 224 96 208 96
+FLAG -32 96 A
+IOPIN -32 96 In
+FLAG 224 96 Y
+IOPIN 224 96 Out
+SYMBOL .\\positive_threshold_inverter 32 48 R0
+SYMATTR InstName U1
+SYMBOL .\\negative_threshold_inverter 144 48 R0
+SYMATTR InstName U2
diff --git a/CMOS/is_true.asy b/CMOS/is_true.asy
index 5105d90..0edb8b6 100644
--- a/CMOS/is_true.asy
+++ b/CMOS/is_true.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 =+
-SYMATTR Description IS TRUE gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 =+
+SYMATTR Description IS TRUE gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/is_unknown.asc b/CMOS/is_unknown.asc
index efe88fe..4789591 100644
--- a/CMOS/is_unknown.asc
+++ b/CMOS/is_unknown.asc
@@ -1,67 +1,67 @@
-Version 4
-SHEET 1 956 680
-WIRE -288 -192 -336 -192
-WIRE 304 -192 -208 -192
-WIRE -336 -160 -336 -192
-WIRE 304 -160 304 -192
-WIRE 256 -144 112 -144
-WIRE 304 -32 304 -64
-WIRE 256 -16 192 -16
-WIRE -112 96 -208 96
-WIRE -48 96 -112 96
-WIRE 192 96 192 -16
-WIRE 192 96 64 96
-WIRE 304 96 304 64
-WIRE 544 96 304 96
-WIRE 656 96 544 96
-WIRE -112 176 -112 96
-WIRE 112 176 112 -144
-WIRE 112 176 -112 176
-WIRE 432 176 112 176
-WIRE 304 240 304 96
-WIRE 544 240 544 96
-WIRE 192 320 192 96
-WIRE 256 320 192 320
-WIRE 432 320 432 176
-WIRE 496 320 432 320
-WIRE -288 400 -336 400
-WIRE 304 400 304 336
-WIRE 304 400 -208 400
-WIRE 544 400 544 336
-WIRE 544 400 304 400
-WIRE -336 432 -336 400
-FLAG -336 -160 0
-FLAG -336 432 0
-FLAG -208 96 A
-IOPIN -208 96 In
-FLAG 656 96 Y
-IOPIN 656 96 Out
-SYMBOL voltage -192 -192 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -192 400 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-SYMBOL nmos 256 240 R0
-SYMATTR InstName M3
-SYMATTR Value N-ELOW
-SYMBOL nmos 496 240 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-SYMBOL pmos 256 64 M180
-SYMATTR InstName M5
-SYMATTR Value P-ENH
-SYMBOL pmos 256 -64 M180
-SYMATTR InstName M6
-SYMATTR Value P-ELOW
-SYMBOL .\\negative_threshold_inverter 0 48 R0
-SYMATTR InstName U1
-TEXT 360 -208 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 956 680
+WIRE -288 -192 -336 -192
+WIRE 304 -192 -208 -192
+WIRE -336 -160 -336 -192
+WIRE 304 -160 304 -192
+WIRE 256 -144 112 -144
+WIRE 304 -32 304 -64
+WIRE 256 -16 192 -16
+WIRE -112 96 -208 96
+WIRE -48 96 -112 96
+WIRE 192 96 192 -16
+WIRE 192 96 64 96
+WIRE 304 96 304 64
+WIRE 544 96 304 96
+WIRE 656 96 544 96
+WIRE -112 176 -112 96
+WIRE 112 176 112 -144
+WIRE 112 176 -112 176
+WIRE 432 176 112 176
+WIRE 304 240 304 96
+WIRE 544 240 544 96
+WIRE 192 320 192 96
+WIRE 256 320 192 320
+WIRE 432 320 432 176
+WIRE 496 320 432 320
+WIRE -288 400 -336 400
+WIRE 304 400 304 336
+WIRE 304 400 -208 400
+WIRE 544 400 544 336
+WIRE 544 400 304 400
+WIRE -336 432 -336 400
+FLAG -336 -160 0
+FLAG -336 432 0
+FLAG -208 96 A
+IOPIN -208 96 In
+FLAG 656 96 Y
+IOPIN 656 96 Out
+SYMBOL voltage -192 -192 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -192 400 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+SYMBOL nmos 256 240 R0
+SYMATTR InstName M3
+SYMATTR Value N-ELOW
+SYMBOL nmos 496 240 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL pmos 256 64 M180
+SYMATTR InstName M5
+SYMATTR Value P-ENH
+SYMBOL pmos 256 -64 M180
+SYMATTR InstName M6
+SYMATTR Value P-ELOW
+SYMBOL .\\negative_threshold_inverter 0 48 R0
+SYMATTR InstName U1
+TEXT 360 -208 Left 0 !.inc ./custom.mos
diff --git a/CMOS/is_unknown.asy b/CMOS/is_unknown.asy
index 8ffb820..49da4de 100644
--- a/CMOS/is_unknown.asy
+++ b/CMOS/is_unknown.asy
@@ -1,17 +1,17 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-TEXT 0 48 Center 0 =0
-SYMATTR Description IS UNKNOWN gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+TEXT 0 48 Center 0 =0
+SYMATTR Description IS UNKNOWN gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/monadic_decoder.asc b/CMOS/monadic_decoder.asc
index 5791a49..7b5079e 100644
--- a/CMOS/monadic_decoder.asc
+++ b/CMOS/monadic_decoder.asc
@@ -1,80 +1,80 @@
-Version 4
-SHEET 1 880 680
-WIRE -48 -144 -112 -144
-WIRE 224 -144 64 -144
-WIRE 288 -144 224 -144
-WIRE 64 -64 32 -64
-WIRE 336 -64 144 -64
-WIRE 32 -32 32 -64
-WIRE 336 -32 336 -64
-WIRE 288 -16 160 -16
-WIRE -112 32 -112 -144
-WIRE -112 32 -224 32
-WIRE 336 80 336 64
-WIRE 224 96 224 -144
-WIRE 288 96 224 96
-WIRE 336 208 336 176
-WIRE 576 208 336 208
-WIRE 720 208 576 208
-WIRE -112 240 -112 32
-WIRE 160 240 160 -16
-WIRE 160 240 -112 240
-WIRE 464 240 160 240
-WIRE 336 272 336 208
-WIRE 576 272 576 208
-WIRE 224 352 224 96
-WIRE 288 352 224 352
-WIRE 464 352 464 240
-WIRE 528 352 464 352
-WIRE 64 400 32 400
-WIRE 336 400 336 368
-WIRE 336 400 144 400
-WIRE 576 400 576 368
-WIRE 576 400 336 400
-WIRE 32 432 32 400
-WIRE -112 496 -112 240
-WIRE -48 496 -112 496
-WIRE 288 496 176 496
-FLAG -224 32 A
-IOPIN -224 32 In
-FLAG 288 -144 Y1
-IOPIN 288 -144 Out
-FLAG 288 496 Y3
-IOPIN 288 496 Out
-FLAG 32 -32 0
-FLAG 32 432 0
-FLAG 720 208 Y2
-IOPIN 720 208 Out
-SYMBOL .\\negative_threshold_inverter 0 -192 R0
-SYMATTR InstName U1
-SYMBOL .\\positive_threshold_inverter 0 448 R0
-SYMATTR InstName U2
-SYMBOL .\\negative_threshold_inverter 112 448 R0
-SYMATTR InstName U3
-SYMBOL voltage 160 -64 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage 160 400 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL pmos 288 64 M180
-SYMATTR InstName M1
-SYMATTR Value P-ELOW
-SYMBOL pmos 288 176 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL nmos 288 272 R0
-SYMATTR InstName M3
-SYMATTR Value N-ELOW
-SYMBOL nmos 528 272 R0
-SYMATTR InstName M4
-SYMATTR Value N-ENH
-TEXT 496 -120 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 880 680
+WIRE -48 -144 -112 -144
+WIRE 224 -144 64 -144
+WIRE 288 -144 224 -144
+WIRE 64 -64 32 -64
+WIRE 336 -64 144 -64
+WIRE 32 -32 32 -64
+WIRE 336 -32 336 -64
+WIRE 288 -16 160 -16
+WIRE -112 32 -112 -144
+WIRE -112 32 -224 32
+WIRE 336 80 336 64
+WIRE 224 96 224 -144
+WIRE 288 96 224 96
+WIRE 336 208 336 176
+WIRE 576 208 336 208
+WIRE 720 208 576 208
+WIRE -112 240 -112 32
+WIRE 160 240 160 -16
+WIRE 160 240 -112 240
+WIRE 464 240 160 240
+WIRE 336 272 336 208
+WIRE 576 272 576 208
+WIRE 224 352 224 96
+WIRE 288 352 224 352
+WIRE 464 352 464 240
+WIRE 528 352 464 352
+WIRE 64 400 32 400
+WIRE 336 400 336 368
+WIRE 336 400 144 400
+WIRE 576 400 576 368
+WIRE 576 400 336 400
+WIRE 32 432 32 400
+WIRE -112 496 -112 240
+WIRE -48 496 -112 496
+WIRE 288 496 176 496
+FLAG -224 32 A
+IOPIN -224 32 In
+FLAG 288 -144 Y1
+IOPIN 288 -144 Out
+FLAG 288 496 Y3
+IOPIN 288 496 Out
+FLAG 32 -32 0
+FLAG 32 432 0
+FLAG 720 208 Y2
+IOPIN 720 208 Out
+SYMBOL .\\negative_threshold_inverter 0 -192 R0
+SYMATTR InstName U1
+SYMBOL .\\positive_threshold_inverter 0 448 R0
+SYMATTR InstName U2
+SYMBOL .\\negative_threshold_inverter 112 448 R0
+SYMATTR InstName U3
+SYMBOL voltage 160 -64 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage 160 400 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL pmos 288 64 M180
+SYMATTR InstName M1
+SYMATTR Value P-ELOW
+SYMBOL pmos 288 176 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL nmos 288 272 R0
+SYMATTR InstName M3
+SYMATTR Value N-ELOW
+SYMBOL nmos 528 272 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+TEXT 496 -120 Left 0 !.inc ./custom.mos
diff --git a/CMOS/monadic_decoder.asy b/CMOS/monadic_decoder.asy
index 7e2d830..e4f8037 100644
--- a/CMOS/monadic_decoder.asy
+++ b/CMOS/monadic_decoder.asy
@@ -1,28 +1,28 @@
-Version 4
-SymbolType CELL
-LINE Normal 64 80 32 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 128 32 32
-LINE Normal -32 128 32 128
-LINE Normal -32 32 -32 128
-LINE Normal 64 48 32 48
-LINE Normal 64 112 32 112
-LINE Normal -64 80 -32 80
-TEXT -20 80 Left 0 =
-TEXT 3 46 Left 0 -
-TEXT 9 46 Left 0 -
-TEXT 10 80 Center 0 0
-TEXT 10 112 Center 0 +
-SYMATTR Description Monadic decoder gate
-PIN -64 80 NONE 8
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 8
-PINATTR PinName Y1
-PINATTR SpiceOrder 2
-PIN 64 80 NONE 8
-PINATTR PinName Y2
-PINATTR SpiceOrder 3
-PIN 64 112 NONE 8
-PINATTR PinName Y3
-PINATTR SpiceOrder 4
+Version 4
+SymbolType CELL
+LINE Normal 64 80 32 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 128 32 32
+LINE Normal -32 128 32 128
+LINE Normal -32 32 -32 128
+LINE Normal 64 48 32 48
+LINE Normal 64 112 32 112
+LINE Normal -64 80 -32 80
+TEXT -20 80 Left 0 =
+TEXT 3 46 Left 0 -
+TEXT 9 46 Left 0 -
+TEXT 10 80 Center 0 0
+TEXT 10 112 Center 0 +
+SYMATTR Description Monadic decoder gate
+PIN -64 80 NONE 8
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 8
+PINATTR PinName Y1
+PINATTR SpiceOrder 2
+PIN 64 80 NONE 8
+PINATTR PinName Y2
+PINATTR SpiceOrder 3
+PIN 64 112 NONE 8
+PINATTR PinName Y3
+PINATTR SpiceOrder 4
diff --git a/CMOS/negative_threshold_inverter.asc b/CMOS/negative_threshold_inverter.asc
index 7380e83..981d829 100644
--- a/CMOS/negative_threshold_inverter.asc
+++ b/CMOS/negative_threshold_inverter.asc
@@ -1,45 +1,45 @@
-Version 4
-SHEET 1 924 680
-WIRE -288 -160 -336 -160
-WIRE 96 -160 -208 -160
-WIRE -336 -128 -336 -160
-WIRE 96 -96 96 -160
-WIRE 48 -80 0 -80
-WIRE 0 96 0 -80
-WIRE 0 96 -208 96
-WIRE 96 96 96 0
-WIRE 256 96 96 96
-WIRE 96 240 96 96
-WIRE 0 320 0 96
-WIRE 48 320 0 320
-WIRE -288 400 -336 400
-WIRE 96 400 96 336
-WIRE 96 400 -208 400
-WIRE -336 432 -336 400
-FLAG -336 432 0
-FLAG -336 -128 0
-FLAG -208 96 A
-IOPIN -208 96 In
-FLAG 256 96 Y
-IOPIN 256 96 Out
-SYMBOL pmos 48 0 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL nmos 48 240 R0
-SYMATTR InstName M2
-SYMATTR Value N-ELOW
-SYMBOL voltage -192 -160 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -192 400 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-TEXT 408 -160 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 924 680
+WIRE -288 -160 -336 -160
+WIRE 96 -160 -208 -160
+WIRE -336 -128 -336 -160
+WIRE 96 -96 96 -160
+WIRE 48 -80 0 -80
+WIRE 0 96 0 -80
+WIRE 0 96 -208 96
+WIRE 96 96 96 0
+WIRE 256 96 96 96
+WIRE 96 240 96 96
+WIRE 0 320 0 96
+WIRE 48 320 0 320
+WIRE -288 400 -336 400
+WIRE 96 400 96 336
+WIRE 96 400 -208 400
+WIRE -336 432 -336 400
+FLAG -336 432 0
+FLAG -336 -128 0
+FLAG -208 96 A
+IOPIN -208 96 In
+FLAG 256 96 Y
+IOPIN 256 96 Out
+SYMBOL pmos 48 0 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL nmos 48 240 R0
+SYMATTR InstName M2
+SYMATTR Value N-ELOW
+SYMBOL voltage -192 -160 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -192 400 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+TEXT 408 -160 Left 0 !.inc ./custom.mos
diff --git a/CMOS/negative_threshold_inverter.asy b/CMOS/negative_threshold_inverter.asy
index 91e3aad..3e4e735 100644
--- a/CMOS/negative_threshold_inverter.asy
+++ b/CMOS/negative_threshold_inverter.asy
@@ -1,18 +1,18 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-LINE Normal 47 48 32 40
-TEXT 0 48 Center 0 NTI
-SYMATTR Description Negative threshold inverter
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+LINE Normal 47 48 32 40
+TEXT 0 48 Center 0 NTI
+SYMATTR Description Negative threshold inverter
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/positive_threshold_inverter.asc b/CMOS/positive_threshold_inverter.asc
index 1d0c1c5..25ccd49 100644
--- a/CMOS/positive_threshold_inverter.asc
+++ b/CMOS/positive_threshold_inverter.asc
@@ -1,45 +1,45 @@
-Version 4
-SHEET 1 924 680
-WIRE -288 -160 -336 -160
-WIRE 96 -160 -208 -160
-WIRE -336 -128 -336 -160
-WIRE 96 -96 96 -160
-WIRE 48 -80 0 -80
-WIRE 0 96 0 -80
-WIRE 0 96 -208 96
-WIRE 96 96 96 0
-WIRE 256 96 96 96
-WIRE 96 240 96 96
-WIRE 0 320 0 96
-WIRE 48 320 0 320
-WIRE -288 400 -336 400
-WIRE 96 400 96 336
-WIRE 96 400 -208 400
-WIRE -336 432 -336 400
-FLAG -336 432 0
-FLAG -336 -128 0
-FLAG -208 96 A
-IOPIN -208 96 In
-FLAG 256 96 Y
-IOPIN 256 96 Out
-SYMBOL pmos 48 0 M180
-SYMATTR InstName M1
-SYMATTR Value P-ELOW
-SYMBOL nmos 48 240 R0
-SYMATTR InstName M2
-SYMATTR Value N-ENH
-SYMBOL voltage -192 -160 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -192 400 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-TEXT 408 -160 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 924 680
+WIRE -288 -160 -336 -160
+WIRE 96 -160 -208 -160
+WIRE -336 -128 -336 -160
+WIRE 96 -96 96 -160
+WIRE 48 -80 0 -80
+WIRE 0 96 0 -80
+WIRE 0 96 -208 96
+WIRE 96 96 96 0
+WIRE 256 96 96 96
+WIRE 96 240 96 96
+WIRE 0 320 0 96
+WIRE 48 320 0 320
+WIRE -288 400 -336 400
+WIRE 96 400 96 336
+WIRE 96 400 -208 400
+WIRE -336 432 -336 400
+FLAG -336 432 0
+FLAG -336 -128 0
+FLAG -208 96 A
+IOPIN -208 96 In
+FLAG 256 96 Y
+IOPIN 256 96 Out
+SYMBOL pmos 48 0 M180
+SYMATTR InstName M1
+SYMATTR Value P-ELOW
+SYMBOL nmos 48 240 R0
+SYMATTR InstName M2
+SYMATTR Value N-ENH
+SYMBOL voltage -192 -160 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -192 400 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+TEXT 408 -160 Left 0 !.inc ./custom.mos
diff --git a/CMOS/positive_threshold_inverter.asy b/CMOS/positive_threshold_inverter.asy
index 1122cb4..3ce48e9 100644
--- a/CMOS/positive_threshold_inverter.asy
+++ b/CMOS/positive_threshold_inverter.asy
@@ -1,18 +1,18 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-LINE Normal 47 48 32 40
-TEXT 0 48 Center 0 PTI
-SYMATTR Description Positive threshold inverter
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+LINE Normal 47 48 32 40
+TEXT 0 48 Center 0 PTI
+SYMATTR Description Positive threshold inverter
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/standard_inverter.asc b/CMOS/standard_inverter.asc
index c48a2c7..5f64dd3 100644
--- a/CMOS/standard_inverter.asc
+++ b/CMOS/standard_inverter.asc
@@ -1,63 +1,63 @@
-Version 4
-SHEET 1 924 680
-WIRE -288 -160 -336 -160
-WIRE 96 -160 -208 -160
-WIRE -336 -128 -336 -160
-WIRE 96 -96 96 -160
-WIRE 48 -80 0 -80
-WIRE -80 96 -208 96
-WIRE 0 96 0 -80
-WIRE 0 96 -80 96
-WIRE 96 96 96 0
-WIRE 480 96 96 96
-WIRE 640 96 480 96
-WIRE 480 144 480 96
-WIRE 432 224 384 224
-WIRE 96 240 96 96
-WIRE 480 272 480 240
-WIRE 0 320 0 96
-WIRE 48 320 0 320
-WIRE 384 352 384 224
-WIRE 432 352 384 352
-WIRE -288 400 -336 400
-WIRE 96 400 96 336
-WIRE 96 400 -208 400
-WIRE -336 432 -336 400
-WIRE 480 432 480 368
-WIRE -80 464 -80 96
-WIRE 384 464 384 352
-WIRE 384 464 -80 464
-FLAG 480 432 0
-FLAG -336 432 0
-FLAG -336 -128 0
-FLAG -208 96 A
-IOPIN -208 96 In
-FLAG 640 96 Y
-IOPIN 640 96 Out
-SYMBOL pmos 48 0 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL nmos 48 240 R0
-SYMATTR InstName M2
-SYMATTR Value N-ENH
-SYMBOL nmos 432 272 R0
-SYMATTR InstName M3
-SYMATTR Value N-DLOW
-SYMBOL pmos 432 144 R0
-SYMATTR InstName M4
-SYMATTR Value P-DLOW
-SYMBOL voltage -192 -160 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -192 400 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V3
-SYMATTR Value -1
-TEXT 408 -160 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 924 680
+WIRE -288 -160 -336 -160
+WIRE 96 -160 -208 -160
+WIRE -336 -128 -336 -160
+WIRE 96 -96 96 -160
+WIRE 48 -80 0 -80
+WIRE -80 96 -208 96
+WIRE 0 96 0 -80
+WIRE 0 96 -80 96
+WIRE 96 96 96 0
+WIRE 480 96 96 96
+WIRE 640 96 480 96
+WIRE 480 144 480 96
+WIRE 432 224 384 224
+WIRE 96 240 96 96
+WIRE 480 272 480 240
+WIRE 0 320 0 96
+WIRE 48 320 0 320
+WIRE 384 352 384 224
+WIRE 432 352 384 352
+WIRE -288 400 -336 400
+WIRE 96 400 96 336
+WIRE 96 400 -208 400
+WIRE -336 432 -336 400
+WIRE 480 432 480 368
+WIRE -80 464 -80 96
+WIRE 384 464 384 352
+WIRE 384 464 -80 464
+FLAG 480 432 0
+FLAG -336 432 0
+FLAG -336 -128 0
+FLAG -208 96 A
+IOPIN -208 96 In
+FLAG 640 96 Y
+IOPIN 640 96 Out
+SYMBOL pmos 48 0 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL nmos 48 240 R0
+SYMATTR InstName M2
+SYMATTR Value N-ENH
+SYMBOL nmos 432 272 R0
+SYMATTR InstName M3
+SYMATTR Value N-DLOW
+SYMBOL pmos 432 144 R0
+SYMATTR InstName M4
+SYMATTR Value P-DLOW
+SYMBOL voltage -192 -160 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -192 400 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+TEXT 408 -160 Left 0 !.inc ./custom.mos
diff --git a/CMOS/standard_inverter.asy b/CMOS/standard_inverter.asy
index fe479d7..4a9c820 100644
--- a/CMOS/standard_inverter.asy
+++ b/CMOS/standard_inverter.asy
@@ -1,18 +1,18 @@
-Version 4
-SymbolType CELL
-LINE Normal 32 48 64 48
-LINE Normal -32 48 -48 48
-LINE Normal 32 32 -32 32
-LINE Normal 32 64 32 32
-LINE Normal -32 64 32 64
-LINE Normal -32 32 -32 64
-LINE Normal 32 40 32 48
-LINE Normal 47 48 32 40
-TEXT 0 48 Center 0 NEG
-SYMATTR Description Inverter
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN 64 48 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 2
+Version 4
+SymbolType CELL
+LINE Normal 32 48 64 48
+LINE Normal -32 48 -48 48
+LINE Normal 32 32 -32 32
+LINE Normal 32 64 32 32
+LINE Normal -32 64 32 64
+LINE Normal -32 32 -32 64
+LINE Normal 32 40 32 48
+LINE Normal 47 48 32 40
+TEXT 0 48 Center 0 NEG
+SYMATTR Description Inverter
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 2
diff --git a/CMOS/sum.asc b/CMOS/sum.asc
index eebd450..e486ed0 100644
--- a/CMOS/sum.asc
+++ b/CMOS/sum.asc
@@ -1,294 +1,294 @@
-Version 4
-SHEET 1 1744 948
-WIRE -784 -448 -816 -448
-WIRE -496 -448 -704 -448
-WIRE -176 -448 -496 -448
-WIRE 144 -448 -176 -448
-WIRE -816 -416 -816 -448
-WIRE -496 -352 -496 -448
-WIRE -176 -352 -176 -448
-WIRE -544 -336 -688 -336
-WIRE -224 -336 -272 -336
-WIRE 528 -304 320 -304
-WIRE 848 -304 528 -304
-WIRE 1488 -304 848 -304
-WIRE 1664 -304 1488 -304
-WIRE -688 -224 -688 -336
-WIRE -272 -224 -272 -336
-WIRE -272 -224 -688 -224
-WIRE 1168 -224 960 -224
-WIRE -320 -176 -592 -176
-WIRE 368 -176 -320 -176
-WIRE -496 -160 -496 -256
-WIRE -176 -160 -176 -256
-WIRE 144 -160 144 -448
-WIRE 528 -160 528 -304
-WIRE 848 -160 848 -304
-WIRE 1168 -160 1168 -224
-WIRE 1488 -160 1488 -304
-WIRE -912 -144 -1024 -144
-WIRE -816 -144 -912 -144
-WIRE -592 -144 -592 -176
-WIRE -592 -144 -704 -144
-WIRE -544 -144 -592 -144
-WIRE -320 -144 -320 -176
-WIRE -224 -144 -320 -144
-WIRE 96 -144 32 -144
-WIRE 480 -80 432 -80
-WIRE 800 -80 752 -80
-WIRE 1120 -80 1072 -80
-WIRE 1440 -80 1376 -80
-WIRE -912 -48 -912 -144
-WIRE -368 -48 -912 -48
-WIRE 32 -48 32 -144
-WIRE 32 -48 -368 -48
-WIRE 432 -48 432 -80
-WIRE 432 -48 32 -48
-WIRE 752 -48 752 -80
-WIRE 752 -48 432 -48
-WIRE 1296 -48 752 -48
-WIRE -32 16 -640 16
-WIRE -496 32 -496 -64
-WIRE -176 32 -176 -64
-WIRE 144 32 144 -64
-WIRE 528 32 528 -64
-WIRE 848 32 848 -64
-WIRE 1168 32 1168 -64
-WIRE 1488 32 1488 -64
-WIRE -640 48 -640 16
-WIRE -640 48 -848 48
-WIRE -544 48 -640 48
-WIRE -368 48 -368 -48
-WIRE -224 48 -368 48
-WIRE -32 48 -32 16
-WIRE 96 48 -32 48
-WIRE 480 112 432 112
-WIRE 752 112 752 -48
-WIRE 800 112 752 112
-WIRE 1072 112 1072 -80
-WIRE 1120 112 1072 112
-WIRE 1296 112 1296 -48
-WIRE 1440 112 1296 112
-WIRE 432 192 432 112
-WIRE 704 192 432 192
-WIRE 1376 192 1376 -80
-WIRE 1376 192 704 192
-WIRE -496 208 -496 128
-WIRE -176 208 -176 128
-WIRE -176 208 -496 208
-WIRE 144 208 144 128
-WIRE 144 208 -176 208
-WIRE 320 208 320 -304
-WIRE 320 208 144 208
-WIRE 1072 272 1072 112
-WIRE 1072 272 320 272
-WIRE 1376 272 1072 272
-WIRE -496 288 -496 208
-WIRE -176 288 -176 208
-WIRE 144 288 144 208
-WIRE 528 288 528 128
-WIRE 848 288 848 128
-WIRE 1168 288 1168 128
-WIRE 1488 288 1488 128
-WIRE -592 368 -592 -144
-WIRE -544 368 -592 368
-WIRE -224 368 -272 368
-WIRE 96 368 -32 368
-WIRE 320 368 320 272
-WIRE 480 368 320 368
-WIRE 704 368 704 192
-WIRE 800 368 704 368
-WIRE 1120 368 1072 368
-WIRE 1440 368 1296 368
-WIRE -688 400 -688 -224
-WIRE -272 400 -272 368
-WIRE -272 400 -688 400
-WIRE 320 400 320 368
-WIRE 320 400 -272 400
-WIRE -592 464 -592 368
-WIRE -320 464 -592 464
-WIRE 368 464 368 -176
-WIRE 1072 464 1072 368
-WIRE 1072 464 368 464
-WIRE 1296 464 1296 368
-WIRE 1296 464 1072 464
-WIRE -496 480 -496 384
-WIRE -176 480 -176 384
-WIRE 144 480 144 384
-WIRE 528 480 528 384
-WIRE 848 480 848 384
-WIRE 1168 480 1168 384
-WIRE 1488 480 1488 384
-WIRE -848 560 -848 48
-WIRE -848 560 -1024 560
-WIRE -816 560 -848 560
-WIRE -688 560 -688 400
-WIRE -688 560 -704 560
-WIRE -544 560 -688 560
-WIRE -320 560 -320 464
-WIRE -224 560 -320 560
-WIRE 96 560 32 560
-WIRE 368 560 368 464
-WIRE 480 560 368 560
-WIRE 704 560 704 368
-WIRE 800 560 704 560
-WIRE 1072 560 1072 464
-WIRE 1120 560 1072 560
-WIRE 1376 560 1376 272
-WIRE 1440 560 1376 560
-WIRE -912 592 -912 -48
-WIRE -368 592 -912 592
-WIRE 32 592 32 560
-WIRE 32 592 -368 592
-WIRE 528 640 528 576
-WIRE 848 640 848 576
-WIRE 960 640 960 -224
-WIRE 960 640 848 640
-WIRE 1168 640 1168 576
-WIRE 1488 640 1488 576
-WIRE -848 656 -848 560
-WIRE -640 656 -848 656
-WIRE -32 656 -32 368
-WIRE -32 656 -640 656
-WIRE 432 656 432 192
-WIRE 432 656 -32 656
-WIRE -496 672 -496 576
-WIRE -176 672 -176 576
-WIRE -640 752 -640 656
-WIRE -544 752 -640 752
-WIRE -368 752 -368 592
-WIRE -224 752 -368 752
-WIRE -784 864 -816 864
-WIRE -496 864 -496 768
-WIRE -496 864 -704 864
-WIRE -176 864 -176 768
-WIRE -176 864 -496 864
-WIRE 144 864 144 576
-WIRE 144 864 -176 864
-WIRE -816 896 -816 864
-FLAG -816 -416 0
-FLAG -816 896 0
-FLAG 528 640 0
-FLAG 1168 640 0
-FLAG 1488 640 0
-FLAG -1024 -144 A
-IOPIN -1024 -144 In
-FLAG -1024 560 B
-IOPIN -1024 560 In
-FLAG 1664 -304 Y
-IOPIN 1664 -304 Out
-SYMBOL pmos -544 -256 M180
-SYMATTR InstName M1
-SYMATTR Value P-ELOW
-SYMBOL pmos -544 -64 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL pmos -544 128 M180
-SYMATTR InstName M3
-SYMATTR Value P-ELOW
-SYMBOL pmos -224 -256 M180
-SYMATTR InstName M4
-SYMATTR Value P-ENH
-SYMBOL pmos -224 -64 M180
-SYMATTR InstName M5
-SYMATTR Value P-ELOW
-SYMBOL pmos 96 -64 M180
-SYMATTR InstName M6
-SYMATTR Value P-ENH
-SYMBOL pmos -224 128 M180
-SYMATTR InstName M7
-SYMATTR Value P-ELOW
-SYMBOL pmos 96 128 M180
-SYMATTR InstName M8
-SYMATTR Value P-ENH
-SYMBOL nmos -544 288 R0
-SYMATTR InstName M9
-SYMATTR Value N-ENH
-SYMBOL nmos -544 480 R0
-SYMATTR InstName M10
-SYMATTR Value N-ELOW
-SYMBOL nmos -544 672 R0
-SYMATTR InstName M11
-SYMATTR Value N-ELOW
-SYMBOL nmos -224 288 R0
-SYMATTR InstName M12
-SYMATTR Value N-ENH
-SYMBOL nmos -224 480 R0
-SYMATTR InstName M13
-SYMATTR Value N-ELOW
-SYMBOL nmos -224 672 R0
-SYMATTR InstName M14
-SYMATTR Value N-ELOW
-SYMBOL nmos 96 288 R0
-SYMATTR InstName M15
-SYMATTR Value N-ENH
-SYMBOL nmos 96 480 R0
-SYMATTR InstName M16
-SYMATTR Value N-ENH
-SYMBOL voltage -688 -448 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -688 864 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL standard_inverter -768 -192 R0
-SYMATTR InstName X1
-SYMBOL standard_inverter -768 512 R0
-SYMATTR InstName X2
-SYMBOL nmos 480 -160 R0
-SYMATTR InstName M17
-SYMATTR Value N-ELOW
-SYMBOL nmos 800 288 R0
-SYMATTR InstName M18
-SYMATTR Value N-DLOW
-SYMBOL pmos 480 32 R0
-SYMATTR InstName M20
-SYMATTR Value P-ELOW
-SYMBOL pmos 800 32 R0
-SYMATTR InstName M21
-SYMATTR Value P-DLOW
-SYMBOL nmos 800 -160 R0
-SYMATTR InstName M23
-SYMATTR Value N-DLOW
-SYMBOL pmos 800 480 R0
-SYMATTR InstName M24
-SYMATTR Value P-DLOW
-SYMBOL nmos 480 288 R0
-SYMATTR InstName M25
-SYMATTR Value N-ELOW
-SYMBOL pmos 480 480 R0
-SYMATTR InstName M26
-SYMATTR Value P-ELOW
-SYMBOL nmos 1120 -160 R0
-SYMATTR InstName M19
-SYMATTR Value N-DLOW
-SYMBOL nmos 1120 288 R0
-SYMATTR InstName M22
-SYMATTR Value N-DLOW
-SYMBOL pmos 1120 32 R0
-SYMATTR InstName M27
-SYMATTR Value P-DLOW
-SYMBOL pmos 1120 480 R0
-SYMATTR InstName M28
-SYMATTR Value P-DLOW
-SYMBOL nmos 1440 -160 R0
-SYMATTR InstName M29
-SYMATTR Value N-ELOW
-SYMBOL pmos 1440 32 R0
-SYMATTR InstName M30
-SYMATTR Value P-ELOW
-SYMBOL nmos 1440 288 R0
-SYMATTR InstName M31
-SYMATTR Value N-ELOW
-SYMBOL pmos 1440 480 R0
-SYMATTR InstName M32
-SYMATTR Value P-ELOW
-TEXT -976 -336 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 1744 948
+WIRE -784 -448 -816 -448
+WIRE -496 -448 -704 -448
+WIRE -176 -448 -496 -448
+WIRE 144 -448 -176 -448
+WIRE -816 -416 -816 -448
+WIRE -496 -352 -496 -448
+WIRE -176 -352 -176 -448
+WIRE -544 -336 -688 -336
+WIRE -224 -336 -272 -336
+WIRE 528 -304 320 -304
+WIRE 848 -304 528 -304
+WIRE 1488 -304 848 -304
+WIRE 1664 -304 1488 -304
+WIRE -688 -224 -688 -336
+WIRE -272 -224 -272 -336
+WIRE -272 -224 -688 -224
+WIRE 1168 -224 960 -224
+WIRE -320 -176 -592 -176
+WIRE 368 -176 -320 -176
+WIRE -496 -160 -496 -256
+WIRE -176 -160 -176 -256
+WIRE 144 -160 144 -448
+WIRE 528 -160 528 -304
+WIRE 848 -160 848 -304
+WIRE 1168 -160 1168 -224
+WIRE 1488 -160 1488 -304
+WIRE -912 -144 -1024 -144
+WIRE -816 -144 -912 -144
+WIRE -592 -144 -592 -176
+WIRE -592 -144 -704 -144
+WIRE -544 -144 -592 -144
+WIRE -320 -144 -320 -176
+WIRE -224 -144 -320 -144
+WIRE 96 -144 32 -144
+WIRE 480 -80 432 -80
+WIRE 800 -80 752 -80
+WIRE 1120 -80 1072 -80
+WIRE 1440 -80 1376 -80
+WIRE -912 -48 -912 -144
+WIRE -368 -48 -912 -48
+WIRE 32 -48 32 -144
+WIRE 32 -48 -368 -48
+WIRE 432 -48 432 -80
+WIRE 432 -48 32 -48
+WIRE 752 -48 752 -80
+WIRE 752 -48 432 -48
+WIRE 1296 -48 752 -48
+WIRE -32 16 -640 16
+WIRE -496 32 -496 -64
+WIRE -176 32 -176 -64
+WIRE 144 32 144 -64
+WIRE 528 32 528 -64
+WIRE 848 32 848 -64
+WIRE 1168 32 1168 -64
+WIRE 1488 32 1488 -64
+WIRE -640 48 -640 16
+WIRE -640 48 -848 48
+WIRE -544 48 -640 48
+WIRE -368 48 -368 -48
+WIRE -224 48 -368 48
+WIRE -32 48 -32 16
+WIRE 96 48 -32 48
+WIRE 480 112 432 112
+WIRE 752 112 752 -48
+WIRE 800 112 752 112
+WIRE 1072 112 1072 -80
+WIRE 1120 112 1072 112
+WIRE 1296 112 1296 -48
+WIRE 1440 112 1296 112
+WIRE 432 192 432 112
+WIRE 704 192 432 192
+WIRE 1376 192 1376 -80
+WIRE 1376 192 704 192
+WIRE -496 208 -496 128
+WIRE -176 208 -176 128
+WIRE -176 208 -496 208
+WIRE 144 208 144 128
+WIRE 144 208 -176 208
+WIRE 320 208 320 -304
+WIRE 320 208 144 208
+WIRE 1072 272 1072 112
+WIRE 1072 272 320 272
+WIRE 1376 272 1072 272
+WIRE -496 288 -496 208
+WIRE -176 288 -176 208
+WIRE 144 288 144 208
+WIRE 528 288 528 128
+WIRE 848 288 848 128
+WIRE 1168 288 1168 128
+WIRE 1488 288 1488 128
+WIRE -592 368 -592 -144
+WIRE -544 368 -592 368
+WIRE -224 368 -272 368
+WIRE 96 368 -32 368
+WIRE 320 368 320 272
+WIRE 480 368 320 368
+WIRE 704 368 704 192
+WIRE 800 368 704 368
+WIRE 1120 368 1072 368
+WIRE 1440 368 1296 368
+WIRE -688 400 -688 -224
+WIRE -272 400 -272 368
+WIRE -272 400 -688 400
+WIRE 320 400 320 368
+WIRE 320 400 -272 400
+WIRE -592 464 -592 368
+WIRE -320 464 -592 464
+WIRE 368 464 368 -176
+WIRE 1072 464 1072 368
+WIRE 1072 464 368 464
+WIRE 1296 464 1296 368
+WIRE 1296 464 1072 464
+WIRE -496 480 -496 384
+WIRE -176 480 -176 384
+WIRE 144 480 144 384
+WIRE 528 480 528 384
+WIRE 848 480 848 384
+WIRE 1168 480 1168 384
+WIRE 1488 480 1488 384
+WIRE -848 560 -848 48
+WIRE -848 560 -1024 560
+WIRE -816 560 -848 560
+WIRE -688 560 -688 400
+WIRE -688 560 -704 560
+WIRE -544 560 -688 560
+WIRE -320 560 -320 464
+WIRE -224 560 -320 560
+WIRE 96 560 32 560
+WIRE 368 560 368 464
+WIRE 480 560 368 560
+WIRE 704 560 704 368
+WIRE 800 560 704 560
+WIRE 1072 560 1072 464
+WIRE 1120 560 1072 560
+WIRE 1376 560 1376 272
+WIRE 1440 560 1376 560
+WIRE -912 592 -912 -48
+WIRE -368 592 -912 592
+WIRE 32 592 32 560
+WIRE 32 592 -368 592
+WIRE 528 640 528 576
+WIRE 848 640 848 576
+WIRE 960 640 960 -224
+WIRE 960 640 848 640
+WIRE 1168 640 1168 576
+WIRE 1488 640 1488 576
+WIRE -848 656 -848 560
+WIRE -640 656 -848 656
+WIRE -32 656 -32 368
+WIRE -32 656 -640 656
+WIRE 432 656 432 192
+WIRE 432 656 -32 656
+WIRE -496 672 -496 576
+WIRE -176 672 -176 576
+WIRE -640 752 -640 656
+WIRE -544 752 -640 752
+WIRE -368 752 -368 592
+WIRE -224 752 -368 752
+WIRE -784 864 -816 864
+WIRE -496 864 -496 768
+WIRE -496 864 -704 864
+WIRE -176 864 -176 768
+WIRE -176 864 -496 864
+WIRE 144 864 144 576
+WIRE 144 864 -176 864
+WIRE -816 896 -816 864
+FLAG -816 -416 0
+FLAG -816 896 0
+FLAG 528 640 0
+FLAG 1168 640 0
+FLAG 1488 640 0
+FLAG -1024 -144 A
+IOPIN -1024 -144 In
+FLAG -1024 560 B
+IOPIN -1024 560 In
+FLAG 1664 -304 Y
+IOPIN 1664 -304 Out
+SYMBOL pmos -544 -256 M180
+SYMATTR InstName M1
+SYMATTR Value P-ELOW
+SYMBOL pmos -544 -64 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos -544 128 M180
+SYMATTR InstName M3
+SYMATTR Value P-ELOW
+SYMBOL pmos -224 -256 M180
+SYMATTR InstName M4
+SYMATTR Value P-ENH
+SYMBOL pmos -224 -64 M180
+SYMATTR InstName M5
+SYMATTR Value P-ELOW
+SYMBOL pmos 96 -64 M180
+SYMATTR InstName M6
+SYMATTR Value P-ENH
+SYMBOL pmos -224 128 M180
+SYMATTR InstName M7
+SYMATTR Value P-ELOW
+SYMBOL pmos 96 128 M180
+SYMATTR InstName M8
+SYMATTR Value P-ENH
+SYMBOL nmos -544 288 R0
+SYMATTR InstName M9
+SYMATTR Value N-ENH
+SYMBOL nmos -544 480 R0
+SYMATTR InstName M10
+SYMATTR Value N-ELOW
+SYMBOL nmos -544 672 R0
+SYMATTR InstName M11
+SYMATTR Value N-ELOW
+SYMBOL nmos -224 288 R0
+SYMATTR InstName M12
+SYMATTR Value N-ENH
+SYMBOL nmos -224 480 R0
+SYMATTR InstName M13
+SYMATTR Value N-ELOW
+SYMBOL nmos -224 672 R0
+SYMATTR InstName M14
+SYMATTR Value N-ELOW
+SYMBOL nmos 96 288 R0
+SYMATTR InstName M15
+SYMATTR Value N-ENH
+SYMBOL nmos 96 480 R0
+SYMATTR InstName M16
+SYMATTR Value N-ENH
+SYMBOL voltage -688 -448 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -688 864 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL standard_inverter -768 -192 R0
+SYMATTR InstName X1
+SYMBOL standard_inverter -768 512 R0
+SYMATTR InstName X2
+SYMBOL nmos 480 -160 R0
+SYMATTR InstName M17
+SYMATTR Value N-ELOW
+SYMBOL nmos 800 288 R0
+SYMATTR InstName M18
+SYMATTR Value N-DLOW
+SYMBOL pmos 480 32 R0
+SYMATTR InstName M20
+SYMATTR Value P-ELOW
+SYMBOL pmos 800 32 R0
+SYMATTR InstName M21
+SYMATTR Value P-DLOW
+SYMBOL nmos 800 -160 R0
+SYMATTR InstName M23
+SYMATTR Value N-DLOW
+SYMBOL pmos 800 480 R0
+SYMATTR InstName M24
+SYMATTR Value P-DLOW
+SYMBOL nmos 480 288 R0
+SYMATTR InstName M25
+SYMATTR Value N-ELOW
+SYMBOL pmos 480 480 R0
+SYMATTR InstName M26
+SYMATTR Value P-ELOW
+SYMBOL nmos 1120 -160 R0
+SYMATTR InstName M19
+SYMATTR Value N-DLOW
+SYMBOL nmos 1120 288 R0
+SYMATTR InstName M22
+SYMATTR Value N-DLOW
+SYMBOL pmos 1120 32 R0
+SYMATTR InstName M27
+SYMATTR Value P-DLOW
+SYMBOL pmos 1120 480 R0
+SYMATTR InstName M28
+SYMATTR Value P-DLOW
+SYMBOL nmos 1440 -160 R0
+SYMATTR InstName M29
+SYMATTR Value N-ELOW
+SYMBOL pmos 1440 32 R0
+SYMATTR InstName M30
+SYMATTR Value P-ELOW
+SYMBOL nmos 1440 288 R0
+SYMATTR InstName M31
+SYMATTR Value N-ELOW
+SYMBOL pmos 1440 480 R0
+SYMATTR InstName M32
+SYMATTR Value P-ELOW
+TEXT -976 -336 Left 0 !.inc ./custom.mos
diff --git a/CMOS/sum.asy b/CMOS/sum.asy
index 3ad5226..4330c6e 100644
--- a/CMOS/sum.asy
+++ b/CMOS/sum.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 SUM
-SYMATTR Description SUM gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 SUM
+SYMATTR Description SUM gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3
diff --git a/CMOS/xor.asc b/CMOS/xor.asc
index be464c6..a826306 100644
--- a/CMOS/xor.asc
+++ b/CMOS/xor.asc
@@ -1,175 +1,175 @@
-Version 4
-SHEET 1 1472 724
-WIRE -432 -224 -480 -224
-WIRE -80 -224 -352 -224
-WIRE 176 -224 -80 -224
-WIRE -480 -192 -480 -224
-WIRE -80 -160 -80 -224
-WIRE 176 -160 176 -224
-WIRE -128 -144 -176 -144
-WIRE 128 -144 80 -144
-WIRE 464 -112 272 -112
-WIRE 1008 -112 464 -112
-WIRE 1392 -112 1008 -112
-WIRE -176 -48 -176 -144
-WIRE -176 -48 -480 -48
-WIRE 16 -48 -176 -48
-WIRE 368 -48 16 -48
-WIRE 736 -48 576 -48
-WIRE 1280 -48 1120 -48
-WIRE 80 0 80 -144
-WIRE 80 0 -272 0
-WIRE 640 0 80 0
-WIRE -80 32 -80 -64
-WIRE 176 32 176 -64
-WIRE 464 32 464 -112
-WIRE 736 32 736 -48
-WIRE 1008 32 1008 -112
-WIRE 1280 32 1280 -48
-WIRE -480 48 -480 -48
-WIRE -480 48 -560 48
-WIRE -432 48 -480 48
-WIRE -272 48 -272 0
-WIRE -272 48 -320 48
-WIRE -128 48 -224 48
-WIRE 128 48 80 48
-WIRE 368 112 368 -48
-WIRE 416 112 368 112
-WIRE 640 112 640 0
-WIRE 688 112 640 112
-WIRE 960 112 912 112
-WIRE 1232 112 1184 112
-WIRE -272 208 -272 48
-WIRE -176 208 -272 208
-WIRE -80 208 -80 128
-WIRE 176 208 176 128
-WIRE 176 208 -80 208
-WIRE 272 208 272 -112
-WIRE 272 208 176 208
-WIRE -80 288 -80 208
-WIRE 176 288 176 208
-WIRE 464 288 464 128
-WIRE 736 288 736 128
-WIRE 1008 288 1008 128
-WIRE 1280 288 1280 128
-WIRE -480 368 -560 368
-WIRE -432 368 -480 368
-WIRE -224 368 -224 48
-WIRE -224 368 -320 368
-WIRE -176 368 -176 208
-WIRE -128 368 -176 368
-WIRE 80 368 80 48
-WIRE 128 368 80 368
-WIRE 368 368 368 112
-WIRE 416 368 368 368
-WIRE 640 368 640 112
-WIRE 688 368 640 368
-WIRE 912 368 912 112
-WIRE 960 368 912 368
-WIRE 1184 368 1184 112
-WIRE 1232 368 1184 368
-WIRE 464 416 464 384
-WIRE 576 416 576 -48
-WIRE 576 416 464 416
-WIRE 1008 416 1008 384
-WIRE 1120 416 1120 -48
-WIRE 1120 416 1008 416
-WIRE -480 464 -480 368
-WIRE 80 464 80 368
-WIRE 80 464 -480 464
-WIRE 912 464 912 368
-WIRE 912 464 80 464
-WIRE -80 480 -80 384
-WIRE 176 480 176 384
-WIRE 736 512 736 384
-WIRE 1280 512 1280 384
-WIRE -224 560 -224 368
-WIRE -128 560 -224 560
-WIRE 16 560 16 -48
-WIRE 128 560 16 560
-WIRE -224 608 -224 560
-WIRE 1184 608 1184 368
-WIRE 1184 608 -224 608
-WIRE -432 640 -480 640
-WIRE -80 640 -80 576
-WIRE -80 640 -352 640
-WIRE 176 640 176 576
-WIRE 176 640 -80 640
-WIRE -480 672 -480 640
-FLAG -480 -192 0
-FLAG -480 672 0
-FLAG 736 512 0
-FLAG 1280 512 0
-FLAG -560 48 A
-IOPIN -560 48 In
-FLAG -560 368 B
-IOPIN -560 368 In
-FLAG 1392 -112 Y
-IOPIN 1392 -112 Out
-SYMBOL pmos -128 -64 M180
-SYMATTR InstName M1
-SYMATTR Value P-ENH
-SYMBOL pmos -128 128 M180
-SYMATTR InstName M2
-SYMATTR Value P-ENH
-SYMBOL pmos 128 -64 M180
-SYMATTR InstName M3
-SYMATTR Value P-ENH
-SYMBOL pmos 128 128 M180
-SYMATTR InstName M4
-SYMATTR Value P-ENH
-SYMBOL nmos -128 288 R0
-SYMATTR InstName M5
-SYMATTR Value N-ENH
-SYMBOL nmos -128 480 R0
-SYMATTR InstName M6
-SYMATTR Value N-ENH
-SYMBOL nmos 128 288 R0
-SYMATTR InstName M7
-SYMATTR Value N-ENH
-SYMBOL nmos 128 480 R0
-SYMATTR InstName M8
-SYMATTR Value N-ENH
-SYMBOL voltage -336 -224 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V1
-SYMATTR Value 1
-SYMBOL voltage -336 640 R90
-WINDOW 0 -32 56 VBottom 0
-WINDOW 3 32 56 VTop 0
-WINDOW 123 0 0 Left 0
-WINDOW 39 0 0 Left 0
-SYMATTR InstName V2
-SYMATTR Value -1
-SYMBOL nmos 688 32 R0
-SYMATTR InstName M9
-SYMATTR Value N-DLOW
-SYMBOL nmos 416 32 R0
-SYMATTR InstName M10
-SYMATTR Value N-DLOW
-SYMBOL pmos 416 288 R0
-SYMATTR InstName M11
-SYMATTR Value P-DLOW
-SYMBOL pmos 688 288 R0
-SYMATTR InstName M12
-SYMATTR Value P-DLOW
-SYMBOL standard_inverter -384 0 R0
-SYMATTR InstName X1
-SYMBOL standard_inverter -384 320 R0
-SYMATTR InstName X2
-SYMBOL nmos 960 32 R0
-SYMATTR InstName M13
-SYMATTR Value N-DLOW
-SYMBOL nmos 1232 32 R0
-SYMATTR InstName M14
-SYMATTR Value N-DLOW
-SYMBOL pmos 960 288 R0
-SYMATTR InstName M15
-SYMATTR Value P-DLOW
-SYMBOL pmos 1232 288 R0
-SYMATTR InstName M16
-SYMATTR Value P-DLOW
-TEXT -64 -296 Left 0 !.inc ./custom.mos
+Version 4
+SHEET 1 1472 724
+WIRE -432 -224 -480 -224
+WIRE -80 -224 -352 -224
+WIRE 176 -224 -80 -224
+WIRE -480 -192 -480 -224
+WIRE -80 -160 -80 -224
+WIRE 176 -160 176 -224
+WIRE -128 -144 -176 -144
+WIRE 128 -144 80 -144
+WIRE 464 -112 272 -112
+WIRE 1008 -112 464 -112
+WIRE 1392 -112 1008 -112
+WIRE -176 -48 -176 -144
+WIRE -176 -48 -480 -48
+WIRE 16 -48 -176 -48
+WIRE 368 -48 16 -48
+WIRE 736 -48 576 -48
+WIRE 1280 -48 1120 -48
+WIRE 80 0 80 -144
+WIRE 80 0 -272 0
+WIRE 640 0 80 0
+WIRE -80 32 -80 -64
+WIRE 176 32 176 -64
+WIRE 464 32 464 -112
+WIRE 736 32 736 -48
+WIRE 1008 32 1008 -112
+WIRE 1280 32 1280 -48
+WIRE -480 48 -480 -48
+WIRE -480 48 -560 48
+WIRE -432 48 -480 48
+WIRE -272 48 -272 0
+WIRE -272 48 -320 48
+WIRE -128 48 -224 48
+WIRE 128 48 80 48
+WIRE 368 112 368 -48
+WIRE 416 112 368 112
+WIRE 640 112 640 0
+WIRE 688 112 640 112
+WIRE 960 112 912 112
+WIRE 1232 112 1184 112
+WIRE -272 208 -272 48
+WIRE -176 208 -272 208
+WIRE -80 208 -80 128
+WIRE 176 208 176 128
+WIRE 176 208 -80 208
+WIRE 272 208 272 -112
+WIRE 272 208 176 208
+WIRE -80 288 -80 208
+WIRE 176 288 176 208
+WIRE 464 288 464 128
+WIRE 736 288 736 128
+WIRE 1008 288 1008 128
+WIRE 1280 288 1280 128
+WIRE -480 368 -560 368
+WIRE -432 368 -480 368
+WIRE -224 368 -224 48
+WIRE -224 368 -320 368
+WIRE -176 368 -176 208
+WIRE -128 368 -176 368
+WIRE 80 368 80 48
+WIRE 128 368 80 368
+WIRE 368 368 368 112
+WIRE 416 368 368 368
+WIRE 640 368 640 112
+WIRE 688 368 640 368
+WIRE 912 368 912 112
+WIRE 960 368 912 368
+WIRE 1184 368 1184 112
+WIRE 1232 368 1184 368
+WIRE 464 416 464 384
+WIRE 576 416 576 -48
+WIRE 576 416 464 416
+WIRE 1008 416 1008 384
+WIRE 1120 416 1120 -48
+WIRE 1120 416 1008 416
+WIRE -480 464 -480 368
+WIRE 80 464 80 368
+WIRE 80 464 -480 464
+WIRE 912 464 912 368
+WIRE 912 464 80 464
+WIRE -80 480 -80 384
+WIRE 176 480 176 384
+WIRE 736 512 736 384
+WIRE 1280 512 1280 384
+WIRE -224 560 -224 368
+WIRE -128 560 -224 560
+WIRE 16 560 16 -48
+WIRE 128 560 16 560
+WIRE -224 608 -224 560
+WIRE 1184 608 1184 368
+WIRE 1184 608 -224 608
+WIRE -432 640 -480 640
+WIRE -80 640 -80 576
+WIRE -80 640 -352 640
+WIRE 176 640 176 576
+WIRE 176 640 -80 640
+WIRE -480 672 -480 640
+FLAG -480 -192 0
+FLAG -480 672 0
+FLAG 736 512 0
+FLAG 1280 512 0
+FLAG -560 48 A
+IOPIN -560 48 In
+FLAG -560 368 B
+IOPIN -560 368 In
+FLAG 1392 -112 Y
+IOPIN 1392 -112 Out
+SYMBOL pmos -128 -64 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -128 128 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos 128 -64 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL pmos 128 128 M180
+SYMATTR InstName M4
+SYMATTR Value P-ENH
+SYMBOL nmos -128 288 R0
+SYMATTR InstName M5
+SYMATTR Value N-ENH
+SYMBOL nmos -128 480 R0
+SYMATTR InstName M6
+SYMATTR Value N-ENH
+SYMBOL nmos 128 288 R0
+SYMATTR InstName M7
+SYMATTR Value N-ENH
+SYMBOL nmos 128 480 R0
+SYMATTR InstName M8
+SYMATTR Value N-ENH
+SYMBOL voltage -336 -224 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -336 640 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL nmos 688 32 R0
+SYMATTR InstName M9
+SYMATTR Value N-DLOW
+SYMBOL nmos 416 32 R0
+SYMATTR InstName M10
+SYMATTR Value N-DLOW
+SYMBOL pmos 416 288 R0
+SYMATTR InstName M11
+SYMATTR Value P-DLOW
+SYMBOL pmos 688 288 R0
+SYMATTR InstName M12
+SYMATTR Value P-DLOW
+SYMBOL standard_inverter -384 0 R0
+SYMATTR InstName X1
+SYMBOL standard_inverter -384 320 R0
+SYMATTR InstName X2
+SYMBOL nmos 960 32 R0
+SYMATTR InstName M13
+SYMATTR Value N-DLOW
+SYMBOL nmos 1232 32 R0
+SYMATTR InstName M14
+SYMATTR Value N-DLOW
+SYMBOL pmos 960 288 R0
+SYMATTR InstName M15
+SYMATTR Value P-DLOW
+SYMBOL pmos 1232 288 R0
+SYMATTR InstName M16
+SYMATTR Value P-DLOW
+TEXT -64 -296 Left 0 !.inc ./custom.mos
diff --git a/CMOS/xor.asy b/CMOS/xor.asy
index bdf30a2..c454326 100644
--- a/CMOS/xor.asy
+++ b/CMOS/xor.asy
@@ -1,22 +1,22 @@
-Version 4
-SymbolType CELL
-LINE Normal 48 64 32 64
-LINE Normal 32 64 32 56
-LINE Normal 64 64 48 64
-LINE Normal -32 48 -48 48
-LINE Normal -32 80 -48 80
-LINE Normal 32 32 -32 32
-LINE Normal 32 96 32 32
-LINE Normal -32 96 32 96
-LINE Normal -32 32 -32 96
-TEXT 1 48 Center 0 XOR
-SYMATTR Description XOR gate
-PIN -48 48 NONE 0
-PINATTR PinName A
-PINATTR SpiceOrder 1
-PIN -48 80 NONE 0
-PINATTR PinName B
-PINATTR SpiceOrder 2
-PIN 64 64 NONE 0
-PINATTR PinName Y
-PINATTR SpiceOrder 3
+Version 4
+SymbolType CELL
+LINE Normal 48 64 32 64
+LINE Normal 32 64 32 56
+LINE Normal 64 64 48 64
+LINE Normal -32 48 -48 48
+LINE Normal -32 80 -48 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 96 32 32
+LINE Normal -32 96 32 96
+LINE Normal -32 32 -32 96
+TEXT 1 48 Center 0 XOR
+SYMATTR Description XOR gate
+PIN -48 48 NONE 0
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN -48 80 NONE 0
+PINATTR PinName B
+PINATTR SpiceOrder 2
+PIN 64 64 NONE 0
+PINATTR PinName Y
+PINATTR SpiceOrder 3