diff options
-rw-r--r-- | RMOS/equality.asc | 134 | ||||
-rw-r--r-- | RMOS/sum.asc | 194 | ||||
-rw-r--r-- | RMOS/xor.asc | 113 |
3 files changed, 441 insertions, 0 deletions
diff --git a/RMOS/equality.asc b/RMOS/equality.asc new file mode 100644 index 0000000..8f265d9 --- /dev/null +++ b/RMOS/equality.asc @@ -0,0 +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 diff --git a/RMOS/sum.asc b/RMOS/sum.asc new file mode 100644 index 0000000..e7f90d4 --- /dev/null +++ b/RMOS/sum.asc @@ -0,0 +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 diff --git a/RMOS/xor.asc b/RMOS/xor.asc new file mode 100644 index 0000000..954bd7c --- /dev/null +++ b/RMOS/xor.asc @@ -0,0 +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 |