summaryrefslogtreecommitdiff
path: root/CMOS
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-01-30 18:26:36 +1100
committerJed Barber <jjbarber@y7mail.com>2014-01-30 18:26:36 +1100
commit7833a8421b1a69c590b437823f4a2d841c31c91e (patch)
treec014b23766f1c461dedf9002a626f16d47f3665f /CMOS
parent944dc618de9b2c5685f7d539cd5dfb55aedae9cb (diff)
Constructed comparison gate, currently not working
Diffstat (limited to 'CMOS')
-rw-r--r--CMOS/comparison.asc178
1 files changed, 178 insertions, 0 deletions
diff --git a/CMOS/comparison.asc b/CMOS/comparison.asc
new file mode 100644
index 0000000..bcc8a13
--- /dev/null
+++ b/CMOS/comparison.asc
@@ -0,0 +1,178 @@
+Version 4
+SHEET 1 880 868
+WIRE -400 -240 -864 -240
+WIRE -128 -240 -320 -240
+WIRE 128 -240 -128 -240
+WIRE 704 -240 128 -240
+WIRE 448 -176 224 -176
+WIRE -128 -128 -128 -240
+WIRE 128 -128 128 -240
+WIRE 448 -128 448 -176
+WIRE 704 -128 704 -240
+WIRE -224 -112 -592 -112
+WIRE -176 -112 -224 -112
+WIRE 80 -112 32 -112
+WIRE 400 -112 288 -112
+WIRE 656 -112 560 -112
+WIRE -224 -16 -224 -112
+WIRE 32 -16 32 -112
+WIRE 32 -16 -224 -16
+WIRE -288 16 -656 16
+WIRE -32 16 -288 16
+WIRE -864 48 -864 -240
+WIRE -800 48 -864 48
+WIRE -592 48 -592 -112
+WIRE -592 48 -720 48
+WIRE -544 48 -592 48
+WIRE 288 48 288 -112
+WIRE 288 48 -432 48
+WIRE 560 48 560 -112
+WIRE 560 48 288 48
+WIRE -128 64 -128 -32
+WIRE 128 64 128 -32
+WIRE 448 64 448 -32
+WIRE 704 64 704 -32
+WIRE -288 80 -288 16
+WIRE -176 80 -288 80
+WIRE -32 80 -32 16
+WIRE 80 80 -32 80
+WIRE 400 80 352 80
+WIRE 656 80 608 80
+WIRE 352 176 352 80
+WIRE 352 176 -384 176
+WIRE 608 176 608 80
+WIRE 608 176 352 176
+WIRE -864 192 -864 48
+WIRE -864 192 -928 192
+WIRE 128 208 128 160
+WIRE 224 208 224 -176
+WIRE 224 208 128 208
+WIRE -928 224 -928 192
+WIRE -128 272 -128 160
+WIRE 128 272 -128 272
+WIRE 448 272 448 160
+WIRE 448 272 128 272
+WIRE 704 272 704 160
+WIRE 704 272 448 272
+WIRE 864 272 704 272
+WIRE -864 352 -864 192
+WIRE -800 352 -864 352
+WIRE -656 352 -656 16
+WIRE -656 352 -720 352
+WIRE -544 352 -656 352
+WIRE -384 352 -384 176
+WIRE -384 352 -432 352
+WIRE -128 384 -128 272
+WIRE 128 384 128 272
+WIRE 448 384 448 272
+WIRE 704 384 704 272
+WIRE -224 464 -224 -16
+WIRE -176 464 -224 464
+WIRE 32 464 32 -16
+WIRE 80 464 32 464
+WIRE 288 464 288 48
+WIRE 400 464 288 464
+WIRE 560 464 560 48
+WIRE 656 464 560 464
+WIRE -656 512 -656 352
+WIRE 352 512 -656 512
+WIRE 608 512 352 512
+WIRE -384 560 -384 352
+WIRE 32 560 -384 560
+WIRE -128 576 -128 480
+WIRE 128 576 128 480
+WIRE 448 576 448 480
+WIRE 704 576 704 480
+WIRE -384 656 -384 560
+WIRE -176 656 -384 656
+WIRE 32 656 32 560
+WIRE 80 656 32 656
+WIRE 352 656 352 512
+WIRE 400 656 352 656
+WIRE 608 656 608 512
+WIRE 656 656 608 656
+WIRE -864 784 -864 352
+WIRE -400 784 -864 784
+WIRE -128 784 -128 672
+WIRE -128 784 -320 784
+WIRE 128 784 128 672
+WIRE 128 784 -128 784
+WIRE 448 784 448 672
+WIRE 448 784 128 784
+WIRE 704 784 704 672
+WIRE 704 784 448 784
+FLAG -928 224 0
+SYMBOL pmos -176 -32 M180
+SYMATTR InstName M1
+SYMATTR Value P-ENH
+SYMBOL pmos -176 160 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL pmos 80 -32 M180
+SYMATTR InstName M3
+SYMATTR Value P-ELOW
+SYMBOL pmos 80 160 M180
+SYMATTR InstName M4
+SYMATTR Value P-ELOW
+SYMBOL pmos 400 -32 M180
+SYMATTR InstName M5
+SYMATTR Value P-ELOW
+SYMBOL pmos 400 160 M180
+SYMATTR InstName M6
+SYMATTR Value P-ELOW
+SYMBOL pmos 656 -32 M180
+SYMATTR InstName M7
+SYMATTR Value P-ENH
+SYMBOL pmos 656 160 M180
+SYMATTR InstName M8
+SYMATTR Value P-ENH
+SYMBOL voltage -304 -240 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -704 48 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+SYMATTR InstName A
+SYMBOL voltage -704 352 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+SYMATTR InstName B
+SYMBOL nmos -176 384 R0
+SYMATTR InstName M9
+SYMATTR Value N-ENH
+SYMBOL nmos -176 576 R0
+SYMATTR InstName M10
+SYMATTR Value N-ELOW
+SYMBOL nmos 80 384 R0
+SYMATTR InstName M11
+SYMATTR Value N-ELOW
+SYMBOL nmos 80 576 R0
+SYMATTR InstName M12
+SYMATTR Value N-ENH
+SYMBOL nmos 400 384 R0
+SYMATTR InstName M13
+SYMATTR Value N-ENH
+SYMBOL nmos 400 576 R0
+SYMATTR InstName M14
+SYMATTR Value N-ELOW
+SYMBOL nmos 656 384 R0
+SYMATTR InstName M15
+SYMATTR Value N-ELOW
+SYMBOL nmos 656 576 R0
+SYMATTR InstName M16
+SYMATTR Value N-ENH
+SYMBOL voltage -304 784 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value -1
+SYMBOL ternary-logic\\CMOS\\standard_inverter -496 0 R0
+SYMATTR InstName U1
+SYMBOL ternary-logic\\CMOS\\standard_inverter -496 304 R0
+SYMATTR InstName U2
+TEXT -752 624 Left 0 !.inc ./custom.mos
+TEXT -764 714 Left 0 !.tran 1