From 76682bade38a8b2d58490ddbb80cb627a2b2ad1b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 15 Dec 2016 14:26:29 +1100 Subject: Old uncommitted changes --- RMOS/antimax.asc | 148 ++++++------- RMOS/antimax.asy | 48 ++--- RMOS/antimin.asc | 148 ++++++------- RMOS/antimin.asy | 48 ++--- RMOS/buffer.asc | 24 +-- RMOS/buffer.asy | 34 +-- RMOS/clamp_down.asc | 120 +++++------ RMOS/clamp_down.asy | 40 ++-- RMOS/clamp_up.asc | 120 +++++------ RMOS/clamp_up.asy | 40 ++-- RMOS/consensus.asc | 30 +-- RMOS/consensus.asy | 44 ++-- RMOS/custom.mos | 46 ++--- RMOS/decrement.asc | 118 +++++------ RMOS/decrement.asy | 34 +-- RMOS/equality.asc | 268 ++++++++++++------------ RMOS/equality.asy | 44 ++-- RMOS/gullible.asc | 190 ++++++++--------- RMOS/gullible.asy | 44 ++-- RMOS/increment.asc | 120 +++++------ RMOS/increment.asy | 34 +-- RMOS/inverting_consensus.asc | 134 ++++++------ RMOS/inverting_consensus.asy | 46 ++--- RMOS/is_false.asc | 86 ++++---- RMOS/is_false.asy | 34 +-- RMOS/is_true.asc | 24 +-- RMOS/is_true.asy | 34 +-- RMOS/is_unknown.asc | 120 +++++------ RMOS/is_unknown.asy | 34 +-- RMOS/max.asc | 30 +-- RMOS/max.asy | 44 ++-- RMOS/min.asc | 30 +-- RMOS/min.asy | 44 ++-- RMOS/negative_threshold_inverter.asc | 86 ++++---- RMOS/negative_threshold_inverter.asy | 36 ++-- RMOS/positive_threshold_inverter.asc | 86 ++++---- RMOS/positive_threshold_inverter.asy | 36 ++-- RMOS/standard_inverter.asc | 106 +++++----- RMOS/standard_inverter.asy | 36 ++-- RMOS/sum.asc | 388 +++++++++++++++++------------------ RMOS/sum.asy | 44 ++-- RMOS/xor.asc | 226 ++++++++++---------- RMOS/xor.asy | 44 ++-- 43 files changed, 1745 insertions(+), 1745 deletions(-) (limited to 'RMOS') diff --git a/RMOS/antimax.asc b/RMOS/antimax.asc index 5119b84..0a6c8ee 100644 --- a/RMOS/antimax.asc +++ b/RMOS/antimax.asc @@ -1,74 +1,74 @@ -Version 4 -SHEET 1 880 680 -WIRE -176 -192 -208 -192 -WIRE 176 -192 -96 -192 -WIRE -208 -160 -208 -192 -WIRE 176 -160 176 -192 -WIRE 128 -144 96 -144 -WIRE 176 -32 176 -64 -WIRE 128 -16 -32 -16 -WIRE -32 16 -32 -16 -WIRE -32 16 -176 16 -WIRE 176 192 176 64 -WIRE 480 192 176 192 -WIRE 608 192 480 192 -WIRE 96 208 96 -144 -WIRE 96 208 -176 208 -WIRE 480 224 480 192 -WIRE 176 320 176 192 -WIRE 176 320 64 320 -WIRE 288 320 176 320 -WIRE 64 352 64 320 -WIRE 288 352 288 320 -WIRE 96 368 96 208 -WIRE 192 368 96 368 -WIRE 480 368 480 304 -WIRE -32 432 -32 16 -WIRE 16 432 -32 432 -WIRE 192 432 192 368 -WIRE 240 432 192 432 -WIRE -176 480 -208 480 -WIRE 64 480 64 448 -WIRE 64 480 -96 480 -WIRE 288 480 288 448 -WIRE 288 480 64 480 -WIRE -208 512 -208 480 -FLAG -208 -160 0 -FLAG 480 368 0 -FLAG -208 512 0 -FLAG -176 16 A -IOPIN -176 16 In -FLAG -176 208 B -IOPIN -176 208 In -FLAG 608 192 Y -IOPIN 608 192 Out -SYMBOL pmos 128 -64 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL pmos 128 64 M180 -SYMATTR InstName M2 -SYMATTR Value P-ENH -SYMBOL nmos 16 352 R0 -SYMATTR InstName M3 -SYMATTR Value N-ENH -SYMBOL nmos 240 352 R0 -SYMATTR InstName M4 -SYMATTR Value N-ENH -SYMBOL res 464 208 R0 -SYMATTR InstName R2 -SYMATTR Value 12k -SYMBOL voltage -80 -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 -80 480 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 336 -96 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -176 -192 -208 -192 +WIRE 176 -192 -96 -192 +WIRE -208 -160 -208 -192 +WIRE 176 -160 176 -192 +WIRE 128 -144 96 -144 +WIRE 176 -32 176 -64 +WIRE 128 -16 -32 -16 +WIRE -32 16 -32 -16 +WIRE -32 16 -176 16 +WIRE 176 192 176 64 +WIRE 480 192 176 192 +WIRE 608 192 480 192 +WIRE 96 208 96 -144 +WIRE 96 208 -176 208 +WIRE 480 224 480 192 +WIRE 176 320 176 192 +WIRE 176 320 64 320 +WIRE 288 320 176 320 +WIRE 64 352 64 320 +WIRE 288 352 288 320 +WIRE 96 368 96 208 +WIRE 192 368 96 368 +WIRE 480 368 480 304 +WIRE -32 432 -32 16 +WIRE 16 432 -32 432 +WIRE 192 432 192 368 +WIRE 240 432 192 432 +WIRE -176 480 -208 480 +WIRE 64 480 64 448 +WIRE 64 480 -96 480 +WIRE 288 480 288 448 +WIRE 288 480 64 480 +WIRE -208 512 -208 480 +FLAG -208 -160 0 +FLAG 480 368 0 +FLAG -208 512 0 +FLAG -176 16 A +IOPIN -176 16 In +FLAG -176 208 B +IOPIN -176 208 In +FLAG 608 192 Y +IOPIN 608 192 Out +SYMBOL pmos 128 -64 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL pmos 128 64 M180 +SYMATTR InstName M2 +SYMATTR Value P-ENH +SYMBOL nmos 16 352 R0 +SYMATTR InstName M3 +SYMATTR Value N-ENH +SYMBOL nmos 240 352 R0 +SYMATTR InstName M4 +SYMATTR Value N-ENH +SYMBOL res 464 208 R0 +SYMATTR InstName R2 +SYMATTR Value 12k +SYMBOL voltage -80 -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 -80 480 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 336 -96 Left 0 !.inc ./custom.mos diff --git a/RMOS/antimax.asy b/RMOS/antimax.asy index e29234c..8ef0d80 100644 --- a/RMOS/antimax.asy +++ b/RMOS/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/RMOS/antimin.asc b/RMOS/antimin.asc index 6dbf8c8..4647239 100644 --- a/RMOS/antimin.asc +++ b/RMOS/antimin.asc @@ -1,74 +1,74 @@ -Version 4 -SHEET 1 880 680 -WIRE -320 -176 -352 -176 -WIRE -96 -176 -240 -176 -WIRE 176 -176 -96 -176 -WIRE -352 -144 -352 -176 -WIRE -96 -144 -96 -176 -WIRE 176 -144 176 -176 -WIRE -144 -128 -176 -128 -WIRE 128 -128 48 -128 -WIRE 48 -48 48 -128 -WIRE 48 -48 -32 -48 -WIRE -96 -16 -96 -48 -WIRE 48 -16 -96 -16 -WIRE 176 -16 176 -48 -WIRE 176 -16 48 -16 -WIRE -176 48 -176 -128 -WIRE -176 48 -272 48 -WIRE 48 112 48 -16 -WIRE 256 112 48 112 -WIRE 384 112 256 112 -WIRE 256 160 256 112 -WIRE -32 192 -32 -48 -WIRE -32 192 -272 192 -WIRE 48 240 48 112 -WIRE -32 320 -32 192 -WIRE 0 320 -32 320 -WIRE 256 320 256 240 -WIRE 48 368 48 336 -WIRE -176 448 -176 48 -WIRE 0 448 -176 448 -WIRE -320 496 -352 496 -WIRE 48 496 48 464 -WIRE 48 496 -240 496 -WIRE -352 528 -352 496 -FLAG -352 528 0 -FLAG 256 320 0 -FLAG -352 -144 0 -FLAG -272 48 A -IOPIN -272 48 In -FLAG -272 192 B -IOPIN -272 192 In -FLAG 384 112 Y -IOPIN 384 112 Out -SYMBOL pmos -144 -48 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL pmos 128 -48 M180 -SYMATTR InstName M2 -SYMATTR Value P-ENH -SYMBOL nmos 0 240 R0 -SYMATTR InstName M3 -SYMATTR Value N-ENH -SYMBOL nmos 0 368 R0 -SYMATTR InstName M4 -SYMATTR Value N-ENH -SYMBOL res 240 144 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -224 -176 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 -224 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 V4 -SYMATTR Value -1 -TEXT 312 -152 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -320 -176 -352 -176 +WIRE -96 -176 -240 -176 +WIRE 176 -176 -96 -176 +WIRE -352 -144 -352 -176 +WIRE -96 -144 -96 -176 +WIRE 176 -144 176 -176 +WIRE -144 -128 -176 -128 +WIRE 128 -128 48 -128 +WIRE 48 -48 48 -128 +WIRE 48 -48 -32 -48 +WIRE -96 -16 -96 -48 +WIRE 48 -16 -96 -16 +WIRE 176 -16 176 -48 +WIRE 176 -16 48 -16 +WIRE -176 48 -176 -128 +WIRE -176 48 -272 48 +WIRE 48 112 48 -16 +WIRE 256 112 48 112 +WIRE 384 112 256 112 +WIRE 256 160 256 112 +WIRE -32 192 -32 -48 +WIRE -32 192 -272 192 +WIRE 48 240 48 112 +WIRE -32 320 -32 192 +WIRE 0 320 -32 320 +WIRE 256 320 256 240 +WIRE 48 368 48 336 +WIRE -176 448 -176 48 +WIRE 0 448 -176 448 +WIRE -320 496 -352 496 +WIRE 48 496 48 464 +WIRE 48 496 -240 496 +WIRE -352 528 -352 496 +FLAG -352 528 0 +FLAG 256 320 0 +FLAG -352 -144 0 +FLAG -272 48 A +IOPIN -272 48 In +FLAG -272 192 B +IOPIN -272 192 In +FLAG 384 112 Y +IOPIN 384 112 Out +SYMBOL pmos -144 -48 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL pmos 128 -48 M180 +SYMATTR InstName M2 +SYMATTR Value P-ENH +SYMBOL nmos 0 240 R0 +SYMATTR InstName M3 +SYMATTR Value N-ENH +SYMBOL nmos 0 368 R0 +SYMATTR InstName M4 +SYMATTR Value N-ENH +SYMBOL res 240 144 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -224 -176 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 -224 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 V4 +SYMATTR Value -1 +TEXT 312 -152 Left 0 !.inc ./custom.mos diff --git a/RMOS/antimin.asy b/RMOS/antimin.asy index 1b33509..2e9850b 100644 --- a/RMOS/antimin.asy +++ b/RMOS/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/RMOS/buffer.asc b/RMOS/buffer.asc index 56e5566..c390ea3 100644 --- a/RMOS/buffer.asc +++ b/RMOS/buffer.asc @@ -1,12 +1,12 @@ -Version 4 -SHEET 1 880 680 -WIRE 80 144 48 144 -WIRE 336 144 304 144 -FLAG 48 144 A -IOPIN 48 144 In -FLAG 336 144 Y -IOPIN 336 144 Out -SYMBOL .\\standard_inverter 128 96 R0 -SYMATTR InstName X1 -SYMBOL .\\standard_inverter 240 96 R0 -SYMATTR InstName X2 +Version 4 +SHEET 1 880 680 +WIRE 80 144 48 144 +WIRE 336 144 304 144 +FLAG 48 144 A +IOPIN 48 144 In +FLAG 336 144 Y +IOPIN 336 144 Out +SYMBOL .\\standard_inverter 128 96 R0 +SYMATTR InstName X1 +SYMBOL .\\standard_inverter 240 96 R0 +SYMATTR InstName X2 diff --git a/RMOS/buffer.asy b/RMOS/buffer.asy index e92d13d..a659405 100644 --- a/RMOS/buffer.asy +++ b/RMOS/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/RMOS/clamp_down.asc b/RMOS/clamp_down.asc index a2ea7fc..b972fb3 100644 --- a/RMOS/clamp_down.asc +++ b/RMOS/clamp_down.asc @@ -1,60 +1,60 @@ -Version 4 -SHEET 1 880 680 -WIRE -176 -112 -208 -112 -WIRE 48 -112 -96 -112 -WIRE 320 -112 272 -112 -WIRE -208 -80 -208 -112 -WIRE 48 -80 48 -112 -WIRE 272 -80 272 -112 -WIRE 0 -64 -64 -64 -WIRE 320 -64 320 -112 -WIRE -64 80 -64 -64 -WIRE -64 80 -176 80 -WIRE 48 80 48 16 -WIRE 208 80 48 80 -WIRE 320 80 320 16 -WIRE 496 80 320 80 -WIRE 48 144 48 80 -WIRE 320 144 320 80 -WIRE 208 224 208 80 -WIRE 272 224 208 224 -WIRE 48 272 48 224 -WIRE -176 336 -208 336 -WIRE 320 336 320 240 -WIRE 320 336 -96 336 -WIRE -208 368 -208 336 -FLAG 272 -80 0 -FLAG 48 272 0 -FLAG -208 -80 0 -FLAG -208 368 0 -FLAG -176 80 A -IOPIN -176 80 In -FLAG 496 80 Y -IOPIN 496 80 Out -SYMBOL pmos 0 16 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL res 32 128 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL nmos 272 144 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL res 304 -80 R0 -SYMATTR InstName R2 -SYMATTR Value 12k -SYMBOL voltage -80 -112 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 -80 336 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 80 384 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -176 -112 -208 -112 +WIRE 48 -112 -96 -112 +WIRE 320 -112 272 -112 +WIRE -208 -80 -208 -112 +WIRE 48 -80 48 -112 +WIRE 272 -80 272 -112 +WIRE 0 -64 -64 -64 +WIRE 320 -64 320 -112 +WIRE -64 80 -64 -64 +WIRE -64 80 -176 80 +WIRE 48 80 48 16 +WIRE 208 80 48 80 +WIRE 320 80 320 16 +WIRE 496 80 320 80 +WIRE 48 144 48 80 +WIRE 320 144 320 80 +WIRE 208 224 208 80 +WIRE 272 224 208 224 +WIRE 48 272 48 224 +WIRE -176 336 -208 336 +WIRE 320 336 320 240 +WIRE 320 336 -96 336 +WIRE -208 368 -208 336 +FLAG 272 -80 0 +FLAG 48 272 0 +FLAG -208 -80 0 +FLAG -208 368 0 +FLAG -176 80 A +IOPIN -176 80 In +FLAG 496 80 Y +IOPIN 496 80 Out +SYMBOL pmos 0 16 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL res 32 128 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL nmos 272 144 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL res 304 -80 R0 +SYMATTR InstName R2 +SYMATTR Value 12k +SYMBOL voltage -80 -112 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 -80 336 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 80 384 Left 0 !.inc ./custom.mos diff --git a/RMOS/clamp_down.asy b/RMOS/clamp_down.asy index 3fccbd7..cc88457 100644 --- a/RMOS/clamp_down.asy +++ b/RMOS/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/RMOS/clamp_up.asc b/RMOS/clamp_up.asc index 4b811f0..83d7600 100644 --- a/RMOS/clamp_up.asc +++ b/RMOS/clamp_up.asc @@ -1,60 +1,60 @@ -Version 4 -SHEET 1 880 680 -WIRE -128 -192 -160 -192 -WIRE 320 -192 -48 -192 -WIRE -160 -160 -160 -192 -WIRE 80 -144 32 -144 -WIRE 32 -112 32 -144 -WIRE 320 -112 320 -192 -WIRE 80 -96 80 -144 -WIRE 272 -96 224 -96 -WIRE -16 64 -128 64 -WIRE 80 64 80 -16 -WIRE 224 64 224 -96 -WIRE 224 64 80 64 -WIRE 320 64 320 -16 -WIRE 448 64 320 64 -WIRE 80 144 80 64 -WIRE 320 144 320 64 -WIRE -16 224 -16 64 -WIRE 32 224 -16 224 -WIRE -128 288 -160 288 -WIRE 80 288 80 240 -WIRE 80 288 -48 288 -WIRE 320 288 320 224 -WIRE -160 320 -160 288 -FLAG -160 320 0 -FLAG 32 -112 0 -FLAG -160 -160 0 -FLAG 320 288 0 -FLAG -128 64 A -IOPIN -128 64 In -FLAG 448 64 Y -IOPIN 448 64 Out -SYMBOL nmos 32 144 R0 -SYMATTR InstName M1 -SYMATTR Value N-ENH -SYMBOL res 64 -112 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -32 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 V2 -SYMATTR Value -1 -SYMBOL pmos 272 -16 M180 -SYMATTR InstName M3 -SYMATTR Value P-ENH -SYMBOL voltage -32 -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 res 304 128 R0 -SYMATTR InstName R2 -SYMATTR Value 12k -TEXT -312 -80 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -128 -192 -160 -192 +WIRE 320 -192 -48 -192 +WIRE -160 -160 -160 -192 +WIRE 80 -144 32 -144 +WIRE 32 -112 32 -144 +WIRE 320 -112 320 -192 +WIRE 80 -96 80 -144 +WIRE 272 -96 224 -96 +WIRE -16 64 -128 64 +WIRE 80 64 80 -16 +WIRE 224 64 224 -96 +WIRE 224 64 80 64 +WIRE 320 64 320 -16 +WIRE 448 64 320 64 +WIRE 80 144 80 64 +WIRE 320 144 320 64 +WIRE -16 224 -16 64 +WIRE 32 224 -16 224 +WIRE -128 288 -160 288 +WIRE 80 288 80 240 +WIRE 80 288 -48 288 +WIRE 320 288 320 224 +WIRE -160 320 -160 288 +FLAG -160 320 0 +FLAG 32 -112 0 +FLAG -160 -160 0 +FLAG 320 288 0 +FLAG -128 64 A +IOPIN -128 64 In +FLAG 448 64 Y +IOPIN 448 64 Out +SYMBOL nmos 32 144 R0 +SYMATTR InstName M1 +SYMATTR Value N-ENH +SYMBOL res 64 -112 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -32 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 V2 +SYMATTR Value -1 +SYMBOL pmos 272 -16 M180 +SYMATTR InstName M3 +SYMATTR Value P-ENH +SYMBOL voltage -32 -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 res 304 128 R0 +SYMATTR InstName R2 +SYMATTR Value 12k +TEXT -312 -80 Left 0 !.inc ./custom.mos diff --git a/RMOS/clamp_up.asy b/RMOS/clamp_up.asy index b4ebc93..5504d00 100644 --- a/RMOS/clamp_up.asy +++ b/RMOS/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/RMOS/consensus.asc b/RMOS/consensus.asc index 909aea7..55bb664 100644 --- a/RMOS/consensus.asc +++ b/RMOS/consensus.asc @@ -1,15 +1,15 @@ -Version 4 -SHEET 1 880 680 -WIRE 64 144 32 144 -WIRE 320 160 288 160 -WIRE 64 176 32 176 -FLAG 32 144 A -IOPIN 32 144 In -FLAG 32 176 B -IOPIN 32 176 In -FLAG 320 160 Y -IOPIN 320 160 Out -SYMBOL .\\inverting_consensus 112 96 R0 -SYMATTR InstName X1 -SYMBOL .\\standard_inverter 224 112 R0 -SYMATTR InstName X2 +Version 4 +SHEET 1 880 680 +WIRE 64 144 32 144 +WIRE 320 160 288 160 +WIRE 64 176 32 176 +FLAG 32 144 A +IOPIN 32 144 In +FLAG 32 176 B +IOPIN 32 176 In +FLAG 320 160 Y +IOPIN 320 160 Out +SYMBOL .\\inverting_consensus 112 96 R0 +SYMATTR InstName X1 +SYMBOL .\\standard_inverter 224 112 R0 +SYMATTR InstName X2 diff --git a/RMOS/consensus.asy b/RMOS/consensus.asy index 1201fa4..b7aff7d 100644 --- a/RMOS/consensus.asy +++ b/RMOS/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/RMOS/custom.mos b/RMOS/custom.mos index 9f38457..d63d327 100644 --- a/RMOS/custom.mos +++ b/RMOS/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/RMOS/decrement.asc b/RMOS/decrement.asc index 9ff6525..ade3911 100644 --- a/RMOS/decrement.asc +++ b/RMOS/decrement.asc @@ -1,59 +1,59 @@ -Version 4 -SHEET 1 880 680 -WIRE -192 -192 -224 -192 -WIRE 16 -192 -112 -192 -WIRE -224 -160 -224 -192 -WIRE 16 -128 16 -192 -WIRE -32 -112 -80 -112 -WIRE -80 32 -80 -112 -WIRE -80 32 -192 32 -WIRE 16 32 16 -32 -WIRE 176 32 16 32 -WIRE 304 32 176 32 -WIRE 16 96 16 32 -WIRE 176 96 176 32 -WIRE 16 208 16 176 -WIRE 176 208 176 176 -WIRE -80 288 -80 32 -WIRE -32 288 -80 288 -WIRE 128 288 80 288 -WIRE -192 352 -224 352 -WIRE 176 352 176 304 -WIRE 176 352 -112 352 -WIRE -224 384 -224 352 -FLAG 16 208 0 -FLAG -224 -160 0 -FLAG -224 384 0 -FLAG -192 32 A -IOPIN -192 32 In -FLAG 304 32 Y -IOPIN 304 32 Out -SYMBOL pmos -32 -32 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL nmos 128 208 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL res 0 80 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -96 -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 V2 -SYMATTR Value 1 -SYMBOL res 160 80 R0 -SYMATTR InstName R2 -SYMATTR Value 100 -SYMBOL voltage -96 352 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 .\\positive_threshold_inverter 16 240 R0 -SYMATTR InstName X1 -TEXT 160 -96 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -192 -192 -224 -192 +WIRE 16 -192 -112 -192 +WIRE -224 -160 -224 -192 +WIRE 16 -128 16 -192 +WIRE -32 -112 -80 -112 +WIRE -80 32 -80 -112 +WIRE -80 32 -192 32 +WIRE 16 32 16 -32 +WIRE 176 32 16 32 +WIRE 304 32 176 32 +WIRE 16 96 16 32 +WIRE 176 96 176 32 +WIRE 16 208 16 176 +WIRE 176 208 176 176 +WIRE -80 288 -80 32 +WIRE -32 288 -80 288 +WIRE 128 288 80 288 +WIRE -192 352 -224 352 +WIRE 176 352 176 304 +WIRE 176 352 -112 352 +WIRE -224 384 -224 352 +FLAG 16 208 0 +FLAG -224 -160 0 +FLAG -224 384 0 +FLAG -192 32 A +IOPIN -192 32 In +FLAG 304 32 Y +IOPIN 304 32 Out +SYMBOL pmos -32 -32 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL nmos 128 208 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL res 0 80 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -96 -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 V2 +SYMATTR Value 1 +SYMBOL res 160 80 R0 +SYMATTR InstName R2 +SYMATTR Value 100 +SYMBOL voltage -96 352 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 .\\positive_threshold_inverter 16 240 R0 +SYMATTR InstName X1 +TEXT 160 -96 Left 0 !.inc ./custom.mos diff --git a/RMOS/decrement.asy b/RMOS/decrement.asy index 3e3d8f7..4d5540b 100644 --- a/RMOS/decrement.asy +++ b/RMOS/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/RMOS/equality.asc b/RMOS/equality.asc index 8f265d9..0f70c12 100644 --- a/RMOS/equality.asc +++ b/RMOS/equality.asc @@ -1,134 +1,134 @@ -Version 4 -SHEET 1 880 680 -WIRE 288 -352 208 -352 -WIRE 208 -320 208 -352 -WIRE 288 -304 288 -352 -WIRE 208 -208 208 -240 -WIRE -640 -96 -704 -96 -WIRE -224 -96 -528 -96 -WIRE 96 -96 -128 -96 -WIRE 208 -96 208 -128 -WIRE 208 -96 96 -96 -WIRE 320 -96 208 -96 -WIRE 544 -96 320 -96 -WIRE 704 -96 544 -96 -WIRE 416 -48 -272 -48 -WIRE -128 -32 -128 -96 -WIRE 96 -32 96 -96 -WIRE 320 -32 320 -96 -WIRE 544 -32 544 -96 -WIRE -704 48 -704 -96 -WIRE -704 48 -800 48 -WIRE -640 48 -704 48 -WIRE -480 48 -528 48 -WIRE -416 48 -480 48 -WIRE -272 48 -272 -48 -WIRE -272 48 -304 48 -WIRE -224 48 -224 -96 -WIRE -176 48 -224 48 -WIRE 48 48 0 48 -WIRE 272 48 224 48 -WIRE 496 48 464 48 -WIRE -704 96 -704 48 -WIRE 0 96 0 48 -WIRE 0 96 -704 96 -WIRE -480 144 -480 48 -WIRE 224 144 224 48 -WIRE 224 144 -480 144 -WIRE 464 192 464 48 -WIRE 464 192 -480 192 -WIRE -128 208 -128 64 -WIRE 96 208 96 64 -WIRE 320 208 320 64 -WIRE 544 208 544 64 -WIRE -224 240 -704 240 -WIRE -704 288 -704 240 -WIRE -704 288 -800 288 -WIRE -640 288 -704 288 -WIRE -480 288 -480 192 -WIRE -480 288 -528 288 -WIRE -416 288 -480 288 -WIRE -272 288 -304 288 -WIRE -224 288 -224 240 -WIRE -176 288 -224 288 -WIRE 48 288 0 288 -WIRE 272 288 224 288 -WIRE 416 288 416 -48 -WIRE 496 288 416 288 -WIRE -272 336 -272 288 -WIRE 224 336 224 288 -WIRE 224 336 -272 336 -WIRE -128 384 -128 304 -WIRE 96 384 96 304 -WIRE 96 384 -128 384 -WIRE 208 384 96 384 -WIRE 320 384 320 304 -WIRE 320 384 208 384 -WIRE 544 384 544 304 -WIRE 544 384 320 384 -WIRE -704 432 -704 288 -WIRE -640 432 -704 432 -WIRE 0 432 0 288 -WIRE 0 432 -528 432 -WIRE 208 432 208 384 -WIRE 208 560 208 512 -FLAG 208 560 0 -FLAG 288 -304 0 -FLAG -800 48 A -IOPIN -800 48 In -FLAG -800 288 B -IOPIN -800 288 In -FLAG 704 -96 Y -IOPIN 704 -96 Out -SYMBOL nmos -176 -32 R0 -SYMATTR InstName M1 -SYMATTR Value N-ENH -SYMBOL nmos -176 208 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL nmos 48 208 R0 -SYMATTR InstName M3 -SYMATTR Value N-ENH -SYMBOL nmos 272 208 R0 -SYMATTR InstName M4 -SYMATTR Value N-ENH -SYMBOL nmos 496 208 R0 -SYMATTR InstName M5 -SYMATTR Value N-ENH -SYMBOL nmos 48 -32 R0 -SYMATTR InstName M6 -SYMATTR Value N-ENH -SYMBOL nmos 272 -32 R0 -SYMATTR InstName M7 -SYMATTR Value N-ENH -SYMBOL nmos 496 -32 R0 -SYMATTR InstName M8 -SYMATTR Value N-ENH -SYMBOL res 192 -224 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage 208 416 R0 -WINDOW 123 0 0 Left 0 -WINDOW 39 0 0 Left 0 -SYMATTR InstName V1 -SYMATTR Value -1 -SYMBOL voltage 208 -224 R180 -WINDOW 0 24 104 Left 0 -WINDOW 3 24 16 Left 0 -WINDOW 123 0 0 Left 0 -WINDOW 39 0 0 Left 0 -SYMATTR InstName V2 -SYMATTR Value 1 -SYMBOL .\\positive_threshold_inverter -592 -144 R0 -SYMATTR InstName X1 -SYMBOL .\\positive_threshold_inverter -368 0 R0 -SYMATTR InstName X2 -SYMBOL .\\positive_threshold_inverter -368 240 R0 -SYMATTR InstName X3 -SYMBOL .\\positive_threshold_inverter -592 384 R0 -SYMATTR InstName X4 -SYMBOL .\\negative_threshold_inverter -592 240 R0 -SYMATTR InstName X5 -SYMBOL .\\negative_threshold_inverter -592 0 R0 -SYMATTR InstName X6 -TEXT -224 -200 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE 288 -352 208 -352 +WIRE 208 -320 208 -352 +WIRE 288 -304 288 -352 +WIRE 208 -208 208 -240 +WIRE -640 -96 -704 -96 +WIRE -224 -96 -528 -96 +WIRE 96 -96 -128 -96 +WIRE 208 -96 208 -128 +WIRE 208 -96 96 -96 +WIRE 320 -96 208 -96 +WIRE 544 -96 320 -96 +WIRE 704 -96 544 -96 +WIRE 416 -48 -272 -48 +WIRE -128 -32 -128 -96 +WIRE 96 -32 96 -96 +WIRE 320 -32 320 -96 +WIRE 544 -32 544 -96 +WIRE -704 48 -704 -96 +WIRE -704 48 -800 48 +WIRE -640 48 -704 48 +WIRE -480 48 -528 48 +WIRE -416 48 -480 48 +WIRE -272 48 -272 -48 +WIRE -272 48 -304 48 +WIRE -224 48 -224 -96 +WIRE -176 48 -224 48 +WIRE 48 48 0 48 +WIRE 272 48 224 48 +WIRE 496 48 464 48 +WIRE -704 96 -704 48 +WIRE 0 96 0 48 +WIRE 0 96 -704 96 +WIRE -480 144 -480 48 +WIRE 224 144 224 48 +WIRE 224 144 -480 144 +WIRE 464 192 464 48 +WIRE 464 192 -480 192 +WIRE -128 208 -128 64 +WIRE 96 208 96 64 +WIRE 320 208 320 64 +WIRE 544 208 544 64 +WIRE -224 240 -704 240 +WIRE -704 288 -704 240 +WIRE -704 288 -800 288 +WIRE -640 288 -704 288 +WIRE -480 288 -480 192 +WIRE -480 288 -528 288 +WIRE -416 288 -480 288 +WIRE -272 288 -304 288 +WIRE -224 288 -224 240 +WIRE -176 288 -224 288 +WIRE 48 288 0 288 +WIRE 272 288 224 288 +WIRE 416 288 416 -48 +WIRE 496 288 416 288 +WIRE -272 336 -272 288 +WIRE 224 336 224 288 +WIRE 224 336 -272 336 +WIRE -128 384 -128 304 +WIRE 96 384 96 304 +WIRE 96 384 -128 384 +WIRE 208 384 96 384 +WIRE 320 384 320 304 +WIRE 320 384 208 384 +WIRE 544 384 544 304 +WIRE 544 384 320 384 +WIRE -704 432 -704 288 +WIRE -640 432 -704 432 +WIRE 0 432 0 288 +WIRE 0 432 -528 432 +WIRE 208 432 208 384 +WIRE 208 560 208 512 +FLAG 208 560 0 +FLAG 288 -304 0 +FLAG -800 48 A +IOPIN -800 48 In +FLAG -800 288 B +IOPIN -800 288 In +FLAG 704 -96 Y +IOPIN 704 -96 Out +SYMBOL nmos -176 -32 R0 +SYMATTR InstName M1 +SYMATTR Value N-ENH +SYMBOL nmos -176 208 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL nmos 48 208 R0 +SYMATTR InstName M3 +SYMATTR Value N-ENH +SYMBOL nmos 272 208 R0 +SYMATTR InstName M4 +SYMATTR Value N-ENH +SYMBOL nmos 496 208 R0 +SYMATTR InstName M5 +SYMATTR Value N-ENH +SYMBOL nmos 48 -32 R0 +SYMATTR InstName M6 +SYMATTR Value N-ENH +SYMBOL nmos 272 -32 R0 +SYMATTR InstName M7 +SYMATTR Value N-ENH +SYMBOL nmos 496 -32 R0 +SYMATTR InstName M8 +SYMATTR Value N-ENH +SYMBOL res 192 -224 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage 208 416 R0 +WINDOW 123 0 0 Left 0 +WINDOW 39 0 0 Left 0 +SYMATTR InstName V1 +SYMATTR Value -1 +SYMBOL voltage 208 -224 R180 +WINDOW 0 24 104 Left 0 +WINDOW 3 24 16 Left 0 +WINDOW 123 0 0 Left 0 +WINDOW 39 0 0 Left 0 +SYMATTR InstName V2 +SYMATTR Value 1 +SYMBOL .\\positive_threshold_inverter -592 -144 R0 +SYMATTR InstName X1 +SYMBOL .\\positive_threshold_inverter -368 0 R0 +SYMATTR InstName X2 +SYMBOL .\\positive_threshold_inverter -368 240 R0 +SYMATTR InstName X3 +SYMBOL .\\positive_threshold_inverter -592 384 R0 +SYMATTR InstName X4 +SYMBOL .\\negative_threshold_inverter -592 240 R0 +SYMATTR InstName X5 +SYMBOL .\\negative_threshold_inverter -592 0 R0 +SYMATTR InstName X6 +TEXT -224 -200 Left 0 !.inc ./custom.mos diff --git a/RMOS/equality.asy b/RMOS/equality.asy index c6470ce..14fb10a 100644 --- a/RMOS/equality.asy +++ b/RMOS/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/RMOS/gullible.asc b/RMOS/gullible.asc index 04ebf33..3e15cfc 100644 --- a/RMOS/gullible.asc +++ b/RMOS/gullible.asc @@ -1,95 +1,95 @@ -Version 4 -SHEET 1 880 680 -WIRE -176 -288 -208 -288 -WIRE 32 -288 -96 -288 -WIRE -208 -256 -208 -288 -WIRE 32 -224 32 -288 -WIRE -16 -208 -144 -208 -WIRE -304 -128 -432 -128 -WIRE -144 -128 -144 -208 -WIRE -144 -128 -192 -128 -WIRE 32 -96 32 -128 -WIRE -16 -80 -96 -80 -WIRE -304 0 -368 0 -WIRE -48 0 -192 0 -WIRE 32 32 32 0 -WIRE -432 48 -432 -128 -WIRE -432 48 -496 48 -WIRE 32 128 32 112 -WIRE 208 128 32 128 -WIRE 336 128 208 128 -WIRE 32 144 32 128 -WIRE 208 192 208 128 -WIRE -368 208 -368 0 -WIRE -368 208 -496 208 -WIRE -432 256 -432 48 -WIRE -304 256 -432 256 -WIRE -144 256 -192 256 -WIRE 32 256 32 224 -WIRE 208 320 208 272 -WIRE -144 336 -144 256 -WIRE -16 336 -144 336 -WIRE -368 384 -368 208 -WIRE -304 384 -368 384 -WIRE -96 384 -96 -80 -WIRE -96 384 -192 384 -WIRE 32 384 32 352 -WIRE -48 464 -48 0 -WIRE -16 464 -48 464 -WIRE -176 544 -208 544 -WIRE 32 544 32 480 -WIRE 32 544 -96 544 -WIRE -208 576 -208 544 -FLAG 208 320 0 -FLAG -208 -256 0 -FLAG -208 576 0 -FLAG -496 48 A -IOPIN -496 48 In -FLAG -496 208 B -IOPIN -496 208 In -FLAG 336 128 Y -IOPIN 336 128 Out -SYMBOL nmos -16 256 R0 -SYMATTR InstName M1 -SYMATTR Value N-ENH -SYMBOL nmos -16 384 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL pmos -16 0 M180 -SYMATTR InstName M3 -SYMATTR Value P-ENH -SYMBOL pmos -16 -128 M180 -SYMATTR InstName M4 -SYMATTR Value P-ENH -SYMBOL .\\positive_threshold_inverter -256 -48 R0 -SYMATTR InstName X1 -SYMBOL .\\positive_threshold_inverter -256 208 R0 -SYMATTR InstName X2 -SYMBOL .\\negative_threshold_inverter -256 -176 R0 -SYMATTR InstName X3 -SYMBOL .\\negative_threshold_inverter -256 336 R0 -SYMATTR InstName X4 -SYMBOL res 16 16 R0 -SYMATTR InstName R1 -SYMATTR Value 100 -SYMBOL res 16 128 R0 -SYMATTR InstName R2 -SYMATTR Value 100 -SYMBOL res 192 176 R0 -SYMATTR InstName R3 -SYMATTR Value 12k -SYMBOL voltage -80 -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 -80 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 -424 -192 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -176 -288 -208 -288 +WIRE 32 -288 -96 -288 +WIRE -208 -256 -208 -288 +WIRE 32 -224 32 -288 +WIRE -16 -208 -144 -208 +WIRE -304 -128 -432 -128 +WIRE -144 -128 -144 -208 +WIRE -144 -128 -192 -128 +WIRE 32 -96 32 -128 +WIRE -16 -80 -96 -80 +WIRE -304 0 -368 0 +WIRE -48 0 -192 0 +WIRE 32 32 32 0 +WIRE -432 48 -432 -128 +WIRE -432 48 -496 48 +WIRE 32 128 32 112 +WIRE 208 128 32 128 +WIRE 336 128 208 128 +WIRE 32 144 32 128 +WIRE 208 192 208 128 +WIRE -368 208 -368 0 +WIRE -368 208 -496 208 +WIRE -432 256 -432 48 +WIRE -304 256 -432 256 +WIRE -144 256 -192 256 +WIRE 32 256 32 224 +WIRE 208 320 208 272 +WIRE -144 336 -144 256 +WIRE -16 336 -144 336 +WIRE -368 384 -368 208 +WIRE -304 384 -368 384 +WIRE -96 384 -96 -80 +WIRE -96 384 -192 384 +WIRE 32 384 32 352 +WIRE -48 464 -48 0 +WIRE -16 464 -48 464 +WIRE -176 544 -208 544 +WIRE 32 544 32 480 +WIRE 32 544 -96 544 +WIRE -208 576 -208 544 +FLAG 208 320 0 +FLAG -208 -256 0 +FLAG -208 576 0 +FLAG -496 48 A +IOPIN -496 48 In +FLAG -496 208 B +IOPIN -496 208 In +FLAG 336 128 Y +IOPIN 336 128 Out +SYMBOL nmos -16 256 R0 +SYMATTR InstName M1 +SYMATTR Value N-ENH +SYMBOL nmos -16 384 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL pmos -16 0 M180 +SYMATTR InstName M3 +SYMATTR Value P-ENH +SYMBOL pmos -16 -128 M180 +SYMATTR InstName M4 +SYMATTR Value P-ENH +SYMBOL .\\positive_threshold_inverter -256 -48 R0 +SYMATTR InstName X1 +SYMBOL .\\positive_threshold_inverter -256 208 R0 +SYMATTR InstName X2 +SYMBOL .\\negative_threshold_inverter -256 -176 R0 +SYMATTR InstName X3 +SYMBOL .\\negative_threshold_inverter -256 336 R0 +SYMATTR InstName X4 +SYMBOL res 16 16 R0 +SYMATTR InstName R1 +SYMATTR Value 100 +SYMBOL res 16 128 R0 +SYMATTR InstName R2 +SYMATTR Value 100 +SYMBOL res 192 176 R0 +SYMATTR InstName R3 +SYMATTR Value 12k +SYMBOL voltage -80 -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 -80 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 -424 -192 Left 0 !.inc ./custom.mos diff --git a/RMOS/gullible.asy b/RMOS/gullible.asy index cd75b7e..7d8ba23 100644 --- a/RMOS/gullible.asy +++ b/RMOS/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/RMOS/increment.asc b/RMOS/increment.asc index 03d4d5e..af69c4c 100644 --- a/RMOS/increment.asc +++ b/RMOS/increment.asc @@ -1,60 +1,60 @@ -Version 4 -SHEET 1 880 680 -WIRE -192 -192 -224 -192 -WIRE 16 -192 -112 -192 -WIRE -224 -160 -224 -192 -WIRE 16 -128 16 -192 -WIRE -32 -112 -80 -112 -WIRE -80 32 -80 -112 -WIRE -80 32 -192 32 -WIRE 16 32 16 -32 -WIRE 176 32 16 32 -WIRE 304 32 176 32 -WIRE 16 96 16 32 -WIRE 176 96 176 32 -WIRE 16 208 16 176 -WIRE 176 208 176 176 -WIRE -80 288 -80 32 -WIRE -32 288 -80 288 -WIRE 128 288 80 288 -WIRE -192 352 -224 352 -WIRE 176 352 176 304 -WIRE 176 352 -112 352 -WIRE -224 384 -224 352 -FLAG 16 208 0 -FLAG -224 -160 0 -FLAG -224 384 0 -FLAG -192 32 A -IOPIN -192 32 In -FLAG 304 32 Y -IOPIN 304 32 Out -SYMBOL pmos 128 208 R0 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL nmos -32 -32 M180 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL res 0 80 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -96 352 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 res 160 80 R0 -SYMATTR InstName R2 -SYMATTR Value 100 -SYMBOL voltage -96 -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 V4 -SYMATTR Value -1 -SYMBOL .\\negative_threshold_inverter 16 240 R0 -SYMATTR InstName X1 -TEXT 160 -96 Left 0 !.inc ./custom.mos -TEXT 72 -176 Left 0 ;Note the switched power rails. +Version 4 +SHEET 1 880 680 +WIRE -192 -192 -224 -192 +WIRE 16 -192 -112 -192 +WIRE -224 -160 -224 -192 +WIRE 16 -128 16 -192 +WIRE -32 -112 -80 -112 +WIRE -80 32 -80 -112 +WIRE -80 32 -192 32 +WIRE 16 32 16 -32 +WIRE 176 32 16 32 +WIRE 304 32 176 32 +WIRE 16 96 16 32 +WIRE 176 96 176 32 +WIRE 16 208 16 176 +WIRE 176 208 176 176 +WIRE -80 288 -80 32 +WIRE -32 288 -80 288 +WIRE 128 288 80 288 +WIRE -192 352 -224 352 +WIRE 176 352 176 304 +WIRE 176 352 -112 352 +WIRE -224 384 -224 352 +FLAG 16 208 0 +FLAG -224 -160 0 +FLAG -224 384 0 +FLAG -192 32 A +IOPIN -192 32 In +FLAG 304 32 Y +IOPIN 304 32 Out +SYMBOL pmos 128 208 R0 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL nmos -32 -32 M180 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL res 0 80 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -96 352 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 res 160 80 R0 +SYMATTR InstName R2 +SYMATTR Value 100 +SYMBOL voltage -96 -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 V4 +SYMATTR Value -1 +SYMBOL .\\negative_threshold_inverter 16 240 R0 +SYMATTR InstName X1 +TEXT 160 -96 Left 0 !.inc ./custom.mos +TEXT 72 -176 Left 0 ;Note the switched power rails. diff --git a/RMOS/increment.asy b/RMOS/increment.asy index b4f6f39..0d06e22 100644 --- a/RMOS/increment.asy +++ b/RMOS/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/RMOS/inverting_consensus.asc b/RMOS/inverting_consensus.asc index 9f3005f..f0f4b98 100644 --- a/RMOS/inverting_consensus.asc +++ b/RMOS/inverting_consensus.asc @@ -1,67 +1,67 @@ -Version 4 -SHEET 1 880 680 -WIRE -176 -192 -208 -192 -WIRE 48 -192 -96 -192 -WIRE -208 -160 -208 -192 -WIRE 48 -128 48 -192 -WIRE 0 -112 -112 -112 -WIRE 48 0 48 -32 -WIRE 0 16 -48 16 -WIRE -112 48 -112 -112 -WIRE -112 48 -208 48 -WIRE 48 144 48 96 -WIRE 208 144 48 144 -WIRE 368 144 208 144 -WIRE 48 192 48 144 -WIRE 208 192 208 144 -WIRE -48 240 -48 16 -WIRE -48 240 -208 240 -WIRE -48 272 -48 240 -WIRE 0 272 -48 272 -WIRE 48 320 48 288 -WIRE 208 320 208 272 -WIRE -112 400 -112 48 -WIRE 0 400 -112 400 -WIRE -176 480 -208 480 -WIRE 48 480 48 416 -WIRE 48 480 -96 480 -WIRE -208 512 -208 480 -FLAG 208 320 0 -FLAG -208 -160 0 -FLAG -208 512 0 -FLAG -208 48 A -IOPIN -208 48 In -FLAG -208 240 B -IOPIN -208 240 In -FLAG 368 144 Y -IOPIN 368 144 Out -SYMBOL nmos 0 192 R0 -SYMATTR InstName M1 -SYMATTR Value N-ENH -SYMBOL nmos 0 320 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL pmos 0 96 M180 -SYMATTR InstName M3 -SYMATTR Value P-ENH -SYMBOL pmos 0 -32 M180 -SYMATTR InstName M4 -SYMATTR Value P-ENH -SYMBOL res 192 176 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -80 -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 -80 480 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 192 -24 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -176 -192 -208 -192 +WIRE 48 -192 -96 -192 +WIRE -208 -160 -208 -192 +WIRE 48 -128 48 -192 +WIRE 0 -112 -112 -112 +WIRE 48 0 48 -32 +WIRE 0 16 -48 16 +WIRE -112 48 -112 -112 +WIRE -112 48 -208 48 +WIRE 48 144 48 96 +WIRE 208 144 48 144 +WIRE 368 144 208 144 +WIRE 48 192 48 144 +WIRE 208 192 208 144 +WIRE -48 240 -48 16 +WIRE -48 240 -208 240 +WIRE -48 272 -48 240 +WIRE 0 272 -48 272 +WIRE 48 320 48 288 +WIRE 208 320 208 272 +WIRE -112 400 -112 48 +WIRE 0 400 -112 400 +WIRE -176 480 -208 480 +WIRE 48 480 48 416 +WIRE 48 480 -96 480 +WIRE -208 512 -208 480 +FLAG 208 320 0 +FLAG -208 -160 0 +FLAG -208 512 0 +FLAG -208 48 A +IOPIN -208 48 In +FLAG -208 240 B +IOPIN -208 240 In +FLAG 368 144 Y +IOPIN 368 144 Out +SYMBOL nmos 0 192 R0 +SYMATTR InstName M1 +SYMATTR Value N-ENH +SYMBOL nmos 0 320 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL pmos 0 96 M180 +SYMATTR InstName M3 +SYMATTR Value P-ENH +SYMBOL pmos 0 -32 M180 +SYMATTR InstName M4 +SYMATTR Value P-ENH +SYMBOL res 192 176 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -80 -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 -80 480 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 192 -24 Left 0 !.inc ./custom.mos diff --git a/RMOS/inverting_consensus.asy b/RMOS/inverting_consensus.asy index c0f87df..54f5aca 100644 --- a/RMOS/inverting_consensus.asy +++ b/RMOS/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/RMOS/is_false.asc b/RMOS/is_false.asc index c222c68..5ec18a0 100644 --- a/RMOS/is_false.asc +++ b/RMOS/is_false.asc @@ -1,43 +1,43 @@ -Version 4 -SHEET 1 880 680 -WIRE -80 -144 -112 -144 -WIRE 128 -144 0 -144 -WIRE -112 -112 -112 -144 -WIRE 128 -96 128 -144 -WIRE 80 -80 32 -80 -WIRE 32 48 32 -80 -WIRE 32 48 -64 48 -WIRE 128 48 128 0 -WIRE 272 48 128 48 -WIRE 128 96 128 48 -WIRE -80 224 -112 224 -WIRE 128 224 128 176 -WIRE 128 224 0 224 -WIRE -112 256 -112 224 -FLAG -112 -112 0 -FLAG -112 256 0 -FLAG -64 48 A -IOPIN -64 48 In -FLAG 272 48 Y -IOPIN 272 48 Out -SYMBOL pmos 80 0 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL res 112 80 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage 16 -144 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 16 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 V3 -SYMATTR Value -1 -TEXT 80 288 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -80 -144 -112 -144 +WIRE 128 -144 0 -144 +WIRE -112 -112 -112 -144 +WIRE 128 -96 128 -144 +WIRE 80 -80 32 -80 +WIRE 32 48 32 -80 +WIRE 32 48 -64 48 +WIRE 128 48 128 0 +WIRE 272 48 128 48 +WIRE 128 96 128 48 +WIRE -80 224 -112 224 +WIRE 128 224 128 176 +WIRE 128 224 0 224 +WIRE -112 256 -112 224 +FLAG -112 -112 0 +FLAG -112 256 0 +FLAG -64 48 A +IOPIN -64 48 In +FLAG 272 48 Y +IOPIN 272 48 Out +SYMBOL pmos 80 0 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL res 112 80 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage 16 -144 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 16 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 V3 +SYMATTR Value -1 +TEXT 80 288 Left 0 !.inc ./custom.mos diff --git a/RMOS/is_false.asy b/RMOS/is_false.asy index e5e3fee..2204505 100644 --- a/RMOS/is_false.asy +++ b/RMOS/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/RMOS/is_true.asc b/RMOS/is_true.asc index cf2546f..77202c9 100644 --- a/RMOS/is_true.asc +++ b/RMOS/is_true.asc @@ -1,12 +1,12 @@ -Version 4 -SHEET 1 880 680 -WIRE 48 160 16 160 -WIRE 304 160 272 160 -FLAG 16 160 A -IOPIN 16 160 In -FLAG 304 160 Y -IOPIN 304 160 Out -SYMBOL .\\positive_threshold_inverter 96 112 R0 -SYMATTR InstName X1 -SYMBOL .\\negative_threshold_inverter 208 112 R0 -SYMATTR InstName X2 +Version 4 +SHEET 1 880 680 +WIRE 48 160 16 160 +WIRE 304 160 272 160 +FLAG 16 160 A +IOPIN 16 160 In +FLAG 304 160 Y +IOPIN 304 160 Out +SYMBOL .\\positive_threshold_inverter 96 112 R0 +SYMATTR InstName X1 +SYMBOL .\\negative_threshold_inverter 208 112 R0 +SYMATTR InstName X2 diff --git a/RMOS/is_true.asy b/RMOS/is_true.asy index 5105d90..0edb8b6 100644 --- a/RMOS/is_true.asy +++ b/RMOS/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/RMOS/is_unknown.asc b/RMOS/is_unknown.asc index d420750..6565555 100644 --- a/RMOS/is_unknown.asc +++ b/RMOS/is_unknown.asc @@ -1,60 +1,60 @@ -Version 4 -SHEET 1 880 680 -WIRE 112 -176 80 -176 -WIRE 368 -176 192 -176 -WIRE 80 -144 80 -176 -WIRE 368 -128 368 -176 -WIRE 320 -112 240 -112 -WIRE 368 0 368 -32 -WIRE -64 176 -160 176 -WIRE 32 176 -64 176 -WIRE 240 176 240 -112 -WIRE 240 176 144 176 -WIRE 368 176 368 80 -WIRE 544 176 368 176 -WIRE 672 176 544 176 -WIRE 368 272 368 176 -WIRE 544 272 544 176 -WIRE -64 352 -64 176 -WIRE 320 352 -64 352 -WIRE 112 416 80 416 -WIRE 368 416 368 368 -WIRE 368 416 192 416 -WIRE 544 416 544 352 -WIRE 544 416 368 416 -WIRE 80 448 80 416 -FLAG 80 -144 0 -FLAG 80 448 0 -FLAG -160 176 A -IOPIN -160 176 In -FLAG 672 176 Y -IOPIN 672 176 Out -SYMBOL .\\negative_threshold_inverter 80 128 R0 -SYMATTR InstName X1 -SYMBOL pmos 320 -32 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL res 352 -16 R0 -SYMATTR InstName R1 -SYMATTR Value 100 -SYMBOL nmos 320 272 R0 -SYMATTR InstName M2 -SYMATTR Value N-ENH -SYMBOL res 528 256 R0 -SYMATTR InstName R2 -SYMATTR Value 12k -SYMBOL voltage 208 -176 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 208 416 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 -24 0 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE 112 -176 80 -176 +WIRE 368 -176 192 -176 +WIRE 80 -144 80 -176 +WIRE 368 -128 368 -176 +WIRE 320 -112 240 -112 +WIRE 368 0 368 -32 +WIRE -64 176 -160 176 +WIRE 32 176 -64 176 +WIRE 240 176 240 -112 +WIRE 240 176 144 176 +WIRE 368 176 368 80 +WIRE 544 176 368 176 +WIRE 672 176 544 176 +WIRE 368 272 368 176 +WIRE 544 272 544 176 +WIRE -64 352 -64 176 +WIRE 320 352 -64 352 +WIRE 112 416 80 416 +WIRE 368 416 368 368 +WIRE 368 416 192 416 +WIRE 544 416 544 352 +WIRE 544 416 368 416 +WIRE 80 448 80 416 +FLAG 80 -144 0 +FLAG 80 448 0 +FLAG -160 176 A +IOPIN -160 176 In +FLAG 672 176 Y +IOPIN 672 176 Out +SYMBOL .\\negative_threshold_inverter 80 128 R0 +SYMATTR InstName X1 +SYMBOL pmos 320 -32 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL res 352 -16 R0 +SYMATTR InstName R1 +SYMATTR Value 100 +SYMBOL nmos 320 272 R0 +SYMATTR InstName M2 +SYMATTR Value N-ENH +SYMBOL res 528 256 R0 +SYMATTR InstName R2 +SYMATTR Value 12k +SYMBOL voltage 208 -176 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 208 416 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 -24 0 Left 0 !.inc ./custom.mos diff --git a/RMOS/is_unknown.asy b/RMOS/is_unknown.asy index 8ffb820..49da4de 100644 --- a/RMOS/is_unknown.asy +++ b/RMOS/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/RMOS/max.asc b/RMOS/max.asc index 5f85c3c..beb9ac9 100644 --- a/RMOS/max.asc +++ b/RMOS/max.asc @@ -1,15 +1,15 @@ -Version 4 -SHEET 1 880 680 -WIRE 96 144 64 144 -WIRE 352 160 320 160 -WIRE 96 176 64 176 -FLAG 64 144 A -IOPIN 64 144 In -FLAG 64 176 B -IOPIN 64 176 In -FLAG 352 160 Y -IOPIN 352 160 Out -SYMBOL .\\standard_inverter 256 112 R0 -SYMATTR InstName X2 -SYMBOL .\\antimax 144 96 R0 -SYMATTR InstName X1 +Version 4 +SHEET 1 880 680 +WIRE 96 144 64 144 +WIRE 352 160 320 160 +WIRE 96 176 64 176 +FLAG 64 144 A +IOPIN 64 144 In +FLAG 64 176 B +IOPIN 64 176 In +FLAG 352 160 Y +IOPIN 352 160 Out +SYMBOL .\\standard_inverter 256 112 R0 +SYMATTR InstName X2 +SYMBOL .\\antimax 144 96 R0 +SYMATTR InstName X1 diff --git a/RMOS/max.asy b/RMOS/max.asy index 5552b62..a398f78 100644 --- a/RMOS/max.asy +++ b/RMOS/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/RMOS/min.asc b/RMOS/min.asc index ab97561..653ed0c 100644 --- a/RMOS/min.asc +++ b/RMOS/min.asc @@ -1,15 +1,15 @@ -Version 4 -SHEET 1 880 680 -WIRE 64 144 32 144 -WIRE 320 160 288 160 -WIRE 64 176 32 176 -FLAG 32 144 A -IOPIN 32 144 In -FLAG 32 176 B -IOPIN 32 176 In -FLAG 320 160 Y -IOPIN 320 160 Out -SYMBOL .\\antimin 112 96 R0 -SYMATTR InstName X1 -SYMBOL .\\standard_inverter 224 112 R0 -SYMATTR InstName X2 +Version 4 +SHEET 1 880 680 +WIRE 64 144 32 144 +WIRE 320 160 288 160 +WIRE 64 176 32 176 +FLAG 32 144 A +IOPIN 32 144 In +FLAG 32 176 B +IOPIN 32 176 In +FLAG 320 160 Y +IOPIN 320 160 Out +SYMBOL .\\antimin 112 96 R0 +SYMATTR InstName X1 +SYMBOL .\\standard_inverter 224 112 R0 +SYMATTR InstName X2 diff --git a/RMOS/min.asy b/RMOS/min.asy index 0efa86d..3e5b13c 100644 --- a/RMOS/min.asy +++ b/RMOS/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/RMOS/negative_threshold_inverter.asc b/RMOS/negative_threshold_inverter.asc index c222c68..5ec18a0 100644 --- a/RMOS/negative_threshold_inverter.asc +++ b/RMOS/negative_threshold_inverter.asc @@ -1,43 +1,43 @@ -Version 4 -SHEET 1 880 680 -WIRE -80 -144 -112 -144 -WIRE 128 -144 0 -144 -WIRE -112 -112 -112 -144 -WIRE 128 -96 128 -144 -WIRE 80 -80 32 -80 -WIRE 32 48 32 -80 -WIRE 32 48 -64 48 -WIRE 128 48 128 0 -WIRE 272 48 128 48 -WIRE 128 96 128 48 -WIRE -80 224 -112 224 -WIRE 128 224 128 176 -WIRE 128 224 0 224 -WIRE -112 256 -112 224 -FLAG -112 -112 0 -FLAG -112 256 0 -FLAG -64 48 A -IOPIN -64 48 In -FLAG 272 48 Y -IOPIN 272 48 Out -SYMBOL pmos 80 0 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL res 112 80 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage 16 -144 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 16 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 V3 -SYMATTR Value -1 -TEXT 80 288 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -80 -144 -112 -144 +WIRE 128 -144 0 -144 +WIRE -112 -112 -112 -144 +WIRE 128 -96 128 -144 +WIRE 80 -80 32 -80 +WIRE 32 48 32 -80 +WIRE 32 48 -64 48 +WIRE 128 48 128 0 +WIRE 272 48 128 48 +WIRE 128 96 128 48 +WIRE -80 224 -112 224 +WIRE 128 224 128 176 +WIRE 128 224 0 224 +WIRE -112 256 -112 224 +FLAG -112 -112 0 +FLAG -112 256 0 +FLAG -64 48 A +IOPIN -64 48 In +FLAG 272 48 Y +IOPIN 272 48 Out +SYMBOL pmos 80 0 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL res 112 80 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage 16 -144 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 16 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 V3 +SYMATTR Value -1 +TEXT 80 288 Left 0 !.inc ./custom.mos diff --git a/RMOS/negative_threshold_inverter.asy b/RMOS/negative_threshold_inverter.asy index 91e3aad..3e4e735 100644 --- a/RMOS/negative_threshold_inverter.asy +++ b/RMOS/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/RMOS/positive_threshold_inverter.asc b/RMOS/positive_threshold_inverter.asc index ccd8cef..1c48b48 100644 --- a/RMOS/positive_threshold_inverter.asc +++ b/RMOS/positive_threshold_inverter.asc @@ -1,43 +1,43 @@ -Version 4 -SHEET 1 880 680 -WIRE -96 -48 -128 -48 -WIRE 128 -48 -16 -48 -WIRE -128 -16 -128 -48 -WIRE 128 0 128 -48 -WIRE 32 128 -64 128 -WIRE 128 128 128 80 -WIRE 272 128 128 128 -WIRE 128 192 128 128 -WIRE 32 272 32 128 -WIRE 80 272 32 272 -WIRE -96 336 -128 336 -WIRE 128 336 128 288 -WIRE 128 336 -16 336 -WIRE -128 368 -128 336 -FLAG -128 -16 0 -FLAG -128 368 0 -FLAG -64 128 A -IOPIN -64 128 In -FLAG 272 128 Y -IOPIN 272 128 Out -SYMBOL res 112 -16 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage 0 -48 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 0 336 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 80 192 R0 -SYMATTR InstName M1 -SYMATTR Value N-ENH -TEXT 240 -16 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -96 -48 -128 -48 +WIRE 128 -48 -16 -48 +WIRE -128 -16 -128 -48 +WIRE 128 0 128 -48 +WIRE 32 128 -64 128 +WIRE 128 128 128 80 +WIRE 272 128 128 128 +WIRE 128 192 128 128 +WIRE 32 272 32 128 +WIRE 80 272 32 272 +WIRE -96 336 -128 336 +WIRE 128 336 128 288 +WIRE 128 336 -16 336 +WIRE -128 368 -128 336 +FLAG -128 -16 0 +FLAG -128 368 0 +FLAG -64 128 A +IOPIN -64 128 In +FLAG 272 128 Y +IOPIN 272 128 Out +SYMBOL res 112 -16 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage 0 -48 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 0 336 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 80 192 R0 +SYMATTR InstName M1 +SYMATTR Value N-ENH +TEXT 240 -16 Left 0 !.inc ./custom.mos diff --git a/RMOS/positive_threshold_inverter.asy b/RMOS/positive_threshold_inverter.asy index 1122cb4..3ce48e9 100644 --- a/RMOS/positive_threshold_inverter.asy +++ b/RMOS/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/RMOS/standard_inverter.asc b/RMOS/standard_inverter.asc index 77a4e84..33cb08f 100644 --- a/RMOS/standard_inverter.asc +++ b/RMOS/standard_inverter.asc @@ -1,53 +1,53 @@ -Version 4 -SHEET 1 880 680 -WIRE -288 -160 -320 -160 -WIRE 16 -160 -208 -160 -WIRE -320 -128 -320 -160 -WIRE 16 -112 16 -160 -WIRE -32 -96 -96 -96 -WIRE 16 16 16 -16 -WIRE -96 112 -96 -96 -WIRE -96 112 -208 112 -WIRE 16 112 16 96 -WIRE 176 112 16 112 -WIRE 16 128 16 112 -WIRE 16 240 16 208 -WIRE -96 320 -96 112 -WIRE -32 320 -96 320 -WIRE -288 384 -320 384 -WIRE 16 384 16 336 -WIRE 16 384 -208 384 -WIRE -320 416 -320 384 -FLAG -320 -128 0 -FLAG -320 416 0 -FLAG -208 112 A -IOPIN -208 112 In -FLAG 176 112 Y -IOPIN 176 112 Out -SYMBOL nmos -32 240 R0 -SYMATTR InstName M1 -SYMATTR Value N-ELOW -SYMBOL pmos -32 -16 M180 -SYMATTR InstName M2 -SYMATTR Value P-ELOW -SYMBOL res 0 0 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL res 0 112 R0 -SYMATTR InstName R2 -SYMATTR Value 12k -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 384 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 152 -152 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -288 -160 -320 -160 +WIRE 16 -160 -208 -160 +WIRE -320 -128 -320 -160 +WIRE 16 -112 16 -160 +WIRE -32 -96 -96 -96 +WIRE 16 16 16 -16 +WIRE -96 112 -96 -96 +WIRE -96 112 -208 112 +WIRE 16 112 16 96 +WIRE 176 112 16 112 +WIRE 16 128 16 112 +WIRE 16 240 16 208 +WIRE -96 320 -96 112 +WIRE -32 320 -96 320 +WIRE -288 384 -320 384 +WIRE 16 384 16 336 +WIRE 16 384 -208 384 +WIRE -320 416 -320 384 +FLAG -320 -128 0 +FLAG -320 416 0 +FLAG -208 112 A +IOPIN -208 112 In +FLAG 176 112 Y +IOPIN 176 112 Out +SYMBOL nmos -32 240 R0 +SYMATTR InstName M1 +SYMATTR Value N-ELOW +SYMBOL pmos -32 -16 M180 +SYMATTR InstName M2 +SYMATTR Value P-ELOW +SYMBOL res 0 0 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL res 0 112 R0 +SYMATTR InstName R2 +SYMATTR Value 12k +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 384 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 152 -152 Left 0 !.inc ./custom.mos diff --git a/RMOS/standard_inverter.asy b/RMOS/standard_inverter.asy index fe479d7..4a9c820 100644 --- a/RMOS/standard_inverter.asy +++ b/RMOS/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/RMOS/sum.asc b/RMOS/sum.asc index e7f90d4..123fdc1 100644 --- a/RMOS/sum.asc +++ b/RMOS/sum.asc @@ -1,194 +1,194 @@ -Version 4 -SHEET 1 880 1044 -WIRE -464 -288 -496 -288 -WIRE -240 -288 -384 -288 -WIRE 16 -288 -240 -288 -WIRE 256 -288 16 -288 -WIRE -496 -256 -496 -288 -WIRE -240 -224 -240 -288 -WIRE 16 -224 16 -288 -WIRE -288 -208 -416 -208 -WIRE -32 -208 -144 -208 -WIRE -864 -64 -928 -64 -WIRE -672 -64 -752 -64 -WIRE -624 -64 -672 -64 -WIRE -144 -64 -144 -208 -WIRE -144 -64 -512 -64 -WIRE -240 -32 -240 -128 -WIRE 16 -32 16 -128 -WIRE 256 -32 256 -288 -WIRE -672 -16 -672 -64 -WIRE -320 -16 -672 -16 -WIRE -288 -16 -320 -16 -WIRE -32 -16 -80 -16 -WIRE 208 -16 112 -16 -WIRE -80 80 -80 -16 -WIRE -80 80 -672 80 -WIRE -928 128 -928 -64 -WIRE -928 128 -1040 128 -WIRE -864 128 -928 128 -WIRE -672 128 -672 80 -WIRE -672 128 -752 128 -WIRE -624 128 -672 128 -WIRE -464 128 -512 128 -WIRE -240 160 -240 64 -WIRE 16 160 16 64 -WIRE 256 160 256 64 -WIRE -288 176 -368 176 -WIRE -32 176 -144 176 -WIRE 208 176 160 176 -WIRE -928 288 -928 128 -WIRE 160 288 160 176 -WIRE 160 288 -928 288 -WIRE -240 336 -240 256 -WIRE 16 336 16 256 -WIRE 16 336 -240 336 -WIRE 256 336 256 256 -WIRE 256 336 16 336 -WIRE 448 336 256 336 -WIRE 576 336 448 336 -WIRE 112 384 112 -16 -WIRE 112 384 -928 384 -WIRE 448 400 448 336 -WIRE -240 416 -240 336 -WIRE 16 416 16 336 -WIRE 256 416 256 336 -WIRE -320 496 -320 -16 -WIRE -288 496 -320 496 -WIRE -80 496 -80 80 -WIRE -32 496 -80 496 -WIRE 160 496 160 288 -WIRE 208 496 160 496 -WIRE 448 528 448 480 -WIRE -928 544 -928 384 -WIRE -928 544 -1040 544 -WIRE -864 544 -928 544 -WIRE -672 544 -752 544 -WIRE -624 544 -672 544 -WIRE -80 544 -512 544 -WIRE -672 592 -672 544 -WIRE -368 592 -368 176 -WIRE -368 592 -672 592 -WIRE -240 608 -240 512 -WIRE 16 608 16 512 -WIRE 256 608 256 512 -WIRE -368 688 -368 592 -WIRE -288 688 -368 688 -WIRE -144 688 -144 176 -WIRE -32 688 -144 688 -WIRE 112 688 112 384 -WIRE 208 688 112 688 -WIRE -928 736 -928 544 -WIRE -864 736 -928 736 -WIRE -672 736 -752 736 -WIRE -624 736 -672 736 -WIRE -416 736 -416 -208 -WIRE -416 736 -512 736 -WIRE -672 784 -672 736 -WIRE -144 784 -144 688 -WIRE -144 784 -672 784 -WIRE -240 800 -240 704 -WIRE 16 800 16 704 -WIRE -464 880 -464 128 -WIRE -288 880 -464 880 -WIRE -80 880 -80 544 -WIRE -32 880 -80 880 -WIRE -464 960 -496 960 -WIRE -240 960 -240 896 -WIRE -240 960 -384 960 -WIRE 16 960 16 896 -WIRE 16 960 -240 960 -WIRE 256 960 256 704 -WIRE 256 960 16 960 -WIRE -496 992 -496 960 -FLAG 448 528 0 -FLAG -496 -256 0 -FLAG -496 992 0 -FLAG -1040 128 A -IOPIN -1040 128 In -FLAG -1040 544 B -IOPIN -1040 544 In -FLAG 576 336 Y -IOPIN 576 336 Out -SYMBOL pmos -288 -128 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL pmos -288 64 M180 -SYMATTR InstName M2 -SYMATTR Value P-ENH -SYMBOL pmos -288 256 M180 -SYMATTR InstName M3 -SYMATTR Value P-ENH -SYMBOL pmos -32 256 M180 -SYMATTR InstName M4 -SYMATTR Value P-ENH -SYMBOL pmos -32 64 M180 -SYMATTR InstName M5 -SYMATTR Value P-ENH -SYMBOL pmos -32 -128 M180 -SYMATTR InstName M6 -SYMATTR Value P-ENH -SYMBOL pmos 208 64 M180 -SYMATTR InstName M7 -SYMATTR Value P-ENH -SYMBOL pmos 208 256 M180 -SYMATTR InstName M8 -SYMATTR Value P-ENH -SYMBOL nmos -288 416 R0 -SYMATTR InstName M9 -SYMATTR Value N-ENH -SYMBOL nmos -288 608 R0 -SYMATTR InstName M10 -SYMATTR Value N-ENH -SYMBOL nmos -288 800 R0 -SYMATTR InstName M11 -SYMATTR Value N-ENH -SYMBOL nmos -32 416 R0 -SYMATTR InstName M12 -SYMATTR Value N-ENH -SYMBOL nmos -32 608 R0 -SYMATTR InstName M13 -SYMATTR Value N-ENH -SYMBOL nmos -32 800 R0 -SYMATTR InstName M14 -SYMATTR Value N-ENH -SYMBOL nmos 208 416 R0 -SYMATTR InstName M15 -SYMATTR Value N-ENH -SYMBOL nmos 208 608 R0 -SYMATTR InstName M16 -SYMATTR Value N-ENH -SYMBOL res 432 384 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -368 -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 -368 960 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 .\\positive_threshold_inverter -576 80 R0 -SYMATTR InstName X1 -SYMBOL .\\positive_threshold_inverter -576 496 R0 -SYMATTR InstName X2 -SYMBOL .\\negative_threshold_inverter -576 688 R0 -SYMATTR InstName X3 -SYMBOL .\\negative_threshold_inverter -576 -112 R0 -SYMATTR InstName X4 -SYMBOL .\\negative_threshold_inverter -816 80 R0 -SYMATTR InstName X5 -SYMBOL .\\negative_threshold_inverter -816 496 R0 -SYMATTR InstName X6 -SYMBOL .\\positive_threshold_inverter -816 688 R0 -SYMATTR InstName X7 -SYMBOL .\\positive_threshold_inverter -816 -112 R0 -SYMATTR InstName X8 -TEXT 384 128 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 1044 +WIRE -464 -288 -496 -288 +WIRE -240 -288 -384 -288 +WIRE 16 -288 -240 -288 +WIRE 256 -288 16 -288 +WIRE -496 -256 -496 -288 +WIRE -240 -224 -240 -288 +WIRE 16 -224 16 -288 +WIRE -288 -208 -416 -208 +WIRE -32 -208 -144 -208 +WIRE -864 -64 -928 -64 +WIRE -672 -64 -752 -64 +WIRE -624 -64 -672 -64 +WIRE -144 -64 -144 -208 +WIRE -144 -64 -512 -64 +WIRE -240 -32 -240 -128 +WIRE 16 -32 16 -128 +WIRE 256 -32 256 -288 +WIRE -672 -16 -672 -64 +WIRE -320 -16 -672 -16 +WIRE -288 -16 -320 -16 +WIRE -32 -16 -80 -16 +WIRE 208 -16 112 -16 +WIRE -80 80 -80 -16 +WIRE -80 80 -672 80 +WIRE -928 128 -928 -64 +WIRE -928 128 -1040 128 +WIRE -864 128 -928 128 +WIRE -672 128 -672 80 +WIRE -672 128 -752 128 +WIRE -624 128 -672 128 +WIRE -464 128 -512 128 +WIRE -240 160 -240 64 +WIRE 16 160 16 64 +WIRE 256 160 256 64 +WIRE -288 176 -368 176 +WIRE -32 176 -144 176 +WIRE 208 176 160 176 +WIRE -928 288 -928 128 +WIRE 160 288 160 176 +WIRE 160 288 -928 288 +WIRE -240 336 -240 256 +WIRE 16 336 16 256 +WIRE 16 336 -240 336 +WIRE 256 336 256 256 +WIRE 256 336 16 336 +WIRE 448 336 256 336 +WIRE 576 336 448 336 +WIRE 112 384 112 -16 +WIRE 112 384 -928 384 +WIRE 448 400 448 336 +WIRE -240 416 -240 336 +WIRE 16 416 16 336 +WIRE 256 416 256 336 +WIRE -320 496 -320 -16 +WIRE -288 496 -320 496 +WIRE -80 496 -80 80 +WIRE -32 496 -80 496 +WIRE 160 496 160 288 +WIRE 208 496 160 496 +WIRE 448 528 448 480 +WIRE -928 544 -928 384 +WIRE -928 544 -1040 544 +WIRE -864 544 -928 544 +WIRE -672 544 -752 544 +WIRE -624 544 -672 544 +WIRE -80 544 -512 544 +WIRE -672 592 -672 544 +WIRE -368 592 -368 176 +WIRE -368 592 -672 592 +WIRE -240 608 -240 512 +WIRE 16 608 16 512 +WIRE 256 608 256 512 +WIRE -368 688 -368 592 +WIRE -288 688 -368 688 +WIRE -144 688 -144 176 +WIRE -32 688 -144 688 +WIRE 112 688 112 384 +WIRE 208 688 112 688 +WIRE -928 736 -928 544 +WIRE -864 736 -928 736 +WIRE -672 736 -752 736 +WIRE -624 736 -672 736 +WIRE -416 736 -416 -208 +WIRE -416 736 -512 736 +WIRE -672 784 -672 736 +WIRE -144 784 -144 688 +WIRE -144 784 -672 784 +WIRE -240 800 -240 704 +WIRE 16 800 16 704 +WIRE -464 880 -464 128 +WIRE -288 880 -464 880 +WIRE -80 880 -80 544 +WIRE -32 880 -80 880 +WIRE -464 960 -496 960 +WIRE -240 960 -240 896 +WIRE -240 960 -384 960 +WIRE 16 960 16 896 +WIRE 16 960 -240 960 +WIRE 256 960 256 704 +WIRE 256 960 16 960 +WIRE -496 992 -496 960 +FLAG 448 528 0 +FLAG -496 -256 0 +FLAG -496 992 0 +FLAG -1040 128 A +IOPIN -1040 128 In +FLAG -1040 544 B +IOPIN -1040 544 In +FLAG 576 336 Y +IOPIN 576 336 Out +SYMBOL pmos -288 -128 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL pmos -288 64 M180 +SYMATTR InstName M2 +SYMATTR Value P-ENH +SYMBOL pmos -288 256 M180 +SYMATTR InstName M3 +SYMATTR Value P-ENH +SYMBOL pmos -32 256 M180 +SYMATTR InstName M4 +SYMATTR Value P-ENH +SYMBOL pmos -32 64 M180 +SYMATTR InstName M5 +SYMATTR Value P-ENH +SYMBOL pmos -32 -128 M180 +SYMATTR InstName M6 +SYMATTR Value P-ENH +SYMBOL pmos 208 64 M180 +SYMATTR InstName M7 +SYMATTR Value P-ENH +SYMBOL pmos 208 256 M180 +SYMATTR InstName M8 +SYMATTR Value P-ENH +SYMBOL nmos -288 416 R0 +SYMATTR InstName M9 +SYMATTR Value N-ENH +SYMBOL nmos -288 608 R0 +SYMATTR InstName M10 +SYMATTR Value N-ENH +SYMBOL nmos -288 800 R0 +SYMATTR InstName M11 +SYMATTR Value N-ENH +SYMBOL nmos -32 416 R0 +SYMATTR InstName M12 +SYMATTR Value N-ENH +SYMBOL nmos -32 608 R0 +SYMATTR InstName M13 +SYMATTR Value N-ENH +SYMBOL nmos -32 800 R0 +SYMATTR InstName M14 +SYMATTR Value N-ENH +SYMBOL nmos 208 416 R0 +SYMATTR InstName M15 +SYMATTR Value N-ENH +SYMBOL nmos 208 608 R0 +SYMATTR InstName M16 +SYMATTR Value N-ENH +SYMBOL res 432 384 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -368 -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 -368 960 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 .\\positive_threshold_inverter -576 80 R0 +SYMATTR InstName X1 +SYMBOL .\\positive_threshold_inverter -576 496 R0 +SYMATTR InstName X2 +SYMBOL .\\negative_threshold_inverter -576 688 R0 +SYMATTR InstName X3 +SYMBOL .\\negative_threshold_inverter -576 -112 R0 +SYMATTR InstName X4 +SYMBOL .\\negative_threshold_inverter -816 80 R0 +SYMATTR InstName X5 +SYMBOL .\\negative_threshold_inverter -816 496 R0 +SYMATTR InstName X6 +SYMBOL .\\positive_threshold_inverter -816 688 R0 +SYMATTR InstName X7 +SYMBOL .\\positive_threshold_inverter -816 -112 R0 +SYMATTR InstName X8 +TEXT 384 128 Left 0 !.inc ./custom.mos diff --git a/RMOS/sum.asy b/RMOS/sum.asy index 3ad5226..4330c6e 100644 --- a/RMOS/sum.asy +++ b/RMOS/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/RMOS/xor.asc b/RMOS/xor.asc index 954bd7c..c6745cb 100644 --- a/RMOS/xor.asc +++ b/RMOS/xor.asc @@ -1,113 +1,113 @@ -Version 4 -SHEET 1 880 680 -WIRE -256 -272 -288 -272 -WIRE -64 -272 -176 -272 -WIRE 192 -272 -64 -272 -WIRE -288 -240 -288 -272 -WIRE -64 -208 -64 -272 -WIRE 192 -208 192 -272 -WIRE -112 -192 -144 -192 -WIRE 144 -192 96 -192 -WIRE -144 -80 -144 -192 -WIRE -144 -80 -432 -80 -WIRE 48 -80 -144 -80 -WIRE 96 -48 96 -192 -WIRE 96 -48 -240 -48 -WIRE -64 -16 -64 -112 -WIRE 192 -16 192 -112 -WIRE -432 0 -432 -80 -WIRE -432 0 -512 0 -WIRE -384 0 -432 0 -WIRE -240 0 -240 -48 -WIRE -240 0 -272 0 -WIRE -112 0 -192 0 -WIRE 144 0 96 0 -WIRE -240 144 -240 0 -WIRE -144 144 -240 144 -WIRE -64 144 -64 80 -WIRE 192 144 192 80 -WIRE 192 144 -64 144 -WIRE 368 144 192 144 -WIRE 512 144 368 144 -WIRE -64 208 -64 144 -WIRE 192 208 192 144 -WIRE 368 208 368 144 -WIRE -432 288 -512 288 -WIRE -384 288 -432 288 -WIRE -192 288 -192 0 -WIRE -192 288 -272 288 -WIRE -144 288 -144 144 -WIRE -112 288 -144 288 -WIRE 96 288 96 0 -WIRE 144 288 96 288 -WIRE 368 336 368 288 -WIRE -432 352 -432 288 -WIRE 96 352 96 288 -WIRE 96 352 -432 352 -WIRE -64 400 -64 304 -WIRE 192 400 192 304 -WIRE -192 480 -192 288 -WIRE -112 480 -192 480 -WIRE 48 480 48 -80 -WIRE 144 480 48 480 -WIRE -256 560 -288 560 -WIRE -64 560 -64 496 -WIRE -64 560 -176 560 -WIRE 192 560 192 496 -WIRE 192 560 -64 560 -WIRE -288 592 -288 560 -FLAG 368 336 0 -FLAG -288 -240 0 -FLAG -288 592 0 -FLAG -512 0 A -IOPIN -512 0 In -FLAG -512 288 B -IOPIN -512 288 In -FLAG 512 144 Y -IOPIN 512 144 Out -SYMBOL pmos -112 80 M180 -SYMATTR InstName M1 -SYMATTR Value P-ENH -SYMBOL pmos -112 -112 M180 -SYMATTR InstName M2 -SYMATTR Value P-ENH -SYMBOL pmos 144 80 M180 -SYMATTR InstName M3 -SYMATTR Value P-ENH -SYMBOL pmos 144 -112 M180 -SYMATTR InstName M4 -SYMATTR Value P-ENH -SYMBOL nmos -112 208 R0 -SYMATTR InstName M5 -SYMATTR Value N-ENH -SYMBOL nmos -112 400 R0 -SYMATTR InstName M6 -SYMATTR Value N-ENH -SYMBOL nmos 144 208 R0 -SYMATTR InstName M7 -SYMATTR Value N-ENH -SYMBOL nmos 144 400 R0 -SYMATTR InstName M8 -SYMATTR Value N-ENH -SYMBOL .\\standard_inverter -336 -48 R0 -SYMATTR InstName X1 -SYMBOL .\\standard_inverter -336 240 R0 -SYMATTR InstName X2 -SYMBOL res 352 192 R0 -SYMATTR InstName R1 -SYMATTR Value 12k -SYMBOL voltage -160 -272 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 560 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 296 -72 Left 0 !.inc ./custom.mos +Version 4 +SHEET 1 880 680 +WIRE -256 -272 -288 -272 +WIRE -64 -272 -176 -272 +WIRE 192 -272 -64 -272 +WIRE -288 -240 -288 -272 +WIRE -64 -208 -64 -272 +WIRE 192 -208 192 -272 +WIRE -112 -192 -144 -192 +WIRE 144 -192 96 -192 +WIRE -144 -80 -144 -192 +WIRE -144 -80 -432 -80 +WIRE 48 -80 -144 -80 +WIRE 96 -48 96 -192 +WIRE 96 -48 -240 -48 +WIRE -64 -16 -64 -112 +WIRE 192 -16 192 -112 +WIRE -432 0 -432 -80 +WIRE -432 0 -512 0 +WIRE -384 0 -432 0 +WIRE -240 0 -240 -48 +WIRE -240 0 -272 0 +WIRE -112 0 -192 0 +WIRE 144 0 96 0 +WIRE -240 144 -240 0 +WIRE -144 144 -240 144 +WIRE -64 144 -64 80 +WIRE 192 144 192 80 +WIRE 192 144 -64 144 +WIRE 368 144 192 144 +WIRE 512 144 368 144 +WIRE -64 208 -64 144 +WIRE 192 208 192 144 +WIRE 368 208 368 144 +WIRE -432 288 -512 288 +WIRE -384 288 -432 288 +WIRE -192 288 -192 0 +WIRE -192 288 -272 288 +WIRE -144 288 -144 144 +WIRE -112 288 -144 288 +WIRE 96 288 96 0 +WIRE 144 288 96 288 +WIRE 368 336 368 288 +WIRE -432 352 -432 288 +WIRE 96 352 96 288 +WIRE 96 352 -432 352 +WIRE -64 400 -64 304 +WIRE 192 400 192 304 +WIRE -192 480 -192 288 +WIRE -112 480 -192 480 +WIRE 48 480 48 -80 +WIRE 144 480 48 480 +WIRE -256 560 -288 560 +WIRE -64 560 -64 496 +WIRE -64 560 -176 560 +WIRE 192 560 192 496 +WIRE 192 560 -64 560 +WIRE -288 592 -288 560 +FLAG 368 336 0 +FLAG -288 -240 0 +FLAG -288 592 0 +FLAG -512 0 A +IOPIN -512 0 In +FLAG -512 288 B +IOPIN -512 288 In +FLAG 512 144 Y +IOPIN 512 144 Out +SYMBOL pmos -112 80 M180 +SYMATTR InstName M1 +SYMATTR Value P-ENH +SYMBOL pmos -112 -112 M180 +SYMATTR InstName M2 +SYMATTR Value P-ENH +SYMBOL pmos 144 80 M180 +SYMATTR InstName M3 +SYMATTR Value P-ENH +SYMBOL pmos 144 -112 M180 +SYMATTR InstName M4 +SYMATTR Value P-ENH +SYMBOL nmos -112 208 R0 +SYMATTR InstName M5 +SYMATTR Value N-ENH +SYMBOL nmos -112 400 R0 +SYMATTR InstName M6 +SYMATTR Value N-ENH +SYMBOL nmos 144 208 R0 +SYMATTR InstName M7 +SYMATTR Value N-ENH +SYMBOL nmos 144 400 R0 +SYMATTR InstName M8 +SYMATTR Value N-ENH +SYMBOL .\\standard_inverter -336 -48 R0 +SYMATTR InstName X1 +SYMBOL .\\standard_inverter -336 240 R0 +SYMATTR InstName X2 +SYMBOL res 352 192 R0 +SYMATTR InstName R1 +SYMATTR Value 12k +SYMBOL voltage -160 -272 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 560 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 296 -72 Left 0 !.inc ./custom.mos diff --git a/RMOS/xor.asy b/RMOS/xor.asy index bdf30a2..c454326 100644 --- a/RMOS/xor.asy +++ b/RMOS/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 -- cgit