From c0ee1e090c29737286d77c7e797bd5b79ee4dcaa Mon Sep 17 00:00:00 2001 From: juzeon <812312770@qq.com> Date: Wed, 18 May 2022 20:08:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3ALU=E7=A7=BB=E4=BD=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ALU_3_in_1/ALU_3_in_1.bdf | 2310 +++++++++++++++++++++++++++------- ALU_3_in_1/ALU_3_in_1.bsf | 325 ++--- machine_alpha/ALU_3_in_1.bdf | 766 ++++++----- 3 files changed, 2456 insertions(+), 945 deletions(-) diff --git a/ALU_3_in_1/ALU_3_in_1.bdf b/ALU_3_in_1/ALU_3_in_1.bdf index cfcd7db..9b20d4f 100644 --- a/ALU_3_in_1/ALU_3_in_1.bdf +++ b/ALU_3_in_1/ALU_3_in_1.bdf @@ -4,7 +4,7 @@ editor if you plan to continue editing the block that represents it in the Block Editor! File corruption is VERY likely to occur. */ /* -Copyright (C) 1991-2009 Altera Corporation +Copyright (C) 1991-2008 Altera Corporation Your use of Altera Corporation's design tools, logic functions and other software and tools, and its AMPP partner logic functions, and any output files from any of the foregoing @@ -22,7 +22,7 @@ applicable agreement for further details. (header "graphic" (version "1.3")) (pin (input) - (rect 368 488 384 656) + (rect 352 2120 368 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A0" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -39,7 +39,7 @@ applicable agreement for further details. ) (pin (input) - (rect 352 488 368 656) + (rect 336 2120 352 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A1" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -56,7 +56,7 @@ applicable agreement for further details. ) (pin (input) - (rect 336 488 352 656) + (rect 320 2120 336 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A2" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -73,7 +73,7 @@ applicable agreement for further details. ) (pin (input) - (rect 320 488 336 656) + (rect 304 2120 320 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A3" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -90,7 +90,7 @@ applicable agreement for further details. ) (pin (input) - (rect 304 488 320 656) + (rect 288 2120 304 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A4" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -107,7 +107,7 @@ applicable agreement for further details. ) (pin (input) - (rect 288 488 304 656) + (rect 272 2120 288 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A5" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -124,7 +124,7 @@ applicable agreement for further details. ) (pin (input) - (rect 272 488 288 656) + (rect 256 2120 272 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A6" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -141,7 +141,7 @@ applicable agreement for further details. ) (pin (input) - (rect 256 488 272 656) + (rect 240 2120 256 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "A7" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -158,7 +158,7 @@ applicable agreement for further details. ) (pin (input) - (rect 608 488 624 656) + (rect 592 2120 608 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B0" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -175,7 +175,7 @@ applicable agreement for further details. ) (pin (input) - (rect 592 488 608 656) + (rect 576 2120 592 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B1" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -192,7 +192,7 @@ applicable agreement for further details. ) (pin (input) - (rect 576 488 592 656) + (rect 560 2120 576 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B2" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -209,7 +209,7 @@ applicable agreement for further details. ) (pin (input) - (rect 560 488 576 656) + (rect 544 2120 560 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B3" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -226,7 +226,7 @@ applicable agreement for further details. ) (pin (input) - (rect 544 488 560 656) + (rect 528 2120 544 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B4" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -243,7 +243,7 @@ applicable agreement for further details. ) (pin (input) - (rect 528 488 544 656) + (rect 512 2120 528 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B5" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -260,7 +260,7 @@ applicable agreement for further details. ) (pin (input) - (rect 512 488 528 656) + (rect 496 2120 512 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B6" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -277,7 +277,7 @@ applicable agreement for further details. ) (pin (input) - (rect 496 488 512 656) + (rect 480 2120 496 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "B7" (rect 0 112 12 124)(font "Arial" )(vertical)) (pt 8 0) @@ -294,7 +294,7 @@ applicable agreement for further details. ) (pin (input) - (rect 704 488 720 656) + (rect 736 2120 752 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "CLR" (rect 0 134 12 156)(font "Arial" )(vertical)) (pt 8 0) @@ -311,7 +311,7 @@ applicable agreement for further details. ) (pin (input) - (rect 736 488 752 656) + (rect 768 2120 784 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "CP_A" (rect 0 134 12 162)(font "Arial" )(vertical)) (pt 8 0) @@ -328,7 +328,7 @@ applicable agreement for further details. ) (pin (input) - (rect 768 488 784 656) + (rect 800 2120 816 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "CP_B" (rect 0 134 12 162)(font "Arial" )(vertical)) (pt 8 0) @@ -345,7 +345,7 @@ applicable agreement for further details. ) (pin (input) - (rect 800 488 816 656) + (rect 984 2120 1000 2288) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "CP_Z" (rect 1 133 13 161)(font "Arial" )(vertical)) (pt 8 0) @@ -360,9 +360,60 @@ applicable agreement for further details. (rotate90) (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) ) +(pin + (input) + (rect 1104 2152 1120 2320) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "S1" (rect 1 133 13 145)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 1120 2152 1136 2320) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "S0" (rect 1 133 13 145)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 1088 2152 1104 2320) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "S2" (rect 1 133 13 145)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) (pin (output) - (rect 432 -464 448 -288) + (rect 416 736 432 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q0" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -379,7 +430,7 @@ applicable agreement for further details. ) (pin (output) - (rect 416 -464 432 -288) + (rect 400 736 416 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q1" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -396,7 +447,7 @@ applicable agreement for further details. ) (pin (output) - (rect 400 -464 416 -288) + (rect 384 736 400 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q2" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -413,7 +464,7 @@ applicable agreement for further details. ) (pin (output) - (rect 384 -464 400 -288) + (rect 368 736 384 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q3" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -430,7 +481,7 @@ applicable agreement for further details. ) (pin (output) - (rect 368 -464 384 -288) + (rect 352 736 368 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q4" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -447,7 +498,7 @@ applicable agreement for further details. ) (pin (output) - (rect 352 -464 368 -288) + (rect 336 736 352 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q5" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -464,7 +515,7 @@ applicable agreement for further details. ) (pin (output) - (rect 336 -464 352 -288) + (rect 320 736 336 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q6" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -481,7 +532,7 @@ applicable agreement for further details. ) (pin (output) - (rect 320 -464 336 -288) + (rect 304 736 320 912) (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) (text "Q7" (rect 2 5 14 19)(font "Arial" )(vertical)) (pt 8 176) @@ -498,7 +549,7 @@ applicable agreement for further details. ) (pin (output) - (rect 1344 -112 1520 -96) + (rect 1304 1392 1480 1408) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "FLG_C" (rect 90 0 125 12)(font "Arial" )) (pt 0 8) @@ -514,7 +565,7 @@ applicable agreement for further details. ) (pin (output) - (rect 1344 -128 1520 -112) + (rect 1304 1376 1480 1392) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "FLG_Z" (rect 90 0 124 12)(font "Arial" )) (pt 0 8) @@ -530,7 +581,7 @@ applicable agreement for further details. ) (pin (output) - (rect 1344 -144 1520 -128) + (rect 1304 1360 1480 1376) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "FLG_N" (rect 90 0 125 12)(font "Arial" )) (pt 0 8) @@ -546,7 +597,7 @@ applicable agreement for further details. ) (pin (output) - (rect 1344 -160 1520 -144) + (rect 1304 1344 1480 1360) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "FLG_V" (rect 90 0 124 12)(font "Arial" )) (pt 0 8) @@ -561,7 +612,7 @@ applicable agreement for further details. ) ) (symbol - (rect 312 104 696 192) + (rect 296 1640 680 1728) (text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8))) (text "inst" (rect 8 72 25 84)(font "Arial" )) (port @@ -786,7 +837,7 @@ applicable agreement for further details. ) ) (symbol - (rect 776 240 808 272) + (rect 568 1776 600 1808) (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) (text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible)) (port @@ -803,22 +854,7 @@ applicable agreement for further details. ) ) (symbol - (rect 776 176 808 192) - (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) - (text "inst4" (rect 3 5 26 17)(font "Arial" )(invisible)) - (port - (pt 16 16) - (output) - (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) - (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) - (line (pt 16 16)(pt 16 8)(line_width 1)) - ) - (drawing - (line (pt 8 8)(pt 24 8)(line_width 1)) - ) -) -(symbol - (rect 200 328 424 424) + (rect 184 1920 408 2016) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) (text "A" (rect 208 65 220 72)(font "Arial" )(vertical)) (port @@ -953,7 +989,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 440 328 664 424) + (rect 424 1920 648 2016) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) (text "B" (rect 208 65 220 72)(font "Arial" )(vertical)) (port @@ -1088,7 +1124,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 296 -176 520 -80) + (rect 280 928 504 1024) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) (text "Z" (rect 208 65 220 72)(font "Arial" )(vertical)) (port @@ -1223,7 +1259,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 768 -32 816 0) + (rect 608 1520 656 1552) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst5" (rect 3 21 26 33)(font "Arial" )) (port @@ -1248,7 +1284,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1152 -248 1248 -24) + (rect 1176 1256 1272 1480) (text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8))) (text "CZNV" (rect 8 208 38 220)(font "Arial" )) (port @@ -1382,7 +1418,7 @@ applicable agreement for further details. ) ) (symbol - (rect 680 -88 744 56) + (rect 528 1464 592 1608) (text "OR8" (rect 1 0 19 10)(font "Arial" (font_size 6))) (text "inst8" (rect 3 133 26 145)(font "Arial" )) (port @@ -1459,7 +1495,7 @@ applicable agreement for further details. ) ) (symbol - (rect 864 -256 928 -208) + (rect 560 1304 624 1352) (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) (text "inst45" (rect 3 37 32 49)(font "Arial" )) (port @@ -1492,7 +1528,7 @@ applicable agreement for further details. ) ) (symbol - (rect 944 -248 1008 -200) + (rect 640 1312 704 1360) (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst46" (rect 3 37 32 49)(font "Arial" )) (port @@ -1526,7 +1562,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1024 -240 1088 -192) + (rect 736 1320 800 1368) (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) (text "inst47" (rect 3 37 32 49)(font "Arial" )) (port @@ -1558,7 +1594,7 @@ applicable agreement for further details. ) ) (symbol - (rect 880 -96 944 -48) + (rect 544 1368 608 1416) (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst48" (rect 3 37 32 49)(font "Arial" )) (port @@ -1592,7 +1628,7 @@ applicable agreement for further details. ) ) (symbol - (rect 952 -88 1000 -56) + (rect 624 1376 672 1408) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst49" (rect 3 21 32 33)(font "Arial" )) (port @@ -1617,784 +1653,2122 @@ applicable agreement for further details. ) ) (symbol - (rect 1080 -344 1112 -312) - (text "GND" (rect 8 6 29 16)(font "Arial" (font_size 6))) - (text "inst9" (rect 3 -1 26 11)(font "Arial" )(invisible)) + (rect 1064 2040 1256 2136) + (text "38_decoder" (rect 0 23 14 91)(font "Arial" (font_size 8))(vertical)) + (text "inst6" (rect 174 63 186 86)(font "Arial" )(vertical)) (port - (pt 16 32) + (pt 32 96) + (input) + (text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I2" (rect 27 66 41 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I1" (rect 43 66 57 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I0" (rect 59 66 73 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 32 0) (output) - (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) - (text "1" (rect 18 20 23 32)(font "Courier New" (bold))(invisible)) - (line (pt 16 24)(pt 16 32)(line_width 1)) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) ) (drawing - (line (pt 8 24)(pt 16 16)(line_width 1)) - (line (pt 16 16)(pt 24 24)(line_width 1)) - (line (pt 8 24)(pt 24 24)(line_width 1)) + (rectangle (rect 16 16 176 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 624 1792 976 1888) + (text "double_selector_8b" (rect 0 -21 14 91)(font "Arial" (font_size 8))(vertical)) + (text "inst14" (rect 336 59 348 88)(font "Arial" )(vertical)) + (port + (pt 144 96) + (input) + (text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a0" (rect 136 61 150 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a1" (rect 120 61 134 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a2" (rect 104 61 118 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a3" (rect 88 61 102 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a4" (rect 72 61 86 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a5" (rect 56 61 70 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a6" (rect 40 61 54 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 32 96) + (input) + (text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a7" (rect 24 61 38 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 272 96) + (input) + (text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b0" (rect 267 61 281 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 272 96)(pt 272 80)(line_width 1)) + ) + (port + (pt 256 96) + (input) + (text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b1" (rect 251 61 265 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 256 96)(pt 256 80)(line_width 1)) + ) + (port + (pt 240 96) + (input) + (text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b2" (rect 235 61 249 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 240 96)(pt 240 80)(line_width 1)) + ) + (port + (pt 224 96) + (input) + (text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b3" (rect 219 61 233 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 224 96)(pt 224 80)(line_width 1)) + ) + (port + (pt 208 96) + (input) + (text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b4" (rect 203 61 217 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 208 96)(pt 208 80)(line_width 1)) + ) + (port + (pt 192 96) + (input) + (text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b5" (rect 187 61 201 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 192 96)(pt 192 80)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b6" (rect 171 61 185 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b7" (rect 155 61 169 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 288 96) + (input) + (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) + (text "AY" (rect 283 57 297 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 288 96)(pt 288 80)(line_width 1)) + ) + (port + (pt 304 96) + (input) + (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) + (text "BY" (rect 299 58 313 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 304 96)(pt 304 80)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 336 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 600 1176 664 1224) + (text "AND2" (rect 39 0 63 10)(font "Arial" (font_size 6))) + (text "inst17" (rect 32 37 61 49)(font "Arial" )) + (port + (pt 64 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 45 7 62 19)(font "Courier New" (bold))(invisible)) + (line (pt 64 16)(pt 50 16)(line_width 1)) + ) + (port + (pt 64 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 45 23 62 35)(font "Courier New" (bold))(invisible)) + (line (pt 64 32)(pt 50 32)(line_width 1)) + ) + (port + (pt 0 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect -1 15 16 27)(font "Courier New" (bold))(invisible)) + (line (pt 22 24)(pt 0 24)(line_width 1)) + ) + (drawing + (line (pt 50 12)(pt 34 12)(line_width 1)) + (line (pt 50 37)(pt 33 37)(line_width 1)) + (line (pt 50 12)(pt 50 37)(line_width 1)) + (arc (pt 34 12)(pt 33 37)(rect 21 12 46 37)(line_width 1)) + ) + (flipy) +) +(symbol + (rect 1016 2016 1048 2048) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (line (pt 16 8)(pt 16 0)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 16 16)(line_width 1)) + (line (pt 16 16)(pt 24 8)(line_width 1)) + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1016 1928 1048 1944) + (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) + (text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible)) + (port + (pt 16 16) + (output) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (line (pt 16 16)(pt 16 8)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1176 1776 1224 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "ALU" (rect 38 37 50 58)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1128 1776 1176 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "left" (rect 37 38 49 54)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1080 1776 1128 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "right" (rect 39 36 51 57)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1032 1776 1080 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "carry" (rect 38 37 50 62)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1160 1936 1208 2000) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "ALU1" (rect 38 37 50 64)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1144 1496 1176 1528) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 21 32 33)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (line (pt 16 8)(pt 16 0)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 16 16)(line_width 1)) + (line (pt 16 16)(pt 24 8)(line_width 1)) + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1024 1592 1120 1688) + (text "nano_selector" (rect 5 0 86 14)(font "Arial" (font_size 8))) + (text "CarrySelect_OnlyWhenAdding" (rect 8 80 157 92)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "A" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "A" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "B" (rect 0 0 8 14)(font "Arial" (font_size 8))) + (text "B" (rect 21 43 29 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "A_EN" (rect 0 0 31 14)(font "Arial" (font_size 8))) + (text "A_EN" (rect 21 59 52 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "Q" (rect 66 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 80)(line_width 1)) + ) +) +(symbol + (rect 296 1088 528 1184) + (text "shifter_8b" (rect 5 0 62 14)(font "Arial" (font_size 8))) + (text "inst1" (rect 8 80 31 92)(font "Arial" )) + (port + (pt 48 96) + (input) + (text "A7" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A7" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "A6" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A6" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "A5" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A5" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "A4" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A4" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "A3" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A3" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "A2" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A2" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "A1" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A1" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "A0" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A0" (rect 152 56 166 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 232 32) + (input) + (text "LM" (rect -24 0 -8 14)(font "Arial" (font_size 8))) + (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) + (line (pt 216 32)(pt 232 32)(line_width 1)) + ) + (port + (pt 232 48) + (input) + (text "DM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) + (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) + (line (pt 216 48)(pt 232 48)(line_width 1)) + ) + (port + (pt 232 64) + (input) + (text "RM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) + (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) + (line (pt 216 64)(pt 232 64)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "R_in" (rect 0 -160 24 -146)(font "Arial" (font_size 8))) + (text "R_in" (rect 168 48 182 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 96) + (input) + (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) + (text "L_in" (rect 24 49 38 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y7" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y6" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y5" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y4" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y3" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y2" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y1" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 160 0) + (output) + (text "Y0" (rect 160 0 176 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 0)(pt 160 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "C8" (rect 160 0 175 14)(font "Arial" (font_size 8))) + (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 216 80)(line_width 1)) + ) +) +(symbol + (rect 920 1928 968 1960) + (text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6))) + (text "inst2" (rect 22 -1 45 11)(font "Arial" )) + (port + (pt 48 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) + (line (pt 48 16)(pt 35 16)(line_width 1)) + ) + (port + (pt 0 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) + (line (pt 9 16)(pt 0 16)(line_width 1)) + ) + (drawing + (line (pt 35 7)(pt 35 25)(line_width 1)) + (line (pt 35 25)(pt 17 16)(line_width 1)) + (line (pt 35 7)(pt 17 16)(line_width 1)) + (circle (rect 9 12 17 20)(line_width 1)) + ) + (rotate180) +) +(symbol + (rect 992 1216 1040 1248) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 1080 1224 1144 1272) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 992 1176 1040 1208) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) ) - (flipx) ) (connector - (pt 344 192) - (pt 344 200) + (pt 248 2088) + (pt 152 2088) ) (connector - (pt 360 192) - (pt 360 208) + (pt 488 2072) + (pt 168 2072) ) (connector - (pt 376 192) - (pt 376 216) + (pt 232 2016) + (pt 232 2056) ) (connector - (pt 392 192) - (pt 392 224) + (pt 472 2016) + (pt 472 2040) ) (connector - (pt 408 192) - (pt 408 232) + (pt 440 1728) + (pt 440 1904) ) (connector - (pt 424 192) - (pt 424 240) + (pt 440 1904) + (pt 328 1904) ) (connector - (pt 440 192) - (pt 440 248) + (pt 424 1728) + (pt 424 1888) ) (connector - (pt 456 192) - (pt 456 256) + (pt 424 1888) + (pt 312 1888) ) (connector - (pt 472 192) - (pt 472 328) + (pt 408 1728) + (pt 408 1872) ) (connector - (pt 488 192) - (pt 488 328) + (pt 408 1872) + (pt 296 1872) ) (connector - (pt 504 192) - (pt 504 328) + (pt 392 1728) + (pt 392 1856) ) (connector - (pt 520 192) - (pt 520 328) + (pt 392 1856) + (pt 280 1856) ) (connector - (pt 536 192) - (pt 536 328) + (pt 376 1728) + (pt 376 1840) ) (connector - (pt 552 192) - (pt 552 328) + (pt 376 1840) + (pt 264 1840) ) (connector - (pt 568 192) - (pt 568 328) + (pt 360 1728) + (pt 360 1824) ) (connector - (pt 584 192) - (pt 584 328) + (pt 360 1824) + (pt 248 1824) ) (connector - (pt 344 200) - (pt 232 200) + (pt 344 1728) + (pt 344 1808) ) (connector - (pt 232 200) - (pt 232 328) + (pt 344 1808) + (pt 232 1808) ) (connector - (pt 360 208) - (pt 248 208) + (pt 328 1728) + (pt 328 1792) ) (connector - (pt 248 208) - (pt 248 328) + (pt 328 1792) + (pt 216 1792) ) (connector - (pt 376 216) - (pt 264 216) + (pt 528 1384) + (pt 544 1384) ) (connector - (pt 264 216) - (pt 264 328) + (pt 512 1400) + (pt 544 1400) ) (connector - (pt 392 224) - (pt 280 224) + (pt 608 1392) + (pt 624 1392) ) (connector - (pt 280 224) - (pt 280 328) + (pt 720 1392) + (pt 720 1352) ) (connector - (pt 408 232) - (pt 296 232) + (pt 736 1352) + (pt 720 1352) ) (connector - (pt 296 232) - (pt 296 328) + (pt 512 1320) + (pt 512 1400) ) (connector - (pt 424 240) - (pt 312 240) + (pt 528 1336) + (pt 528 1384) ) (connector - (pt 312 240) - (pt 312 328) + (pt 624 1328) + (pt 640 1328) ) (connector - (pt 440 248) - (pt 328 248) + (pt 704 1336) + (pt 736 1336) ) (connector - (pt 328 248) - (pt 328 328) + (pt 152 2088) + (pt 152 1320) ) (connector - (pt 456 256) - (pt 344 256) + (pt 168 2072) + (pt 168 1336) ) (connector - (pt 344 256) - (pt 344 328) + (pt 672 1392) + (pt 720 1392) ) (connector - (pt 232 424) - (pt 232 440) + (pt 360 1496) + (pt 528 1496) ) (connector - (pt 472 424) - (pt 472 440) + (pt 376 1512) + (pt 528 1512) ) (connector - (pt 232 440) - (pt 472 440) + (pt 392 1528) + (pt 528 1528) ) (connector - (pt 472 440) - (pt 712 440) + (pt 408 1544) + (pt 528 1544) ) (connector - (pt 488 424) - (pt 488 456) + (pt 424 1560) + (pt 528 1560) ) (connector - (pt 728 72) - (pt 728 440) + (pt 440 1576) + (pt 528 1576) ) (connector - (pt 248 424) - (pt 248 472) + (pt 456 1592) + (pt 528 1592) ) (connector - (pt 280 424) - (pt 280 488) + (pt 592 1536) + (pt 608 1536) ) (connector - (pt 296 424) - (pt 296 488) + (pt 232 2056) + (pt 776 2056) ) (connector - (pt 312 424) - (pt 312 488) + (pt 472 2040) + (pt 808 2040) ) (connector - (pt 328 424) - (pt 328 488) + (pt 600 1728) + (pt 600 1768) ) (connector - (pt 344 424) - (pt 344 488) + (pt 616 1728) + (pt 616 1760) ) (connector - (pt 360 424) - (pt 360 488) + (pt 632 1728) + (pt 632 1752) ) (connector - (pt 376 424) - (pt 376 488) + (pt 648 1728) + (pt 648 1744) ) (connector - (pt 520 424) - (pt 520 488) + (pt 664 1728) + (pt 664 1736) ) (connector - (pt 536 424) - (pt 536 488) + (pt 1096 1872) + (pt 1048 1872) ) (connector - (pt 552 424) - (pt 552 488) + (pt 1160 1840) + (pt 1160 1872) ) (connector - (pt 568 424) - (pt 568 488) + (pt 1144 1840) + (pt 1144 1856) ) (connector - (pt 584 424) - (pt 584 488) + (pt 1064 1840) + (pt 1064 1856) ) (connector - (pt 600 424) - (pt 600 488) + (pt 1048 1840) + (pt 1048 1872) ) (connector - (pt 616 424) - (pt 616 488) + (pt 1192 1840) + (pt 1192 1888) ) (connector - (pt 488 456) - (pt 776 456) + (pt 600 1768) + (pt 656 1768) ) (connector - (pt 776 456) - (pt 776 488) + (pt 616 1760) + (pt 672 1760) ) (connector - (pt 808 440) - (pt 808 488) + (pt 632 1752) + (pt 688 1752) ) (connector - (pt 248 472) - (pt 744 472) + (pt 648 1744) + (pt 704 1744) ) (connector - (pt 744 472) - (pt 744 488) + (pt 664 1736) + (pt 720 1736) ) (connector - (pt 712 88) - (pt 712 440) + (pt 656 1536) + (pt 1120 1536) + (color 101 0 223) ) (connector - (pt 712 440) - (pt 712 488) + (pt 1120 1536) + (pt 1120 1416) + (color 101 0 223) ) (connector - (pt 632 192) - (pt 632 208) + (pt 1120 1416) + (pt 1176 1416) + (color 101 0 223) ) (connector - (pt 792 208) - (pt 792 192) + (pt 1136 1432) + (pt 1176 1432) + (color 255 101 9) ) (connector - (pt 680 192) - (pt 680 208) + (pt 1160 1320) + (pt 1176 1320) ) (connector - (pt 632 208) - (pt 680 208) + (pt 1160 1336) + (pt 1176 1336) ) (connector - (pt 680 208) - (pt 792 208) + (pt 1160 1352) + (pt 1176 1352) ) (connector - (pt 600 192) - (pt 600 224) + (pt 1160 1368) + (pt 1176 1368) ) (connector - (pt 616 192) - (pt 616 224) + (pt 640 1344) + (pt 632 1344) + (color 138 138 138) ) (connector - (pt 648 192) - (pt 648 224) + (pt 632 1344) + (pt 632 1360) + (color 138 138 138) ) (connector - (pt 664 192) - (pt 664 224) + (pt 472 1360) + (pt 632 1360) + (color 138 138 138) ) (connector - (pt 600 224) - (pt 616 224) + (pt 904 1712) + (pt 1152 1712) ) (connector - (pt 616 224) - (pt 648 224) + (pt 920 1696) + (pt 1200 1696) ) (connector - (pt 792 224) - (pt 792 240) + (pt 888 1728) + (pt 1104 1728) ) (connector - (pt 648 224) - (pt 664 224) + (pt 872 1744) + (pt 1056 1744) ) (connector - (pt 664 224) - (pt 792 224) + (pt 584 1728) + (pt 584 1776) ) (connector - (pt 328 -288) - (pt 328 -176) + (pt 216 1792) + (pt 216 1920) ) (connector - (pt 344 -288) - (pt 344 -176) + (pt 232 1808) + (pt 232 1920) ) (connector - (pt 360 -288) - (pt 360 -176) + (pt 248 1824) + (pt 248 1920) ) (connector - (pt 376 -288) - (pt 376 -176) + (pt 264 1840) + (pt 264 1920) ) (connector - (pt 728 72) - (pt 344 72) + (pt 280 1856) + (pt 280 1920) ) (connector - (pt 712 88) - (pt 328 88) + (pt 296 1872) + (pt 296 1920) ) (connector - (pt 392 -288) - (pt 392 -176) + (pt 312 1888) + (pt 312 1920) ) (connector - (pt 408 -288) - (pt 408 -176) + (pt 328 1904) + (pt 328 1920) ) (connector - (pt 424 -288) - (pt 424 -176) + (pt 456 1728) + (pt 456 1920) ) (connector - (pt 440 -288) - (pt 440 -176) + (pt 472 1728) + (pt 472 1920) ) (connector - (pt 344 -80) - (pt 344 72) + (pt 488 1728) + (pt 488 1920) ) (connector - (pt 344 104) - (pt 344 96) + (pt 504 1728) + (pt 504 1920) ) (connector - (pt 344 96) - (pt 1144 96) + (pt 520 1728) + (pt 520 1920) ) (connector - (pt 1152 -72) - (pt 1144 -72) + (pt 536 1728) + (pt 536 1920) ) (connector - (pt 1144 -72) - (pt 1144 96) + (pt 552 1728) + (pt 552 1920) ) (connector - (pt 1136 -88) - (pt 1152 -88) + (pt 568 1728) + (pt 568 1920) ) (connector - (pt 376 -56) - (pt 680 -56) + (pt 720 1736) + (pt 720 1792) ) (connector - (pt 392 -40) - (pt 680 -40) + (pt 704 1744) + (pt 704 1792) ) (connector - (pt 408 -24) - (pt 680 -24) + (pt 688 1752) + (pt 688 1792) ) (connector - (pt 424 -8) - (pt 680 -8) + (pt 672 1760) + (pt 672 1792) ) (connector - (pt 440 8) - (pt 680 8) + (pt 656 1768) + (pt 656 1792) ) (connector - (pt 456 24) - (pt 680 24) + (pt 1200 1696) + (pt 1200 1776) ) (connector - (pt 472 40) - (pt 680 40) + (pt 1152 1712) + (pt 1152 1776) ) (connector - (pt 360 -80) - (pt 360 -72) + (pt 1104 1728) + (pt 1104 1776) ) (connector - (pt 360 -72) - (pt 360 104) + (pt 1056 1744) + (pt 1056 1776) ) (connector - (pt 376 -80) - (pt 376 -56) + (pt 360 2016) + (pt 360 2120) ) (connector - (pt 376 -56) - (pt 376 104) + (pt 344 2016) + (pt 344 2120) ) (connector - (pt 392 -80) - (pt 392 -40) + (pt 328 2016) + (pt 328 2120) ) (connector - (pt 392 -40) - (pt 392 104) + (pt 312 2016) + (pt 312 2120) ) (connector - (pt 408 -80) - (pt 408 -24) + (pt 296 2016) + (pt 296 2120) ) (connector - (pt 408 -24) - (pt 408 104) + (pt 280 2016) + (pt 280 2120) ) (connector - (pt 424 -80) - (pt 424 -8) + (pt 264 2016) + (pt 264 2120) ) (connector - (pt 424 -8) - (pt 424 104) + (pt 600 2016) + (pt 600 2120) ) (connector - (pt 440 -80) - (pt 440 8) + (pt 584 2016) + (pt 584 2120) ) (connector - (pt 440 8) - (pt 440 104) + (pt 568 2016) + (pt 568 2120) ) (connector - (pt 456 -80) - (pt 456 24) + (pt 552 2016) + (pt 552 2120) ) (connector - (pt 456 24) - (pt 456 104) + (pt 536 2016) + (pt 536 2120) ) (connector - (pt 472 -80) - (pt 472 40) + (pt 520 2016) + (pt 520 2120) ) (connector - (pt 472 40) - (pt 472 104) + (pt 504 2016) + (pt 504 2120) ) (connector - (pt 1136 -88) - (pt 1136 -16) + (pt 776 2056) + (pt 776 2120) ) (connector - (pt 1136 -16) - (pt 816 -16) + (pt 808 2040) + (pt 808 2120) ) (connector - (pt 744 -16) - (pt 768 -16) + (pt 168 1336) + (pt 528 1336) ) (connector - (pt 832 -240) - (pt 864 -240) + (pt 528 1336) + (pt 560 1336) ) (connector - (pt 928 -232) - (pt 944 -232) + (pt 152 1320) + (pt 512 1320) ) (connector - (pt 936 -120) - (pt 936 -216) + (pt 512 1320) + (pt 560 1320) ) (connector - (pt 936 -216) - (pt 944 -216) + (pt 344 1480) + (pt 472 1480) + (color 138 138 138) ) (connector - (pt 1008 -224) - (pt 1024 -224) + (pt 472 1480) + (pt 528 1480) + (color 138 138 138) ) (connector - (pt 864 -224) - (pt 848 -224) + (pt 1160 1320) + (pt 1160 1336) ) (connector - (pt 848 -80) - (pt 880 -80) + (pt 1160 1336) + (pt 1160 1352) ) (connector - (pt 832 -64) - (pt 880 -64) + (pt 1208 1840) + (pt 1208 1904) ) (connector - (pt 1016 -208) - (pt 1024 -208) + (pt 1160 1352) + (pt 1160 1368) ) (connector - (pt 944 -72) - (pt 952 -72) + (pt 1160 1368) + (pt 1160 1496) ) (connector - (pt 1016 -72) - (pt 1000 -72) + (pt 248 2016) + (pt 248 2088) ) (connector - (pt 1016 -208) - (pt 1016 -72) + (pt 248 2088) + (pt 248 2120) ) (connector - (pt 760 -152) - (pt 832 -152) + (pt 488 2016) + (pt 488 2072) ) (connector - (pt 832 -240) - (pt 832 -152) + (pt 488 2072) + (pt 488 2120) ) (connector - (pt 832 -152) - (pt 832 -64) + (pt 992 1776) + (pt 840 1776) + (color 0 128 128) ) (connector - (pt 848 -224) - (pt 848 -136) + (pt 992 1776) + (pt 992 2120) + (color 0 128 128) ) (connector - (pt 848 -136) - (pt 848 -80) + (pt 840 1256) + (pt 840 1776) + (color 0 128 128) ) (connector - (pt 656 -72) - (pt 656 -120) + (pt 1176 1304) + (pt 1160 1304) + (color 0 128 128) ) (connector - (pt 360 -72) - (pt 656 -72) + (pt 1136 1624) + (pt 1120 1624) + (color 255 101 9) ) (connector - (pt 656 -72) - (pt 680 -72) + (pt 1136 1432) + (pt 1136 1624) + (color 255 101 9) ) (connector - (pt 264 480) - (pt 184 480) + (pt 328 1640) + (pt 328 1624) + (color 234 105 0) ) (connector - (pt 184 480) - (pt 184 -184) + (pt 328 1624) + (pt 1024 1624) + (color 255 101 9) ) (connector - (pt 264 424) - (pt 264 480) + (pt 944 1640) + (pt 1024 1640) + (color 255 101 9) ) (connector - (pt 264 480) - (pt 264 488) + (pt 1024 1656) + (pt 1008 1656) ) (connector - (pt 184 -184) - (pt 704 -184) + (pt 1008 1656) + (pt 1008 1904) ) (connector - (pt 704 -184) - (pt 704 -136) + (pt 1176 1400) + (pt 1104 1400) + (color 138 138 138) ) (connector - (pt 704 -136) - (pt 848 -136) + (pt 1104 1440) + (pt 1104 1400) + (color 138 138 138) ) (connector - (pt 504 464) - (pt 152 464) + (pt 472 1440) + (pt 1104 1440) + (color 138 138 138) ) (connector - (pt 152 464) - (pt 152 -192) + (pt 472 1360) + (pt 472 1440) + (color 138 138 138) ) (connector - (pt 504 424) - (pt 504 464) + (pt 472 1440) + (pt 472 1480) + (color 138 138 138) ) (connector - (pt 504 464) - (pt 504 488) + (pt 216 2016) + (pt 216 2104) + (color 0 0 0) ) (connector - (pt 152 -192) - (pt 760 -192) + (pt 456 2016) + (pt 456 2104) + (color 0 0 0) ) (connector - (pt 760 -192) - (pt 760 -152) + (pt 744 2104) + (pt 744 2120) + (color 0 0 0) ) (connector - (pt 1128 -216) - (pt 1128 -120) + (pt 136 2104) + (pt 216 2104) + (color 0 0 0) ) (connector - (pt 1088 -216) - (pt 1128 -216) + (pt 216 2104) + (pt 456 2104) + (color 0 0 0) ) (connector - (pt 1128 -120) - (pt 1152 -120) + (pt 456 2104) + (pt 744 2104) + (color 0 0 0) ) (connector - (pt 1112 -120) - (pt 1112 -104) + (pt 136 1288) + (pt 1176 1288) + (color 0 0 0) ) (connector - (pt 656 -120) - (pt 936 -120) + (pt 872 1744) + (pt 872 1192) ) (connector - (pt 936 -120) - (pt 1112 -120) + (pt 1288 1400) + (pt 1288 1208) ) (connector - (pt 1112 -104) - (pt 1152 -104) + (pt 1288 1208) + (pt 664 1208) ) (connector - (pt 1096 440) - (pt 1096 -200) + (pt 920 1136) + (pt 528 1136) ) (connector - (pt 728 440) - (pt 808 440) + (pt 904 1120) + (pt 528 1120) ) (connector - (pt 808 440) - (pt 1096 440) + (pt 888 1152) + (pt 528 1152) ) (connector - (pt 1096 -200) - (pt 1152 -200) + (pt 904 1712) + (pt 904 1120) ) (connector - (pt 328 -56) - (pt 280 -56) + (pt 888 1728) + (pt 888 1152) ) (connector - (pt 280 -56) - (pt 280 -200) + (pt 920 1696) + (pt 920 1136) ) (connector - (pt 328 -80) - (pt 328 -56) + (pt 328 1200) + (pt 328 1184) ) (connector - (pt 328 -56) - (pt 328 88) + (pt 472 1200) + (pt 472 1184) ) (connector - (pt 280 -200) - (pt 824 -200) + (pt 344 1184) + (pt 344 1480) + (color 138 138 138) ) (connector - (pt 824 -200) - (pt 824 -264) + (pt 344 1480) + (pt 344 1640) + (color 138 138 138) ) (connector - (pt 824 -264) - (pt 1144 -264) + (pt 360 1184) + (pt 360 1496) ) (connector - (pt 1144 -264) - (pt 1144 -216) + (pt 360 1496) + (pt 360 1640) ) (connector - (pt 1144 -216) - (pt 1152 -216) + (pt 376 1184) + (pt 376 1512) ) (connector - (pt 1144 -136) - (pt 1152 -136) + (pt 376 1512) + (pt 376 1640) ) (connector - (pt 1152 -152) - (pt 1144 -152) + (pt 392 1184) + (pt 392 1528) ) (connector - (pt 1144 -152) - (pt 1144 -136) + (pt 392 1528) + (pt 392 1640) ) (connector - (pt 1152 -168) - (pt 1144 -168) + (pt 408 1184) + (pt 408 1544) ) (connector - (pt 1144 -184) - (pt 1144 -168) + (pt 408 1544) + (pt 408 1640) ) (connector - (pt 1144 -168) - (pt 1144 -152) + (pt 424 1184) + (pt 424 1560) ) (connector - (pt 1136 -184) - (pt 1144 -184) + (pt 424 1560) + (pt 424 1640) ) (connector - (pt 1144 -184) - (pt 1152 -184) + (pt 440 1184) + (pt 440 1576) ) (connector - (pt 1136 -184) - (pt 1136 -296) + (pt 440 1576) + (pt 440 1640) ) (connector - (pt 1136 -296) - (pt 1096 -296) + (pt 456 1184) + (pt 456 1592) ) (connector - (pt 1096 -312) - (pt 1096 -296) + (pt 456 1592) + (pt 456 1640) ) (connector - (pt 1248 -104) - (pt 1344 -104) + (pt 328 1200) + (pt 472 1200) ) (connector - (pt 1248 -120) - (pt 1344 -120) + (pt 472 1200) + (pt 600 1200) ) (connector - (pt 1248 -136) - (pt 1344 -136) + (pt 944 1640) + (pt 944 1072) + (color 255 101 9) ) (connector - (pt 1248 -152) - (pt 1344 -152) + (pt 944 1072) + (pt 328 1072) + (color 255 101 9) ) -(junction (pt 472 440)) -(junction (pt 712 440)) -(junction (pt 680 208)) -(junction (pt 616 224)) -(junction (pt 648 224)) -(junction (pt 664 224)) -(junction (pt 360 -72)) -(junction (pt 376 -56)) -(junction (pt 392 -40)) -(junction (pt 408 -24)) -(junction (pt 424 -8)) -(junction (pt 440 8)) -(junction (pt 456 24)) -(junction (pt 472 40)) -(junction (pt 832 -152)) -(junction (pt 848 -136)) -(junction (pt 656 -72)) -(junction (pt 264 480)) -(junction (pt 504 464)) -(junction (pt 936 -120)) -(junction (pt 808 440)) -(junction (pt 328 -56)) -(junction (pt 1144 -152)) -(junction (pt 1144 -168)) -(junction (pt 1144 -184)) -(text "B" (rect 784 -160 792 -146)(font "Arial" (font_size 8))) -(text "A" (rect 800 -136 809 -122)(font "Arial" (font_size 8))) -(text "Q" (rect 792 -112 801 -98)(font "Arial" (font_size 8))) +(connector + (pt 328 1088) + (pt 328 1072) + (color 255 101 9) +) +(connector + (pt 280 1256) + (pt 280 1056) + (color 0 128 128) +) +(connector + (pt 136 1040) + (pt 136 1288) + (color 0 0 0) +) +(connector + (pt 136 1288) + (pt 136 2104) + (color 0 0 0) +) +(connector + (pt 344 1088) + (pt 344 1024) +) +(connector + (pt 360 1088) + (pt 360 1024) +) +(connector + (pt 376 1088) + (pt 376 1024) +) +(connector + (pt 392 1088) + (pt 392 1024) +) +(connector + (pt 408 1088) + (pt 408 1024) +) +(connector + (pt 424 1088) + (pt 424 1024) +) +(connector + (pt 440 1088) + (pt 440 1024) +) +(connector + (pt 456 1088) + (pt 456 1024) +) +(connector + (pt 280 1056) + (pt 328 1056) + (color 0 128 128) +) +(connector + (pt 328 1056) + (pt 328 1024) + (color 0 128 128) +) +(connector + (pt 312 1040) + (pt 312 1024) + (color 0 0 0) +) +(connector + (pt 136 1040) + (pt 312 1040) + (color 0 0 0) +) +(connector + (pt 312 928) + (pt 312 912) +) +(connector + (pt 328 928) + (pt 328 912) +) +(connector + (pt 344 928) + (pt 344 912) +) +(connector + (pt 360 928) + (pt 360 912) +) +(connector + (pt 376 928) + (pt 376 912) +) +(connector + (pt 392 928) + (pt 392 912) +) +(connector + (pt 408 928) + (pt 408 912) +) +(connector + (pt 424 928) + (pt 424 912) +) +(connector + (pt 1272 1352) + (pt 1304 1352) +) +(connector + (pt 1272 1368) + (pt 1304 1368) +) +(connector + (pt 1272 1384) + (pt 1304 1384) +) +(connector + (pt 1272 1400) + (pt 1288 1400) +) +(connector + (pt 1288 1400) + (pt 1304 1400) +) +(connector + (pt 1160 1304) + (pt 1160 1248) + (color 0 128 128) +) +(connector + (pt 1160 1248) + (pt 1144 1248) + (color 0 128 128) +) +(connector + (pt 280 1256) + (pt 840 1256) + (color 0 128 128) +) +(connector + (pt 840 1256) + (pt 1080 1256) + (color 0 128 128) +) +(connector + (pt 656 1888) + (pt 656 1984) +) +(connector + (pt 672 1888) + (pt 672 1968) +) +(connector + (pt 688 1888) + (pt 688 1984) +) +(connector + (pt 704 1888) + (pt 704 1984) +) +(connector + (pt 720 1888) + (pt 720 1968) +) +(connector + (pt 736 1888) + (pt 736 1984) +) +(connector + (pt 752 1888) + (pt 752 1984) +) +(connector + (pt 768 1888) + (pt 768 1984) +) +(connector + (pt 784 1888) + (pt 784 1968) +) +(connector + (pt 800 1888) + (pt 800 1968) +) +(connector + (pt 816 1888) + (pt 816 1968) +) +(connector + (pt 832 1888) + (pt 832 1968) +) +(connector + (pt 848 1888) + (pt 848 1984) +) +(connector + (pt 864 1888) + (pt 864 1984) +) +(connector + (pt 880 1888) + (pt 880 1984) +) +(connector + (pt 896 1888) + (pt 896 1984) +) +(connector + (pt 656 1984) + (pt 688 1984) +) +(connector + (pt 688 1984) + (pt 704 1984) +) +(connector + (pt 704 1984) + (pt 736 1984) +) +(connector + (pt 736 1984) + (pt 752 1984) +) +(connector + (pt 752 1984) + (pt 768 1984) +) +(connector + (pt 672 1968) + (pt 720 1968) +) +(connector + (pt 768 1984) + (pt 848 1984) +) +(connector + (pt 848 1984) + (pt 864 1984) +) +(connector + (pt 864 1984) + (pt 880 1984) +) +(connector + (pt 720 1968) + (pt 784 1968) +) +(connector + (pt 784 1968) + (pt 800 1968) +) +(connector + (pt 800 1968) + (pt 816 1968) +) +(connector + (pt 1032 1984) + (pt 1032 2016) +) +(connector + (pt 880 1984) + (pt 896 1984) +) +(connector + (pt 896 1984) + (pt 1032 1984) +) +(connector + (pt 1032 1968) + (pt 1032 1944) +) +(connector + (pt 816 1968) + (pt 832 1968) +) +(connector + (pt 832 1968) + (pt 1032 1968) +) +(connector + (pt 912 1888) + (pt 912 1944) +) +(connector + (pt 912 1944) + (pt 920 1944) +) +(connector + (pt 976 1944) + (pt 968 1944) +) +(connector + (pt 976 1920) + (pt 976 1944) +) +(connector + (pt 928 1888) + (pt 928 1920) +) +(connector + (pt 928 1920) + (pt 976 1920) +) +(connector + (pt 976 1920) + (pt 1160 1920) +) +(connector + (pt 1192 1888) + (pt 1160 1888) +) +(connector + (pt 1160 1872) + (pt 1144 1872) +) +(connector + (pt 976 1568) + (pt 1248 1568) +) +(connector + (pt 1096 1840) + (pt 1096 1872) +) +(connector + (pt 1064 1856) + (pt 1128 1856) +) +(connector + (pt 1128 1856) + (pt 1144 1856) +) +(connector + (pt 1160 1888) + (pt 1160 1920) +) +(connector + (pt 1096 1872) + (pt 1096 2040) +) +(connector + (pt 1112 1840) + (pt 1112 2040) +) +(connector + (pt 1128 1856) + (pt 1128 2040) +) +(connector + (pt 1144 1872) + (pt 1144 2040) +) +(connector + (pt 1160 1920) + (pt 1160 2040) +) +(connector + (pt 1112 2136) + (pt 1112 2152) +) +(connector + (pt 1128 2136) + (pt 1128 2152) +) +(connector + (pt 1096 2136) + (pt 1096 2152) +) +(connector + (pt 1184 1904) + (pt 1184 1936) +) +(connector + (pt 1008 1904) + (pt 1184 1904) +) +(connector + (pt 1184 1904) + (pt 1208 1904) +) +(connector + (pt 1192 2000) + (pt 1192 2040) +) +(connector + (pt 1248 2024) + (pt 1248 1568) +) +(connector + (pt 1248 2024) + (pt 1176 2024) +) +(connector + (pt 1176 2000) + (pt 1176 2024) +) +(connector + (pt 1176 2024) + (pt 1176 2040) +) +(connector + (pt 1104 1344) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 1176 1384) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 800 1344) + (pt 1104 1344) + (color 255 45 129) +) +(connector + (pt 1072 1240) + (pt 1080 1240) +) +(connector + (pt 976 1568) + (pt 976 1232) +) +(connector + (pt 976 1232) + (pt 992 1232) +) +(connector + (pt 1080 1248) + (pt 1056 1248) +) +(connector + (pt 1056 1248) + (pt 1056 1232) +) +(connector + (pt 1056 1232) + (pt 1040 1232) +) +(connector + (pt 1072 1240) + (pt 1072 1192) +) +(connector + (pt 664 1192) + (pt 872 1192) +) +(connector + (pt 872 1192) + (pt 992 1192) +) +(connector + (pt 1040 1192) + (pt 1072 1192) +) +(junction (pt 528 1336)) +(junction (pt 512 1320)) +(junction (pt 216 2104)) +(junction (pt 456 2104)) +(junction (pt 1288 1400)) +(junction (pt 472 1440)) +(junction (pt 472 1480)) +(junction (pt 1160 1336)) +(junction (pt 1160 1352)) +(junction (pt 456 1592)) +(junction (pt 440 1576)) +(junction (pt 424 1560)) +(junction (pt 408 1544)) +(junction (pt 392 1528)) +(junction (pt 376 1512)) +(junction (pt 360 1496)) +(junction (pt 344 1480)) +(junction (pt 1096 1872)) +(junction (pt 1160 1920)) +(junction (pt 1160 1368)) +(junction (pt 248 2088)) +(junction (pt 488 2072)) +(junction (pt 1128 1856)) +(junction (pt 840 1256)) +(junction (pt 136 1288)) +(junction (pt 472 1200)) +(junction (pt 976 1920)) +(junction (pt 720 1968)) +(junction (pt 688 1984)) +(junction (pt 704 1984)) +(junction (pt 736 1984)) +(junction (pt 752 1984)) +(junction (pt 768 1984)) +(junction (pt 848 1984)) +(junction (pt 784 1968)) +(junction (pt 864 1984)) +(junction (pt 880 1984)) +(junction (pt 896 1984)) +(junction (pt 800 1968)) +(junction (pt 816 1968)) +(junction (pt 832 1968)) +(junction (pt 1184 1904)) +(junction (pt 1176 2024)) +(junction (pt 872 1192)) +(text "B" (rect 488 1328 496 1342)(font "Arial" (font_size 8))) +(text "A" (rect 488 1312 497 1326)(font "Arial" (font_size 8))) +(text "Q" (rect 488 1352 497 1366)(font "Arial" (font_size 8))) +(text "overflow" (rect 480 1272 557 1291)(font "Arial" (color 255 45 129)(font_size 12)(bold))) +(text "zero" (rect 520 1432 560 1451)(font "Arial" (color 101 0 223)(font_size 12)(bold))) +(rectangle (rect 520 1456 664 1616)(color 101 0 223)(line_width 2)) +(rectangle (rect 480 1296 808 1424)(color 255 45 129)(line_width 2)) +(rectangle (rect 648 1960 728 1992)(color 0 128 0)) +(rectangle (rect 776 1960 856 1992)(color 0 128 0)) diff --git a/ALU_3_in_1/ALU_3_in_1.bsf b/ALU_3_in_1/ALU_3_in_1.bsf index df9cbfa..e0313d5 100644 --- a/ALU_3_in_1/ALU_3_in_1.bsf +++ b/ALU_3_in_1/ALU_3_in_1.bsf @@ -20,121 +20,121 @@ applicable agreement for further details. */ (header "symbol" (version "1.1")) (symbol - (rect 16 16 144 400) + (rect 64 64 192 480) (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) - (text "inst" (rect 8 368 25 380)(font "Arial" )) + (text "inst" (rect 8 400 25 412)(font "Arial" )) (port - (pt 0 32) + (pt 0 144) (input) (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A0" (rect 21 27 37 41)(font "Arial" (font_size 8))) - (line (pt 0 32)(pt 16 32)(line_width 1)) - ) - (port - (pt 0 48) - (input) - (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A1" (rect 21 43 37 57)(font "Arial" (font_size 8))) - (line (pt 0 48)(pt 16 48)(line_width 1)) - ) - (port - (pt 0 64) - (input) - (text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A2" (rect 21 59 37 73)(font "Arial" (font_size 8))) - (line (pt 0 64)(pt 16 64)(line_width 1)) - ) - (port - (pt 0 80) - (input) - (text "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A3" (rect 21 75 37 89)(font "Arial" (font_size 8))) - (line (pt 0 80)(pt 16 80)(line_width 1)) - ) - (port - (pt 0 96) - (input) - (text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A4" (rect 21 91 37 105)(font "Arial" (font_size 8))) - (line (pt 0 96)(pt 16 96)(line_width 1)) - ) - (port - (pt 0 112) - (input) - (text "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A5" (rect 21 107 37 121)(font "Arial" (font_size 8))) - (line (pt 0 112)(pt 16 112)(line_width 1)) + (text "A0" (rect 21 139 37 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) ) (port (pt 0 128) (input) - (text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A6" (rect 21 123 37 137)(font "Arial" (font_size 8))) + (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A1" (rect 21 123 37 137)(font "Arial" (font_size 8))) (line (pt 0 128)(pt 16 128)(line_width 1)) ) (port - (pt 0 144) + (pt 0 112) + (input) + (text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A2" (rect 21 107 37 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A3" (rect 21 91 37 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A4" (rect 21 75 37 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A5" (rect 21 59 37 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A6" (rect 21 43 37 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 32) (input) (text "A7" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "A7" (rect 21 139 37 153)(font "Arial" (font_size 8))) - (line (pt 0 144)(pt 16 144)(line_width 1)) - ) - (port - (pt 0 160) - (input) - (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B0" (rect 21 155 36 169)(font "Arial" (font_size 8))) - (line (pt 0 160)(pt 16 160)(line_width 1)) - ) - (port - (pt 0 176) - (input) - (text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B1" (rect 21 171 36 185)(font "Arial" (font_size 8))) - (line (pt 0 176)(pt 16 176)(line_width 1)) - ) - (port - (pt 0 192) - (input) - (text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B2" (rect 21 187 36 201)(font "Arial" (font_size 8))) - (line (pt 0 192)(pt 16 192)(line_width 1)) - ) - (port - (pt 0 208) - (input) - (text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B3" (rect 21 203 36 217)(font "Arial" (font_size 8))) - (line (pt 0 208)(pt 16 208)(line_width 1)) - ) - (port - (pt 0 224) - (input) - (text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B4" (rect 21 219 36 233)(font "Arial" (font_size 8))) - (line (pt 0 224)(pt 16 224)(line_width 1)) - ) - (port - (pt 0 240) - (input) - (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B5" (rect 21 235 36 249)(font "Arial" (font_size 8))) - (line (pt 0 240)(pt 16 240)(line_width 1)) - ) - (port - (pt 0 256) - (input) - (text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B6" (rect 21 251 36 265)(font "Arial" (font_size 8))) - (line (pt 0 256)(pt 16 256)(line_width 1)) + (text "A7" (rect 21 27 37 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 0 272) (input) - (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "B7" (rect 21 267 36 281)(font "Arial" (font_size 8))) + (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B0" (rect 21 267 36 281)(font "Arial" (font_size 8))) (line (pt 0 272)(pt 16 272)(line_width 1)) ) + (port + (pt 0 256) + (input) + (text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B1" (rect 21 251 36 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B2" (rect 21 235 36 249)(font "Arial" (font_size 8))) + (line (pt 0 240)(pt 16 240)(line_width 1)) + ) + (port + (pt 0 224) + (input) + (text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B3" (rect 21 219 36 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B4" (rect 21 203 36 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B5" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B6" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B7" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) (port (pt 0 288) (input) @@ -164,90 +164,111 @@ applicable agreement for further details. (line (pt 0 336)(pt 16 336)(line_width 1)) ) (port - (pt 128 32) - (output) - (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q0" (rect 91 27 107 41)(font "Arial" (font_size 8))) - (line (pt 128 32)(pt 112 32)(line_width 1)) + (pt 0 368) + (input) + (text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S1" (rect 21 363 36 377)(font "Arial" (font_size 8))) + (line (pt 0 368)(pt 16 368)(line_width 1)) ) (port - (pt 128 48) - (output) - (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q1" (rect 91 43 107 57)(font "Arial" (font_size 8))) - (line (pt 128 48)(pt 112 48)(line_width 1)) + (pt 0 384) + (input) + (text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S0" (rect 21 379 36 393)(font "Arial" (font_size 8))) + (line (pt 0 384)(pt 16 384)(line_width 1)) ) (port - (pt 128 64) - (output) - (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q2" (rect 91 59 107 73)(font "Arial" (font_size 8))) - (line (pt 128 64)(pt 112 64)(line_width 1)) - ) - (port - (pt 128 80) - (output) - (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q3" (rect 91 75 107 89)(font "Arial" (font_size 8))) - (line (pt 128 80)(pt 112 80)(line_width 1)) - ) - (port - (pt 128 96) - (output) - (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q4" (rect 91 91 107 105)(font "Arial" (font_size 8))) - (line (pt 128 96)(pt 112 96)(line_width 1)) - ) - (port - (pt 128 112) - (output) - (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q5" (rect 91 107 107 121)(font "Arial" (font_size 8))) - (line (pt 128 112)(pt 112 112)(line_width 1)) - ) - (port - (pt 128 128) - (output) - (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q6" (rect 91 123 107 137)(font "Arial" (font_size 8))) - (line (pt 128 128)(pt 112 128)(line_width 1)) + (pt 0 352) + (input) + (text "S2" (rect 24 344 39 358)(font "Arial" (font_size 8))) + (text "S2" (rect 24 344 39 358)(font "Arial" (font_size 8))) + (line (pt 0 352)(pt 16 352)(line_width 1)) ) (port (pt 128 144) (output) - (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Q7" (rect 91 139 107 153)(font "Arial" (font_size 8))) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 91 139 107 153)(font "Arial" (font_size 8))) (line (pt 128 144)(pt 112 144)(line_width 1)) ) (port - (pt 128 160) + (pt 128 128) (output) - (text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8))) - (text "FLG_V" (rect 67 155 107 169)(font "Arial" (font_size 8))) - (line (pt 128 160)(pt 112 160)(line_width 1)) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 91 123 107 137)(font "Arial" (font_size 8))) + (line (pt 128 128)(pt 112 128)(line_width 1)) + ) + (port + (pt 128 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 91 107 107 121)(font "Arial" (font_size 8))) + (line (pt 128 112)(pt 112 112)(line_width 1)) + ) + (port + (pt 128 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 91 91 107 105)(font "Arial" (font_size 8))) + (line (pt 128 96)(pt 112 96)(line_width 1)) + ) + (port + (pt 128 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 91 75 107 89)(font "Arial" (font_size 8))) + (line (pt 128 80)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 91 59 107 73)(font "Arial" (font_size 8))) + (line (pt 128 64)(pt 112 64)(line_width 1)) + ) + (port + (pt 128 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 91 43 107 57)(font "Arial" (font_size 8))) + (line (pt 128 48)(pt 112 48)(line_width 1)) + ) + (port + (pt 128 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 91 27 107 41)(font "Arial" (font_size 8))) + (line (pt 128 32)(pt 112 32)(line_width 1)) ) (port (pt 128 176) (output) - (text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8))) - (text "FLG_N" (rect 69 171 107 185)(font "Arial" (font_size 8))) + (text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8))) + (text "FLG_V" (rect 67 171 107 185)(font "Arial" (font_size 8))) (line (pt 128 176)(pt 112 176)(line_width 1)) ) (port (pt 128 192) (output) - (text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8))) - (text "FLG_Z" (rect 69 187 107 201)(font "Arial" (font_size 8))) + (text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8))) + (text "FLG_N" (rect 69 187 107 201)(font "Arial" (font_size 8))) (line (pt 128 192)(pt 112 192)(line_width 1)) ) (port (pt 128 208) (output) - (text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8))) - (text "FLG_C" (rect 69 203 107 217)(font "Arial" (font_size 8))) + (text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8))) + (text "FLG_Z" (rect 69 203 107 217)(font "Arial" (font_size 8))) (line (pt 128 208)(pt 112 208)(line_width 1)) ) + (port + (pt 128 160) + (output) + (text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8))) + (text "FLG_C" (rect 69 155 107 169)(font "Arial" (font_size 8))) + (line (pt 128 160)(pt 112 160)(line_width 1)) + ) (drawing - (rectangle (rect 16 16 112 368)(line_width 1)) + (rectangle (rect 16 16 112 400)(line_width 1)) ) ) diff --git a/machine_alpha/ALU_3_in_1.bdf b/machine_alpha/ALU_3_in_1.bdf index 40a3196..9b20d4f 100644 --- a/machine_alpha/ALU_3_in_1.bdf +++ b/machine_alpha/ALU_3_in_1.bdf @@ -4,7 +4,7 @@ editor if you plan to continue editing the block that represents it in the Block Editor! File corruption is VERY likely to occur. */ /* -Copyright (C) 1991-2009 Altera Corporation +Copyright (C) 1991-2008 Altera Corporation Your use of Altera Corporation's design tools, logic functions and other software and tools, and its AMPP partner logic functions, and any output files from any of the foregoing @@ -362,7 +362,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1104 2120 1120 2288) + (rect 1104 2152 1120 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S1" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -379,7 +379,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1120 2120 1136 2288) + (rect 1120 2152 1136 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S0" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -396,7 +396,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1088 2120 1104 2288) + (rect 1088 2152 1104 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S2" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -1653,7 +1653,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1064 2008 1256 2104) + (rect 1064 2040 1256 2136) (text "38_decoder" (rect 0 23 14 91)(font "Arial" (font_size 8))(vertical)) (text "inst6" (rect 174 63 186 86)(font "Arial" )(vertical)) (port @@ -1963,7 +1963,7 @@ applicable agreement for further details. (flipy) ) (symbol - (rect 1032 1968 1064 2000) + (rect 1016 2016 1048 2048) (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) (text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible)) (port @@ -1980,7 +1980,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1032 1880 1064 1896) + (rect 1016 1928 1048 1944) (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) (text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible)) (port @@ -2131,7 +2131,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 1184 1920 1232 1984) + (rect 1160 1936 1208 2000) (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) (text "ALU1" (rect 38 37 50 64)(font "Arial" )(vertical)) (port @@ -2280,21 +2280,21 @@ applicable agreement for further details. (port (pt 232 32) (input) - (text "LM" (rect -56 0 -40 14)(font "Arial" (font_size 8))) + (text "LM" (rect -24 0 -8 14)(font "Arial" (font_size 8))) (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) (line (pt 216 32)(pt 232 32)(line_width 1)) ) (port (pt 232 48) (input) - (text "DM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "DM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) (line (pt 216 48)(pt 232 48)(line_width 1)) ) (port (pt 232 64) (input) - (text "RM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "RM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) (line (pt 216 64)(pt 232 64)(line_width 1)) ) @@ -2309,69 +2309,69 @@ applicable agreement for further details. (pt 32 96) (input) (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) - (text "L_in" (rect 24 48 38 71)(font "Arial" (font_size 8))(vertical)) + (text "L_in" (rect 24 49 38 72)(font "Arial" (font_size 8))(vertical)) (line (pt 32 96)(pt 32 80)(line_width 1)) ) (port (pt 48 0) (output) - (text "Y7" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) (line (pt 48 0)(pt 48 16)(line_width 1)) ) (port (pt 64 0) (output) - (text "Y6" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) (line (pt 64 0)(pt 64 16)(line_width 1)) ) (port (pt 80 0) (output) - (text "Y5" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) (line (pt 80 0)(pt 80 16)(line_width 1)) ) (port (pt 96 0) (output) - (text "Y4" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) (line (pt 96 0)(pt 96 16)(line_width 1)) ) (port (pt 112 0) (output) - (text "Y3" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) (line (pt 112 0)(pt 112 16)(line_width 1)) ) (port (pt 128 0) (output) - (text "Y2" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) (line (pt 128 0)(pt 128 16)(line_width 1)) ) (port (pt 144 0) (output) - (text "Y1" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) (line (pt 144 0)(pt 144 16)(line_width 1)) ) (port (pt 160 0) (output) - (text "Y0" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) (line (pt 160 0)(pt 160 16)(line_width 1)) ) (port (pt 32 0) (output) - (text "C8" (rect 192 0 207 14)(font "Arial" (font_size 8))) + (text "C8" (rect 160 0 175 14)(font "Arial" (font_size 8))) (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) (line (pt 32 0)(pt 32 16)(line_width 1)) ) @@ -2379,36 +2379,119 @@ applicable agreement for further details. (rectangle (rect 16 16 216 80)(line_width 1)) ) ) +(symbol + (rect 920 1928 968 1960) + (text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6))) + (text "inst2" (rect 22 -1 45 11)(font "Arial" )) + (port + (pt 48 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) + (line (pt 48 16)(pt 35 16)(line_width 1)) + ) + (port + (pt 0 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) + (line (pt 9 16)(pt 0 16)(line_width 1)) + ) + (drawing + (line (pt 35 7)(pt 35 25)(line_width 1)) + (line (pt 35 25)(pt 17 16)(line_width 1)) + (line (pt 35 7)(pt 17 16)(line_width 1)) + (circle (rect 9 12 17 20)(line_width 1)) + ) + (rotate180) +) +(symbol + (rect 992 1216 1040 1248) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) (symbol (rect 1080 1224 1144 1272) - (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) - (text "inst50" (rect 3 37 32 49)(font "Arial" )) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 14 16)(line_width 1)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) ) (port (pt 0 32) (input) - (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) - (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) - (line (pt 0 32)(pt 14 32)(line_width 1)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 64 24) (output) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) - (line (pt 42 24)(pt 64 24)(line_width 1)) + (line (pt 43 24)(pt 64 24)(line_width 1)) ) (drawing - (line (pt 14 12)(pt 30 12)(line_width 1)) - (line (pt 14 37)(pt 31 37)(line_width 1)) - (line (pt 14 12)(pt 14 37)(line_width 1)) - (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 992 1176 1040 1208) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) ) ) (connector @@ -2599,10 +2682,6 @@ applicable agreement for further details. (pt 664 1728) (pt 664 1736) ) -(connector - (pt 1144 1872) - (pt 1160 1872) -) (connector (pt 1096 1872) (pt 1048 1872) @@ -2623,10 +2702,6 @@ applicable agreement for further details. (pt 1048 1840) (pt 1048 1872) ) -(connector - (pt 1160 1888) - (pt 1192 1888) -) (connector (pt 1192 1840) (pt 1192 1888) @@ -2651,86 +2726,6 @@ applicable agreement for further details. (pt 664 1736) (pt 720 1736) ) -(connector - (pt 656 1888) - (pt 656 1952) -) -(connector - (pt 688 1888) - (pt 688 1952) -) -(connector - (pt 704 1888) - (pt 704 1952) -) -(connector - (pt 736 1888) - (pt 736 1952) -) -(connector - (pt 752 1888) - (pt 752 1952) -) -(connector - (pt 768 1888) - (pt 768 1952) -) -(connector - (pt 848 1888) - (pt 848 1952) -) -(connector - (pt 864 1888) - (pt 864 1952) -) -(connector - (pt 880 1888) - (pt 880 1952) -) -(connector - (pt 896 1888) - (pt 896 1952) -) -(connector - (pt 672 1888) - (pt 672 1936) -) -(connector - (pt 720 1888) - (pt 720 1936) -) -(connector - (pt 784 1888) - (pt 784 1936) -) -(connector - (pt 800 1888) - (pt 800 1936) -) -(connector - (pt 816 1888) - (pt 816 1936) -) -(connector - (pt 832 1888) - (pt 832 1936) -) -(connector - (pt 912 1888) - (pt 912 1904) -) -(connector - (pt 1192 2008) - (pt 1192 2000) -) -(connector - (pt 1160 1920) - (pt 928 1920) -) -(connector - (pt 928 1888) - (pt 928 1920) -) (connector (pt 656 1536) (pt 1120 1536) @@ -2782,10 +2777,6 @@ applicable agreement for further details. (pt 632 1360) (color 138 138 138) ) -(connector - (pt 1048 1936) - (pt 1048 1896) -) (connector (pt 904 1712) (pt 1152 1712) @@ -2802,18 +2793,6 @@ applicable agreement for further details. (pt 872 1744) (pt 1056 1744) ) -(connector - (pt 1176 1992) - (pt 1200 1992) -) -(connector - (pt 1216 2000) - (pt 1216 1984) -) -(connector - (pt 1200 1992) - (pt 1200 1984) -) (connector (pt 584 1728) (pt 584 1776) @@ -2882,22 +2861,6 @@ applicable agreement for further details. (pt 568 1728) (pt 568 1920) ) -(connector - (pt 1112 1840) - (pt 1112 2008) -) -(connector - (pt 1128 1856) - (pt 1128 2008) -) -(connector - (pt 1144 1872) - (pt 1144 2008) -) -(connector - (pt 1176 1992) - (pt 1176 2008) -) (connector (pt 720 1736) (pt 720 1792) @@ -2918,10 +2881,6 @@ applicable agreement for further details. (pt 656 1768) (pt 656 1792) ) -(connector - (pt 1048 1952) - (pt 1048 1968) -) (connector (pt 1200 1696) (pt 1200 1776) @@ -3002,18 +2961,6 @@ applicable agreement for further details. (pt 808 2040) (pt 808 2120) ) -(connector - (pt 1112 2104) - (pt 1112 2120) -) -(connector - (pt 1128 2104) - (pt 1128 2120) -) -(connector - (pt 1096 2104) - (pt 1096 2120) -) (connector (pt 168 1336) (pt 528 1336) @@ -3030,10 +2977,6 @@ applicable agreement for further details. (pt 512 1320) (pt 560 1320) ) -(connector - (pt 656 1952) - (pt 688 1952) -) (connector (pt 344 1480) (pt 472 1480) @@ -3044,74 +2987,6 @@ applicable agreement for further details. (pt 528 1480) (color 138 138 138) ) -(connector - (pt 672 1936) - (pt 720 1936) -) -(connector - (pt 720 1936) - (pt 784 1936) -) -(connector - (pt 784 1936) - (pt 800 1936) -) -(connector - (pt 800 1936) - (pt 816 1936) -) -(connector - (pt 816 1936) - (pt 832 1936) -) -(connector - (pt 832 1936) - (pt 1048 1936) -) -(connector - (pt 912 1904) - (pt 1008 1904) -) -(connector - (pt 1008 1904) - (pt 1208 1904) -) -(connector - (pt 688 1952) - (pt 704 1952) -) -(connector - (pt 704 1952) - (pt 736 1952) -) -(connector - (pt 736 1952) - (pt 752 1952) -) -(connector - (pt 752 1952) - (pt 768 1952) -) -(connector - (pt 768 1952) - (pt 848 1952) -) -(connector - (pt 848 1952) - (pt 864 1952) -) -(connector - (pt 864 1952) - (pt 880 1952) -) -(connector - (pt 880 1952) - (pt 896 1952) -) -(connector - (pt 896 1952) - (pt 1048 1952) -) (connector (pt 1160 1320) (pt 1160 1336) @@ -3120,46 +2995,10 @@ applicable agreement for further details. (pt 1160 1336) (pt 1160 1352) ) -(connector - (pt 1096 1840) - (pt 1096 1872) -) -(connector - (pt 1096 1872) - (pt 1096 2008) -) -(connector - (pt 1064 1856) - (pt 1128 1856) -) -(connector - (pt 1128 1856) - (pt 1144 1856) -) -(connector - (pt 1160 1888) - (pt 1160 1920) -) -(connector - (pt 1160 1920) - (pt 1160 2008) -) -(connector - (pt 1192 2000) - (pt 1216 2000) -) -(connector - (pt 1216 2000) - (pt 1248 2000) -) (connector (pt 1208 1840) (pt 1208 1904) ) -(connector - (pt 1208 1904) - (pt 1208 1920) -) (connector (pt 1160 1352) (pt 1160 1368) @@ -3184,14 +3023,6 @@ applicable agreement for further details. (pt 488 2072) (pt 488 2120) ) -(connector - (pt 1248 2000) - (pt 1248 1568) -) -(connector - (pt 1248 1568) - (pt 976 1568) -) (connector (pt 992 1776) (pt 840 1776) @@ -3270,21 +3101,6 @@ applicable agreement for further details. (pt 472 1480) (color 138 138 138) ) -(connector - (pt 1088 1344) - (pt 1088 1384) - (color 255 45 129) -) -(connector - (pt 1176 1384) - (pt 1088 1384) - (color 255 45 129) -) -(connector - (pt 800 1344) - (pt 1088 1344) - (color 255 45 129) -) (connector (pt 216 2016) (pt 216 2104) @@ -3320,10 +3136,6 @@ applicable agreement for further details. (pt 1176 1288) (color 0 0 0) ) -(connector - (pt 872 1192) - (pt 664 1192) -) (connector (pt 872 1744) (pt 872 1192) @@ -3597,35 +3409,323 @@ applicable agreement for further details. (color 0 128 128) ) (connector - (pt 976 1568) - (pt 976 1240) + (pt 656 1888) + (pt 656 1984) ) (connector - (pt 976 1240) + (pt 672 1888) + (pt 672 1968) +) +(connector + (pt 688 1888) + (pt 688 1984) +) +(connector + (pt 704 1888) + (pt 704 1984) +) +(connector + (pt 720 1888) + (pt 720 1968) +) +(connector + (pt 736 1888) + (pt 736 1984) +) +(connector + (pt 752 1888) + (pt 752 1984) +) +(connector + (pt 768 1888) + (pt 768 1984) +) +(connector + (pt 784 1888) + (pt 784 1968) +) +(connector + (pt 800 1888) + (pt 800 1968) +) +(connector + (pt 816 1888) + (pt 816 1968) +) +(connector + (pt 832 1888) + (pt 832 1968) +) +(connector + (pt 848 1888) + (pt 848 1984) +) +(connector + (pt 864 1888) + (pt 864 1984) +) +(connector + (pt 880 1888) + (pt 880 1984) +) +(connector + (pt 896 1888) + (pt 896 1984) +) +(connector + (pt 656 1984) + (pt 688 1984) +) +(connector + (pt 688 1984) + (pt 704 1984) +) +(connector + (pt 704 1984) + (pt 736 1984) +) +(connector + (pt 736 1984) + (pt 752 1984) +) +(connector + (pt 752 1984) + (pt 768 1984) +) +(connector + (pt 672 1968) + (pt 720 1968) +) +(connector + (pt 768 1984) + (pt 848 1984) +) +(connector + (pt 848 1984) + (pt 864 1984) +) +(connector + (pt 864 1984) + (pt 880 1984) +) +(connector + (pt 720 1968) + (pt 784 1968) +) +(connector + (pt 784 1968) + (pt 800 1968) +) +(connector + (pt 800 1968) + (pt 816 1968) +) +(connector + (pt 1032 1984) + (pt 1032 2016) +) +(connector + (pt 880 1984) + (pt 896 1984) +) +(connector + (pt 896 1984) + (pt 1032 1984) +) +(connector + (pt 1032 1968) + (pt 1032 1944) +) +(connector + (pt 816 1968) + (pt 832 1968) +) +(connector + (pt 832 1968) + (pt 1032 1968) +) +(connector + (pt 912 1888) + (pt 912 1944) +) +(connector + (pt 912 1944) + (pt 920 1944) +) +(connector + (pt 976 1944) + (pt 968 1944) +) +(connector + (pt 976 1920) + (pt 976 1944) +) +(connector + (pt 928 1888) + (pt 928 1920) +) +(connector + (pt 928 1920) + (pt 976 1920) +) +(connector + (pt 976 1920) + (pt 1160 1920) +) +(connector + (pt 1192 1888) + (pt 1160 1888) +) +(connector + (pt 1160 1872) + (pt 1144 1872) +) +(connector + (pt 976 1568) + (pt 1248 1568) +) +(connector + (pt 1096 1840) + (pt 1096 1872) +) +(connector + (pt 1064 1856) + (pt 1128 1856) +) +(connector + (pt 1128 1856) + (pt 1144 1856) +) +(connector + (pt 1160 1888) + (pt 1160 1920) +) +(connector + (pt 1096 1872) + (pt 1096 2040) +) +(connector + (pt 1112 1840) + (pt 1112 2040) +) +(connector + (pt 1128 1856) + (pt 1128 2040) +) +(connector + (pt 1144 1872) + (pt 1144 2040) +) +(connector + (pt 1160 1920) + (pt 1160 2040) +) +(connector + (pt 1112 2136) + (pt 1112 2152) +) +(connector + (pt 1128 2136) + (pt 1128 2152) +) +(connector + (pt 1096 2136) + (pt 1096 2152) +) +(connector + (pt 1184 1904) + (pt 1184 1936) +) +(connector + (pt 1008 1904) + (pt 1184 1904) +) +(connector + (pt 1184 1904) + (pt 1208 1904) +) +(connector + (pt 1192 2000) + (pt 1192 2040) +) +(connector + (pt 1248 2024) + (pt 1248 1568) +) +(connector + (pt 1248 2024) + (pt 1176 2024) +) +(connector + (pt 1176 2000) + (pt 1176 2024) +) +(connector + (pt 1176 2024) + (pt 1176 2040) +) +(connector + (pt 1104 1344) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 1176 1384) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 800 1344) + (pt 1104 1344) + (color 255 45 129) +) +(connector + (pt 1072 1240) (pt 1080 1240) ) +(connector + (pt 976 1568) + (pt 976 1232) +) +(connector + (pt 976 1232) + (pt 992 1232) +) +(connector + (pt 1080 1248) + (pt 1056 1248) +) +(connector + (pt 1056 1248) + (pt 1056 1232) +) +(connector + (pt 1056 1232) + (pt 1040 1232) +) +(connector + (pt 1072 1240) + (pt 1072 1192) +) +(connector + (pt 664 1192) + (pt 872 1192) +) +(connector + (pt 872 1192) + (pt 992 1192) +) +(connector + (pt 1040 1192) + (pt 1072 1192) +) (junction (pt 528 1336)) (junction (pt 512 1320)) (junction (pt 216 2104)) (junction (pt 456 2104)) -(junction (pt 688 1952)) -(junction (pt 704 1952)) (junction (pt 1288 1400)) (junction (pt 472 1440)) (junction (pt 472 1480)) -(junction (pt 720 1936)) -(junction (pt 784 1936)) -(junction (pt 800 1936)) -(junction (pt 816 1936)) -(junction (pt 832 1936)) -(junction (pt 1008 1904)) -(junction (pt 736 1952)) -(junction (pt 752 1952)) -(junction (pt 768 1952)) -(junction (pt 848 1952)) -(junction (pt 864 1952)) -(junction (pt 880 1952)) -(junction (pt 896 1952)) (junction (pt 1160 1336)) (junction (pt 1160 1352)) (junction (pt 456 1592)) @@ -3638,8 +3738,6 @@ applicable agreement for further details. (junction (pt 344 1480)) (junction (pt 1096 1872)) (junction (pt 1160 1920)) -(junction (pt 1216 2000)) -(junction (pt 1208 1904)) (junction (pt 1160 1368)) (junction (pt 248 2088)) (junction (pt 488 2072)) @@ -3647,6 +3745,24 @@ applicable agreement for further details. (junction (pt 840 1256)) (junction (pt 136 1288)) (junction (pt 472 1200)) +(junction (pt 976 1920)) +(junction (pt 720 1968)) +(junction (pt 688 1984)) +(junction (pt 704 1984)) +(junction (pt 736 1984)) +(junction (pt 752 1984)) +(junction (pt 768 1984)) +(junction (pt 848 1984)) +(junction (pt 784 1968)) +(junction (pt 864 1984)) +(junction (pt 880 1984)) +(junction (pt 896 1984)) +(junction (pt 800 1968)) +(junction (pt 816 1968)) +(junction (pt 832 1968)) +(junction (pt 1184 1904)) +(junction (pt 1176 2024)) +(junction (pt 872 1192)) (text "B" (rect 488 1328 496 1342)(font "Arial" (font_size 8))) (text "A" (rect 488 1312 497 1326)(font "Arial" (font_size 8))) (text "Q" (rect 488 1352 497 1366)(font "Arial" (font_size 8))) @@ -3654,5 +3770,5 @@ applicable agreement for further details. (text "zero" (rect 520 1432 560 1451)(font "Arial" (color 101 0 223)(font_size 12)(bold))) (rectangle (rect 520 1456 664 1616)(color 101 0 223)(line_width 2)) (rectangle (rect 480 1296 808 1424)(color 255 45 129)(line_width 2)) -(rectangle (rect 648 1928 728 1960)(color 0 128 0)) -(rectangle (rect 776 1928 856 1960)(color 0 128 0)) +(rectangle (rect 648 1960 728 1992)(color 0 128 0)) +(rectangle (rect 776 1960 856 1992)(color 0 128 0))