diff --git a/instructions.xlsx b/instructions.xlsx index 90c9cc4..f51f05f 100644 Binary files a/instructions.xlsx and b/instructions.xlsx differ diff --git a/machine_alpha/ALU_3_in_1.bdf b/machine_alpha/ALU_3_in_1.bdf index 11c56c7..f1a46c3 100644 --- a/machine_alpha/ALU_3_in_1.bdf +++ b/machine_alpha/ALU_3_in_1.bdf @@ -345,7 +345,7 @@ applicable agreement for further details. ) (pin (input) - (rect 848 584 864 752) + (rect 1000 584 1016 752) (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) @@ -362,7 +362,7 @@ applicable agreement for further details. ) (pin (input) - (rect 896 584 912 752) + (rect 1120 584 1136 752) (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 912 584 928 752) + (rect 1136 584 1152 752) (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) @@ -394,9 +394,26 @@ applicable agreement for further details. (rotate90) (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) ) +(pin + (input) + (rect 1104 584 1120 752) + (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 -792 448 -616) + (rect 432 -832 448 -656) (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) @@ -413,7 +430,7 @@ applicable agreement for further details. ) (pin (output) - (rect 416 -792 432 -616) + (rect 416 -832 432 -656) (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) @@ -430,7 +447,7 @@ applicable agreement for further details. ) (pin (output) - (rect 400 -792 416 -616) + (rect 400 -832 416 -656) (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) @@ -447,7 +464,7 @@ applicable agreement for further details. ) (pin (output) - (rect 384 -792 400 -616) + (rect 384 -832 400 -656) (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) @@ -464,7 +481,7 @@ applicable agreement for further details. ) (pin (output) - (rect 368 -792 384 -616) + (rect 368 -832 384 -656) (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) @@ -481,7 +498,7 @@ applicable agreement for further details. ) (pin (output) - (rect 352 -792 368 -616) + (rect 352 -832 368 -656) (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) @@ -498,7 +515,7 @@ applicable agreement for further details. ) (pin (output) - (rect 336 -792 352 -616) + (rect 336 -832 352 -656) (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) @@ -515,7 +532,7 @@ applicable agreement for further details. ) (pin (output) - (rect 320 -792 336 -616) + (rect 320 -832 336 -656) (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) @@ -820,7 +837,7 @@ applicable agreement for further details. ) ) (symbol - (rect 720 240 752 272) + (rect 584 240 616 272) (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) (text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible)) (port @@ -836,21 +853,6 @@ applicable agreement for further details. (line (pt 8 8)(pt 24 8)(line_width 1)) ) ) -(symbol - (rect 720 176 752 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 384 424 480) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) @@ -1122,7 +1124,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 296 -584 520 -488) + (rect 296 -624 520 -528) (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 @@ -1667,74 +1669,6 @@ applicable agreement for further details. (line (pt 8 8)(pt 24 8)(line_width 1)) ) ) -(symbol - (rect 872 448 1000 544) - (text "24_decoder" (rect 0 23 14 91)(font "Arial" (font_size 8))(vertical)) - (text "inst6" (rect 112 65 124 88)(font "Arial" )(vertical)) - (port - (pt 32 96) - (input) - (text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8))) - (text "I1" (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 "I0" (rect 0 0 9 14)(font "Arial" (font_size 8))) - (text "I0" (rect 43 66 57 75)(font "Arial" (font_size 8))(vertical)) - (line (pt 48 96)(pt 48 80)(line_width 1)) - ) - (port - (pt 32 0) - (output) - (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y3" (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 "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y2" (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 "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y1" (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 "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y0" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical)) - (line (pt 80 0)(pt 80 16)(line_width 1)) - ) - (drawing - (rectangle (rect 16 16 112 80)(line_width 1)) - ) - (rotate90) -) -(symbol - (rect 472 -296 504 -264) - (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) - (text "inst11" (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 968 56 1016 88) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) @@ -1761,7 +1695,7 @@ applicable agreement for further details. ) ) (symbol - (rect 312 -424 544 -328) + (rect 312 -464 544 -368) (text "shifter_8b" (rect 5 0 62 14)(font "Arial" (font_size 8))) (text "inst1" (rect 8 80 31 92)(font "Arial" )) (port @@ -2112,61 +2046,593 @@ applicable agreement for further details. (rectangle (rect 16 16 80 336)(line_width 1)) ) ) -(connector - (pt 632 192) - (pt 632 208) +(symbol + (rect 1080 472 1272 568) + (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 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 "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 + (rectangle (rect 16 16 176 80)(line_width 1)) + ) + (rotate90) ) -(connector - (pt 600 192) - (pt 600 224) +(symbol + (rect 640 264 992 360) + (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) ) -(connector - (pt 616 192) - (pt 616 224) +(symbol + (rect 1208 328 1256 392) + (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) ) -(connector - (pt 648 192) - (pt 648 224) +(symbol + (rect 1160 328 1208 392) + (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) ) -(connector - (pt 600 224) - (pt 616 224) +(symbol + (rect 1112 328 1160 392) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "right" (rect 37 38 49 59)(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) ) -(connector - (pt 616 224) - (pt 648 224) +(symbol + (rect 1064 328 1112 392) + (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) ) -(connector - (pt 736 208) - (pt 736 192) +(symbol + (rect 608 -392 672 -344) + (text "AND2" (rect 39 0 63 10)(font "Arial" (font_size 6))) + (text "inst15" (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) ) -(connector - (pt 680 192) - (pt 680 208) +(symbol + (rect 504 -352 568 -304) + (text "OR2" (rect 45 0 63 10)(font "Arial" (font_size 6))) + (text "inst16" (rect 32 37 61 49)(font "Arial" )) + (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 49 32)(line_width 1)) + ) + (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 49 16)(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 16 24)(pt 0 24)(line_width 1)) + ) + (drawing + (line (pt 50 36)(pt 39 36)(line_width 1)) + (line (pt 50 13)(pt 39 13)(line_width 1)) + (arc (pt 57 19)(pt 57 29)(rect 45 8 78 41)(line_width 1)) + (arc (pt 39 13)(pt 15 24)(rect 7 13 70 76)(line_width 1)) + (arc (pt 15 24)(pt 39 35)(rect 7 -27 70 36)(line_width 1)) + ) + (flipy) ) -(connector - (pt 632 208) - (pt 680 208) +(symbol + (rect 608 -312 672 -264) + (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) ) -(connector - (pt 680 208) - (pt 736 208) +(symbol + (rect 688 -344 720 -312) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst11" (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)) + ) ) -(connector - (pt 664 192) - (pt 664 224) +(symbol + (rect 800 -376 848 -344) + (text "NOT" (rect 27 0 47 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 22 21 45 33)(font "Arial" )) + (port + (pt 48 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 35 7 46 19)(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 7 16 19)(font "Courier New" (bold))(invisible)) + (line (pt 9 16)(pt 0 16)(line_width 1)) + ) + (drawing + (line (pt 35 25)(pt 35 7)(line_width 1)) + (line (pt 35 7)(pt 17 16)(line_width 1)) + (line (pt 35 25)(pt 17 16)(line_width 1)) + (circle (rect 9 12 17 20)(line_width 1)) + ) + (flipy) ) -(connector - (pt 648 224) - (pt 664 224) +(symbol + (rect 1016 400 1048 432) + (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)) + ) ) -(connector - (pt 664 224) - (pt 736 224) -) -(connector - (pt 736 224) - (pt 736 240) +(symbol + (rect 1016 344 1048 360) + (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)) + ) ) (connector (pt 264 552) @@ -2564,195 +3030,6 @@ applicable agreement for further details. (pt 760 568) (color 0 0 0) ) -(connector - (pt 904 584) - (pt 904 544) -) -(connector - (pt 920 584) - (pt 920 544) -) -(connector - (pt 344 -328) - (pt 344 -312) -) -(connector - (pt 344 -312) - (pt 488 -312) -) -(connector - (pt 360 -328) - (pt 360 -56) -) -(connector - (pt 360 -56) - (pt 360 104) -) -(connector - (pt 376 -328) - (pt 376 -40) -) -(connector - (pt 376 -40) - (pt 376 104) -) -(connector - (pt 392 -328) - (pt 392 -24) -) -(connector - (pt 392 -24) - (pt 392 104) -) -(connector - (pt 408 -328) - (pt 408 -8) -) -(connector - (pt 408 -8) - (pt 408 104) -) -(connector - (pt 424 -328) - (pt 424 8) -) -(connector - (pt 424 8) - (pt 424 104) -) -(connector - (pt 440 -328) - (pt 440 24) -) -(connector - (pt 440 24) - (pt 440 104) -) -(connector - (pt 456 -328) - (pt 456 40) -) -(connector - (pt 456 40) - (pt 456 104) -) -(connector - (pt 472 -328) - (pt 472 56) -) -(connector - (pt 472 56) - (pt 472 104) -) -(connector - (pt 488 -328) - (pt 488 -312) -) -(connector - (pt 488 -312) - (pt 488 -296) -) -(connector - (pt 344 -424) - (pt 344 -440) -) -(connector - (pt 328 -488) - (pt 328 -472) - (color 0 0 0) -) -(connector - (pt 344 -488) - (pt 344 -456) -) -(connector - (pt 344 -456) - (pt 296 -456) -) -(connector - (pt 360 -424) - (pt 360 -488) -) -(connector - (pt 376 -424) - (pt 376 -488) -) -(connector - (pt 392 -424) - (pt 392 -488) -) -(connector - (pt 408 -424) - (pt 408 -488) -) -(connector - (pt 424 -424) - (pt 424 -488) -) -(connector - (pt 440 -424) - (pt 440 -488) -) -(connector - (pt 456 -424) - (pt 456 -488) -) -(connector - (pt 472 -424) - (pt 472 -488) -) -(connector - (pt 328 -616) - (pt 328 -584) -) -(connector - (pt 344 -616) - (pt 344 -584) -) -(connector - (pt 360 -616) - (pt 360 -584) -) -(connector - (pt 376 -616) - (pt 376 -584) -) -(connector - (pt 392 -616) - (pt 392 -584) -) -(connector - (pt 408 -616) - (pt 408 -584) -) -(connector - (pt 424 -616) - (pt 424 -584) -) -(connector - (pt 440 -616) - (pt 440 -584) -) -(connector - (pt 920 448) - (pt 920 -392) -) -(connector - (pt 544 -392) - (pt 920 -392) -) -(connector - (pt 904 448) - (pt 904 -360) -) -(connector - (pt 544 -360) - (pt 904 -360) -) -(connector - (pt 344 -440) - (pt 952 -440) -) (connector (pt 1032 -184) (pt 1048 -184) @@ -2778,10 +3055,6 @@ applicable agreement for further details. (pt 488 -120) (pt 1048 -120) ) -(connector - (pt 952 -440) - (pt 952 40) -) (connector (pt 840 -88) (pt 1048 -88) @@ -2895,10 +3168,6 @@ applicable agreement for further details. (pt 1016 72) (pt 1048 72) ) -(connector - (pt 544 -376) - (pt 936 -376) -) (connector (pt 936 56) (pt 952 56) @@ -2907,45 +3176,6 @@ applicable agreement for further details. (pt 952 56) (pt 1048 56) ) -(connector - (pt 936 -376) - (pt 936 56) -) -(connector - (pt 936 56) - (pt 936 448) -) -(connector - (pt 328 -472) - (pt 208 -472) - (color 0 0 0) -) -(connector - (pt 296 -456) - (pt 296 -248) -) -(connector - (pt 856 -248) - (pt 856 584) -) -(connector - (pt 296 -248) - (pt 856 -248) -) -(connector - (pt 856 -248) - (pt 1160 -248) -) -(connector - (pt 152 -264) - (pt 208 -264) - (color 0 0 0) -) -(connector - (pt 208 -264) - (pt 1176 -264) - (color 0 0 0) -) (connector (pt 1144 -168) (pt 1192 -168) @@ -2998,10 +3228,6 @@ applicable agreement for further details. (pt 1288 -136) (pt 1328 -136) ) -(connector - (pt 1288 -120) - (pt 1328 -120) -) (connector (pt 1176 -264) (pt 1176 -232) @@ -3012,11 +3238,6 @@ applicable agreement for further details. (pt 1192 -232) (color 0 0 0) ) -(connector - (pt 208 -472) - (pt 208 -264) - (color 0 0 0) -) (connector (pt 152 568) (pt 152 -264) @@ -3030,10 +3251,659 @@ applicable agreement for further details. (pt 1032 8) (pt 1032 136) ) -(junction (pt 616 224)) -(junction (pt 648 224)) -(junction (pt 680 208)) -(junction (pt 664 224)) +(connector + (pt 1112 584) + (pt 1112 568) +) +(connector + (pt 1128 584) + (pt 1128 568) +) +(connector + (pt 1144 584) + (pt 1144 568) +) +(connector + (pt 600 192) + (pt 600 240) +) +(connector + (pt 616 192) + (pt 616 232) +) +(connector + (pt 632 192) + (pt 632 224) +) +(connector + (pt 648 192) + (pt 648 216) +) +(connector + (pt 664 192) + (pt 664 208) +) +(connector + (pt 680 192) + (pt 680 200) +) +(connector + (pt 1208 472) + (pt 1208 456) +) +(connector + (pt 1192 472) + (pt 1192 440) +) +(connector + (pt 1176 472) + (pt 1176 424) +) +(connector + (pt 1160 472) + (pt 1160 408) +) +(connector + (pt 1176 424) + (pt 1192 424) +) +(connector + (pt 1192 424) + (pt 1192 392) +) +(connector + (pt 1176 408) + (pt 1176 392) +) +(connector + (pt 1240 456) + (pt 1240 392) +) +(connector + (pt 1224 440) + (pt 1224 392) +) +(connector + (pt 1144 472) + (pt 1144 392) +) +(connector + (pt 1096 408) + (pt 1096 392) +) +(connector + (pt 1080 424) + (pt 1080 392) +) +(connector + (pt 1128 424) + (pt 1080 424) +) +(connector + (pt 1096 408) + (pt 1160 408) +) +(connector + (pt 1160 408) + (pt 1176 408) +) +(connector + (pt 1128 392) + (pt 1128 424) +) +(connector + (pt 1128 424) + (pt 1128 472) +) +(connector + (pt 440 -656) + (pt 440 -624) +) +(connector + (pt 424 -656) + (pt 424 -624) +) +(connector + (pt 408 -656) + (pt 408 -624) +) +(connector + (pt 392 -656) + (pt 392 -624) +) +(connector + (pt 376 -656) + (pt 376 -624) +) +(connector + (pt 360 -656) + (pt 360 -624) +) +(connector + (pt 344 -656) + (pt 344 -624) +) +(connector + (pt 328 -656) + (pt 328 -624) +) +(connector + (pt 296 -248) + (pt 296 -496) +) +(connector + (pt 208 -264) + (pt 208 -512) + (color 0 0 0) +) +(connector + (pt 296 -496) + (pt 344 -496) +) +(connector + (pt 208 -512) + (pt 328 -512) + (color 0 0 0) +) +(connector + (pt 328 -528) + (pt 328 -512) + (color 0 0 0) +) +(connector + (pt 344 -528) + (pt 344 -496) +) +(connector + (pt 152 -264) + (pt 208 -264) + (color 0 0 0) +) +(connector + (pt 208 -264) + (pt 1176 -264) + (color 0 0 0) +) +(connector + (pt 952 40) + (pt 952 -480) +) +(connector + (pt 360 -528) + (pt 360 -464) +) +(connector + (pt 376 -528) + (pt 376 -464) +) +(connector + (pt 392 -528) + (pt 392 -464) +) +(connector + (pt 408 -528) + (pt 408 -464) +) +(connector + (pt 424 -528) + (pt 424 -464) +) +(connector + (pt 440 -528) + (pt 440 -464) +) +(connector + (pt 456 -528) + (pt 456 -464) +) +(connector + (pt 472 -528) + (pt 472 -464) +) +(connector + (pt 344 -480) + (pt 344 -464) +) +(connector + (pt 952 -480) + (pt 344 -480) +) +(connector + (pt 360 -56) + (pt 360 104) +) +(connector + (pt 376 -40) + (pt 376 104) +) +(connector + (pt 392 -24) + (pt 392 104) +) +(connector + (pt 408 -8) + (pt 408 104) +) +(connector + (pt 424 8) + (pt 424 104) +) +(connector + (pt 440 24) + (pt 440 104) +) +(connector + (pt 456 40) + (pt 456 104) +) +(connector + (pt 472 56) + (pt 472 104) +) +(connector + (pt 360 -368) + (pt 360 -56) +) +(connector + (pt 376 -368) + (pt 376 -40) +) +(connector + (pt 392 -368) + (pt 392 -24) +) +(connector + (pt 408 -368) + (pt 408 -8) +) +(connector + (pt 424 -368) + (pt 424 8) +) +(connector + (pt 440 -368) + (pt 440 24) +) +(connector + (pt 456 -368) + (pt 456 40) +) +(connector + (pt 472 -368) + (pt 472 56) +) +(connector + (pt 592 -336) + (pt 568 -336) +) +(connector + (pt 488 -368) + (pt 488 -328) +) +(connector + (pt 344 -368) + (pt 344 -328) +) +(connector + (pt 344 -328) + (pt 488 -328) +) +(connector + (pt 488 -328) + (pt 504 -328) +) +(connector + (pt 888 -296) + (pt 672 -296) +) +(connector + (pt 592 -320) + (pt 592 -288) +) +(connector + (pt 568 -320) + (pt 592 -320) +) +(connector + (pt 608 -288) + (pt 592 -288) +) +(connector + (pt 672 -280) + (pt 744 -280) +) +(connector + (pt 1304 -120) + (pt 1304 -384) +) +(connector + (pt 1304 -384) + (pt 744 -384) +) +(connector + (pt 744 -280) + (pt 744 -384) +) +(connector + (pt 1288 -120) + (pt 1304 -120) +) +(connector + (pt 1304 -120) + (pt 1328 -120) +) +(connector + (pt 592 -368) + (pt 608 -368) +) +(connector + (pt 592 -336) + (pt 592 -368) +) +(connector + (pt 672 -360) + (pt 800 -360) +) +(connector + (pt 672 -376) + (pt 704 -376) +) +(connector + (pt 704 -376) + (pt 704 -344) +) +(connector + (pt 544 -416) + (pt 936 -416) +) +(connector + (pt 848 -360) + (pt 888 -360) +) +(connector + (pt 856 -248) + (pt 856 248) +) +(connector + (pt 1184 192) + (pt 920 192) +) +(connector + (pt 1184 328) + (pt 1184 192) +) +(connector + (pt 1232 176) + (pt 936 176) +) +(connector + (pt 1232 328) + (pt 1232 176) +) +(connector + (pt 1136 208) + (pt 904 208) +) +(connector + (pt 1136 328) + (pt 1136 208) +) +(connector + (pt 1008 584) + (pt 1008 248) +) +(connector + (pt 1008 248) + (pt 856 248) +) +(connector + (pt 1088 328) + (pt 1088 224) +) +(connector + (pt 1088 224) + (pt 888 224) +) +(connector + (pt 544 -432) + (pt 920 -432) +) +(connector + (pt 544 -400) + (pt 904 -400) +) +(connector + (pt 920 -432) + (pt 920 192) +) +(connector + (pt 904 -400) + (pt 904 208) +) +(connector + (pt 296 -248) + (pt 856 -248) +) +(connector + (pt 856 -248) + (pt 1160 -248) +) +(connector + (pt 888 -360) + (pt 888 -296) +) +(connector + (pt 888 -296) + (pt 888 224) +) +(connector + (pt 936 -416) + (pt 936 56) +) +(connector + (pt 936 56) + (pt 936 176) +) +(connector + (pt 616 232) + (pt 672 232) +) +(connector + (pt 672 232) + (pt 672 264) +) +(connector + (pt 632 224) + (pt 688 224) +) +(connector + (pt 688 224) + (pt 688 264) +) +(connector + (pt 648 216) + (pt 704 216) +) +(connector + (pt 704 216) + (pt 704 264) +) +(connector + (pt 664 208) + (pt 720 208) +) +(connector + (pt 720 208) + (pt 720 264) +) +(connector + (pt 680 200) + (pt 736 200) +) +(connector + (pt 736 200) + (pt 736 264) +) +(connector + (pt 928 456) + (pt 1208 456) +) +(connector + (pt 1208 456) + (pt 1240 456) +) +(connector + (pt 944 440) + (pt 1192 440) +) +(connector + (pt 1192 440) + (pt 1224 440) +) +(connector + (pt 928 360) + (pt 928 456) +) +(connector + (pt 944 360) + (pt 944 440) +) +(connector + (pt 1032 360) + (pt 1032 376) +) +(connector + (pt 1032 392) + (pt 1032 400) +) +(connector + (pt 912 360) + (pt 912 392) +) +(connector + (pt 912 392) + (pt 1032 392) +) +(connector + (pt 896 360) + (pt 896 392) +) +(connector + (pt 896 392) + (pt 912 392) +) +(connector + (pt 880 360) + (pt 880 392) +) +(connector + (pt 880 392) + (pt 896 392) +) +(connector + (pt 784 360) + (pt 784 392) +) +(connector + (pt 768 360) + (pt 768 392) +) +(connector + (pt 768 392) + (pt 784 392) +) +(connector + (pt 752 360) + (pt 752 392) +) +(connector + (pt 752 392) + (pt 768 392) +) +(connector + (pt 672 360) + (pt 672 392) +) +(connector + (pt 800 360) + (pt 800 376) +) +(connector + (pt 688 360) + (pt 688 376) +) +(connector + (pt 736 360) + (pt 736 376) +) +(connector + (pt 688 376) + (pt 736 376) +) +(connector + (pt 736 376) + (pt 800 376) +) +(connector + (pt 704 360) + (pt 704 392) +) +(connector + (pt 672 392) + (pt 704 392) +) +(connector + (pt 720 360) + (pt 720 392) +) +(connector + (pt 704 392) + (pt 720 392) +) +(connector + (pt 720 392) + (pt 752 392) +) +(connector + (pt 864 360) + (pt 864 392) +) +(connector + (pt 784 392) + (pt 864 392) +) +(connector + (pt 864 392) + (pt 880 392) +) +(connector + (pt 848 360) + (pt 848 376) +) +(connector + (pt 848 376) + (pt 1032 376) +) +(connector + (pt 832 360) + (pt 832 376) +) +(connector + (pt 832 376) + (pt 848 376) +) +(connector + (pt 816 360) + (pt 816 376) +) +(connector + (pt 800 376) + (pt 816 376) +) +(connector + (pt 816 376) + (pt 832 376) +) (junction (pt 472 568)) (junction (pt 232 568)) (junction (pt 264 552)) @@ -3053,7 +3923,6 @@ applicable agreement for further details. (junction (pt 824 0)) (junction (pt 1032 -8)) (junction (pt 1032 8)) -(junction (pt 488 -312)) (junction (pt 1032 -184)) (junction (pt 1032 -168)) (junction (pt 1032 -152)) @@ -3065,6 +3934,27 @@ applicable agreement for further details. (junction (pt 936 56)) (junction (pt 208 -264)) (junction (pt 856 -248)) +(junction (pt 1208 456)) +(junction (pt 1192 440)) +(junction (pt 1160 408)) +(junction (pt 1128 424)) +(junction (pt 1304 -120)) +(junction (pt 488 -328)) +(junction (pt 888 -296)) +(junction (pt 912 392)) +(junction (pt 896 392)) +(junction (pt 880 392)) +(junction (pt 784 392)) +(junction (pt 768 392)) +(junction (pt 752 392)) +(junction (pt 800 376)) +(junction (pt 736 376)) +(junction (pt 704 392)) +(junction (pt 720 392)) +(junction (pt 864 392)) +(junction (pt 848 376)) +(junction (pt 832 376)) +(junction (pt 816 376)) (text "B" (rect 504 -208 512 -194)(font "Arial" (font_size 8))) (text "A" (rect 504 -224 513 -210)(font "Arial" (font_size 8))) (text "Q" (rect 504 -184 513 -170)(font "Arial" (font_size 8))) diff --git a/machine_alpha/ALU_3_in_1.bsf b/machine_alpha/ALU_3_in_1.bsf index 3517b22..e0313d5 100644 --- a/machine_alpha/ALU_3_in_1.bsf +++ b/machine_alpha/ALU_3_in_1.bsf @@ -20,9 +20,9 @@ applicable agreement for further details. */ (header "symbol" (version "1.1")) (symbol - (rect 64 64 192 464) + (rect 64 64 192 480) (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) - (text "inst" (rect 8 384 25 396)(font "Arial" )) + (text "inst" (rect 8 400 25 412)(font "Arial" )) (port (pt 0 144) (input) @@ -163,20 +163,27 @@ applicable agreement for further details. (text "CP_Z" (rect 21 331 51 345)(font "Arial" (font_size 8))) (line (pt 0 336)(pt 16 336)(line_width 1)) ) - (port - (pt 0 352) - (input) - (text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "S1" (rect 21 347 36 361)(font "Arial" (font_size 8))) - (line (pt 0 352)(pt 16 352)(line_width 1)) - ) (port (pt 0 368) (input) - (text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "S0" (rect 21 363 36 377)(font "Arial" (font_size 8))) + (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 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 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) @@ -262,6 +269,6 @@ applicable agreement for further details. (line (pt 128 160)(pt 112 160)(line_width 1)) ) (drawing - (rectangle (rect 16 16 112 384)(line_width 1)) + (rectangle (rect 16 16 112 400)(line_width 1)) ) ) diff --git a/machine_alpha/machine_alpha.bdf b/machine_alpha/machine_alpha.bdf index 66e887f..eecd854 100644 --- a/machine_alpha/machine_alpha.bdf +++ b/machine_alpha/machine_alpha.bdf @@ -22,7 +22,7 @@ applicable agreement for further details. (header "graphic" (version "1.3")) (pin (input) - (rect 456 192 624 208) + (rect 456 344 624 360) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "CLR" (rect 5 0 27 12)(font "Arial" )) (pt 168 8) @@ -35,11 +35,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 408 208 456 224)) + (annotation_block (location)(rect 408 360 456 376)) ) (pin (input) - (rect 456 144 624 160) + (rect 456 296 624 312) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "CK_Single" (rect 5 0 55 12)(font "Arial" )) (pt 168 8) @@ -52,11 +52,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 400 160 456 176)) + (annotation_block (location)(rect 400 312 456 328)) ) (pin (input) - (rect 456 96 624 112) + (rect 456 248 624 264) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "CK_Constant" (rect 5 0 71 12)(font "Arial" )) (pt 168 8) @@ -69,11 +69,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 400 112 456 128)) + (annotation_block (location)(rect 400 264 456 280)) ) (pin (input) - (rect 664 304 832 320) + (rect 664 456 832 472) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR4" (rect 5 0 28 12)(font "Arial" )) (pt 168 8) @@ -86,11 +86,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 616 304 664 320)) + (annotation_block (location)(rect 616 456 664 472)) ) (pin (input) - (rect 664 288 832 304) + (rect 664 440 832 456) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR5" (rect 5 0 28 12)(font "Arial" )) (pt 168 8) @@ -103,11 +103,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 616 288 664 304)) + (annotation_block (location)(rect 616 440 664 456)) ) (pin (input) - (rect 664 272 832 288) + (rect 664 424 832 440) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR6" (rect 5 0 28 12)(font "Arial" )) (pt 168 8) @@ -120,7 +120,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 616 272 664 288)) + (annotation_block (location)(rect 616 424 664 440)) ) (pin (input) @@ -141,41 +141,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1040 1448 1208 1464) - (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) - (text "uIR8" (rect 5 0 28 12)(font "Arial" )) - (pt 168 8) - (drawing - (line (pt 92 12)(pt 117 12)(line_width 1)) - (line (pt 92 4)(pt 117 4)(line_width 1)) - (line (pt 121 8)(pt 168 8)(line_width 1)) - (line (pt 92 12)(pt 92 4)(line_width 1)) - (line (pt 117 4)(pt 121 8)(line_width 1)) - (line (pt 117 12)(pt 121 8)(line_width 1)) - ) - (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 984 1464 1040 1480)) -) -(pin - (input) - (rect 1040 1432 1208 1448) - (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) - (text "uIR9" (rect 5 0 28 12)(font "Arial" )) - (pt 168 8) - (drawing - (line (pt 92 12)(pt 117 12)(line_width 1)) - (line (pt 92 4)(pt 117 4)(line_width 1)) - (line (pt 121 8)(pt 168 8)(line_width 1)) - (line (pt 92 12)(pt 92 4)(line_width 1)) - (line (pt 117 4)(pt 121 8)(line_width 1)) - (line (pt 117 12)(pt 121 8)(line_width 1)) - ) - (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 984 1448 1040 1464)) -) -(pin - (input) - (rect 1040 1576 1208 1592) + (rect 592 1344 760 1360) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR12" (rect 5 0 34 12)(font "Arial" )) (pt 168 8) @@ -188,11 +154,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 984 1592 1040 1608)) + (annotation_block (location)(rect 536 1360 592 1376)) ) (pin (input) - (rect 1040 1560 1208 1576) + (rect 592 1328 760 1344) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR13" (rect 5 0 34 12)(font "Arial" )) (pt 168 8) @@ -205,11 +171,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 984 1576 1040 1592)) + (annotation_block (location)(rect 536 1344 592 1360)) ) (pin (input) - (rect 600 1048 768 1064) + (rect 592 1200 760 1216) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR14" (rect 5 0 34 12)(font "Arial" )) (pt 168 8) @@ -222,11 +188,11 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 544 1064 600 1080)) + (annotation_block (location)(rect 536 1216 592 1232)) ) (pin (input) - (rect 600 1032 768 1048) + (rect 592 1184 760 1200) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "uIR15" (rect 5 0 34 12)(font "Arial" )) (pt 168 8) @@ -239,7 +205,7 @@ applicable agreement for further details. (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 544 1048 600 1064)) + (annotation_block (location)(rect 536 1200 592 1216)) ) (pin (input) @@ -326,40 +292,6 @@ applicable agreement for further details. (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) (annotation_block (location)(rect 3064 1432 3120 1448)) ) -(pin - (input) - (rect 664 336 832 352) - (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) - (text "uIR17" (rect 5 0 34 12)(font "Arial" )) - (pt 168 8) - (drawing - (line (pt 92 12)(pt 117 12)(line_width 1)) - (line (pt 92 4)(pt 117 4)(line_width 1)) - (line (pt 121 8)(pt 168 8)(line_width 1)) - (line (pt 92 12)(pt 92 4)(line_width 1)) - (line (pt 117 4)(pt 121 8)(line_width 1)) - (line (pt 117 12)(pt 121 8)(line_width 1)) - ) - (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 608 352 664 368)) -) -(pin - (input) - (rect 664 352 832 368) - (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) - (text "uIR18" (rect 5 0 34 12)(font "Arial" )) - (pt 168 8) - (drawing - (line (pt 92 12)(pt 117 12)(line_width 1)) - (line (pt 92 4)(pt 117 4)(line_width 1)) - (line (pt 121 8)(pt 168 8)(line_width 1)) - (line (pt 92 12)(pt 92 4)(line_width 1)) - (line (pt 117 4)(pt 121 8)(line_width 1)) - (line (pt 117 12)(pt 121 8)(line_width 1)) - ) - (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) - (annotation_block (location)(rect 608 368 664 384)) -) (pin (input) (rect 2664 1048 2832 1064) @@ -377,6 +309,91 @@ applicable agreement for further details. (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) (annotation_block (location)(rect 2744 1064 2800 1080)) ) +(pin + (input) + (rect 1064 1432 1232 1448) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "uIR19" (rect 5 0 34 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 1008 1448 1064 1464)) +) +(pin + (input) + (rect 1064 1448 1232 1464) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "uIR18" (rect 5 0 34 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 1008 1464 1064 1480)) +) +(pin + (input) + (rect 1064 1464 1232 1480) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "uIR17" (rect 5 0 34 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 1008 1480 1064 1496)) +) +(pin + (input) + (rect 664 504 832 520) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "uIR8" (rect 5 0 28 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 608 520 664 536)) +) +(pin + (input) + (rect 664 488 832 504) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "uIR9" (rect 5 0 28 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 608 504 664 520)) +) (pin (output) (rect 3128 1384 3304 1400) @@ -753,7 +770,7 @@ applicable agreement for further details. ) (pin (output) - (rect 896 32 1072 48) + (rect 848 184 1024 200) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "CP_uIR" (rect 90 0 128 12)(font "Arial" )) (pt 0 8) @@ -766,11 +783,11 @@ applicable agreement for further details. (line (pt 82 8)(pt 78 12)(line_width 1)) (line (pt 78 12)(pt 82 8)(line_width 1)) ) - (annotation_block (location)(rect 1072 48 1120 64)) + (annotation_block (location)(rect 1024 200 1072 216)) ) (pin (output) - (rect 896 56 1072 72) + (rect 848 208 1024 224) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "uRD_N" (rect 90 0 126 12)(font "Arial" )) (pt 0 8) @@ -783,7 +800,7 @@ applicable agreement for further details. (line (pt 82 8)(pt 78 12)(line_width 1)) (line (pt 78 12)(pt 82 8)(line_width 1)) ) - (annotation_block (location)(rect 1072 72 1120 88)) + (annotation_block (location)(rect 1024 224 1072 240)) ) (pin (bidir) @@ -930,7 +947,7 @@ applicable agreement for further details. (annotation_block (location)(rect 3528 936 3584 952)) ) (symbol - (rect 688 56 784 184) + (rect 688 208 784 336) (text "start_circuit" (rect 5 0 72 14)(font "Arial" (font_size 8))) (text "CK_2xSlower" (rect 8 112 72 124)(font "Arial" )) (port @@ -973,7 +990,7 @@ applicable agreement for further details. ) ) (symbol - (rect 808 72 856 104) + (rect 808 224 856 256) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst" (rect 3 21 20 33)(font "Arial" )) (port @@ -998,260 +1015,7 @@ applicable agreement for further details. ) ) (symbol - (rect 928 1216 1024 1696) - (text "triple_selector_8b" (rect 5 0 106 14)(font "Arial" (font_size 8))) - (text "B_in" (rect 8 464 29 476)(font "Arial" )) - (port - (pt 0 32) - (input) - (text "A7" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (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 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) - (text "C7" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C7" (rect 21 283 36 297)(font "Arial" (font_size 8))) - (line (pt 0 288)(pt 16 288)(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 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 304) - (input) - (text "C6" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C6" (rect 21 299 36 313)(font "Arial" (font_size 8))) - (line (pt 0 304)(pt 16 304)(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 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 320) - (input) - (text "C5" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C5" (rect 21 315 36 329)(font "Arial" (font_size 8))) - (line (pt 0 320)(pt 16 320)(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 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 336) - (input) - (text "C4" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C4" (rect 21 331 36 345)(font "Arial" (font_size 8))) - (line (pt 0 336)(pt 16 336)(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 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 352) - (input) - (text "C3" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C3" (rect 21 347 36 361)(font "Arial" (font_size 8))) - (line (pt 0 352)(pt 16 352)(line_width 1)) - ) - (port - (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 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 368) - (input) - (text "C2" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C2" (rect 21 363 36 377)(font "Arial" (font_size 8))) - (line (pt 0 368)(pt 16 368)(line_width 1)) - ) - (port - (pt 0 128) - (input) - (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 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 384) - (input) - (text "C1" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C1" (rect 21 379 36 393)(font "Arial" (font_size 8))) - (line (pt 0 384)(pt 16 384)(line_width 1)) - ) - (port - (pt 0 144) - (input) - (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (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 272) - (input) - (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 400) - (input) - (text "C0" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "C0" (rect 21 395 36 409)(font "Arial" (font_size 8))) - (line (pt 0 400)(pt 16 400)(line_width 1)) - ) - (port - (pt 0 416) - (input) - (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) - (text "AY" (rect 21 411 39 425)(font "Arial" (font_size 8))) - (line (pt 0 416)(pt 16 416)(line_width 1)) - ) - (port - (pt 0 432) - (input) - (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) - (text "BY" (rect 21 427 38 441)(font "Arial" (font_size 8))) - (line (pt 0 432)(pt 16 432)(line_width 1)) - ) - (port - (pt 0 448) - (input) - (text "CY" (rect 0 0 17 14)(font "Arial" (font_size 8))) - (text "CY" (rect 21 443 38 457)(font "Arial" (font_size 8))) - (line (pt 0 448)(pt 16 448)(line_width 1)) - ) - (port - (pt 96 32) - (output) - (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8))) - (line (pt 96 32)(pt 80 32)(line_width 1)) - ) - (port - (pt 96 48) - (output) - (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8))) - (line (pt 96 48)(pt 80 48)(line_width 1)) - ) - (port - (pt 96 64) - (output) - (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8))) - (line (pt 96 64)(pt 80 64)(line_width 1)) - ) - (port - (pt 96 80) - (output) - (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8))) - (line (pt 96 80)(pt 80 80)(line_width 1)) - ) - (port - (pt 96 96) - (output) - (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8))) - (line (pt 96 96)(pt 80 96)(line_width 1)) - ) - (port - (pt 96 112) - (output) - (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8))) - (line (pt 96 112)(pt 80 112)(line_width 1)) - ) - (port - (pt 96 128) - (output) - (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8))) - (line (pt 96 128)(pt 80 128)(line_width 1)) - ) - (port - (pt 96 144) - (output) - (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8))) - (line (pt 96 144)(pt 80 144)(line_width 1)) - ) - (drawing - (rectangle (rect 16 16 80 464)(line_width 1)) - ) -) -(symbol - (rect 1224 1536 1320 1664) + (rect 776 1304 872 1432) (text "24_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8))) (text "inst9" (rect 8 112 31 124)(font "Arial" )) (port @@ -1301,24 +1065,7 @@ applicable agreement for further details. ) ) (symbol - (rect 896 1680 928 1712) - (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) - (text "inst16" (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 784 1008 880 1136) + (rect 776 1160 872 1288) (text "24_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8))) (text "inst17" (rect 8 112 37 124)(font "Arial" )) (port @@ -1368,253 +1115,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1248 1088 1376 1488) - (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) - (text "ALU" (rect 8 384 29 396)(font "Arial" )) - (port - (pt 0 144) - (input) - (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) - (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 "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 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 27 37 41)(font "Arial" (font_size 8))) - (line (pt 0 32)(pt 16 32)(line_width 1)) - ) - (port - (pt 0 272) - (input) - (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) - (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) - (text "CLR" (rect 21 283 44 297)(font "Arial" (font_size 8))) - (line (pt 0 288)(pt 16 288)(line_width 1)) - ) - (port - (pt 0 304) - (input) - (text "CP_A" (rect 0 0 31 14)(font "Arial" (font_size 8))) - (text "CP_A" (rect 21 299 52 313)(font "Arial" (font_size 8))) - (line (pt 0 304)(pt 16 304)(line_width 1)) - ) - (port - (pt 0 320) - (input) - (text "CP_B" (rect 0 0 30 14)(font "Arial" (font_size 8))) - (text "CP_B" (rect 21 315 51 329)(font "Arial" (font_size 8))) - (line (pt 0 320)(pt 16 320)(line_width 1)) - ) - (port - (pt 0 336) - (input) - (text "CP_Z" (rect 0 0 30 14)(font "Arial" (font_size 8))) - (text "CP_Z" (rect 21 331 51 345)(font "Arial" (font_size 8))) - (line (pt 0 336)(pt 16 336)(line_width 1)) - ) - (port - (pt 0 352) - (input) - (text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "S1" (rect 21 347 36 361)(font "Arial" (font_size 8))) - (line (pt 0 352)(pt 16 352)(line_width 1)) - ) - (port - (pt 0 368) - (input) - (text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8))) - (text "S0" (rect 21 363 36 377)(font "Arial" (font_size 8))) - (line (pt 0 368)(pt 16 368)(line_width 1)) - ) - (port - (pt 128 144) - (output) - (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 128) - (output) - (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_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_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_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 384)(line_width 1)) - ) -) -(symbol - (rect 928 720 1024 1072) + (rect 928 872 1024 1224) (text "double_selector_8b" (rect 5 0 117 14)(font "Arial" (font_size 8))) (text "inst18" (rect 8 336 37 348)(font "Arial" )) (port @@ -3068,7 +2569,7 @@ applicable agreement for further details. ) ) (symbol - (rect 880 232 1024 488) + (rect 880 384 1024 640) (text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8))) (text "inst4" (rect 8 240 31 252)(font "Arial" )) (port @@ -3201,61 +2702,448 @@ applicable agreement for further details. (rectangle (rect 16 16 128 240)(line_width 1)) ) ) -(connector - (pt 928 1520) - (pt 912 1520) +(symbol + (rect 928 1416 1024 1768) + (text "double_selector_8b" (rect 5 0 117 14)(font "Arial" (font_size 8))) + (text "inst19" (rect 8 336 37 348)(font "Arial" )) + (port + (pt 0 144) + (input) + (text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a0" (rect 21 136 35 150)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a1" (rect 21 120 35 134)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a2" (rect 21 104 35 118)(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 14 14)(font "Arial" (font_size 8))) + (text "a3" (rect 21 88 35 102)(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 14 14)(font "Arial" (font_size 8))) + (text "a4" (rect 21 72 35 86)(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 14 14)(font "Arial" (font_size 8))) + (text "a5" (rect 21 56 35 70)(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 14 14)(font "Arial" (font_size 8))) + (text "a6" (rect 21 40 35 54)(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 14 14)(font "Arial" (font_size 8))) + (text "a7" (rect 21 24 35 38)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b0" (rect 21 267 35 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 14 14)(font "Arial" (font_size 8))) + (text "b1" (rect 21 251 35 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 14 14)(font "Arial" (font_size 8))) + (text "b2" (rect 21 235 35 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 14 14)(font "Arial" (font_size 8))) + (text "b3" (rect 21 219 35 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 14 14)(font "Arial" (font_size 8))) + (text "b4" (rect 21 203 35 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 14 14)(font "Arial" (font_size 8))) + (text "b5" (rect 21 187 35 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 14 14)(font "Arial" (font_size 8))) + (text "b6" (rect 21 171 35 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 14 14)(font "Arial" (font_size 8))) + (text "b7" (rect 21 155 35 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 288) + (input) + (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) + (text "AY" (rect 21 283 39 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) + (text "BY" (rect 21 299 38 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 336)(line_width 1)) + ) ) -(connector - (pt 928 1536) - (pt 912 1536) -) -(connector - (pt 912 1520) - (pt 912 1536) -) -(connector - (pt 928 1552) - (pt 912 1552) -) -(connector - (pt 912 1536) - (pt 912 1552) -) -(connector - (pt 928 1568) - (pt 912 1568) -) -(connector - (pt 912 1552) - (pt 912 1568) -) -(connector - (pt 928 1584) - (pt 912 1584) -) -(connector - (pt 912 1568) - (pt 912 1584) -) -(connector - (pt 928 1600) - (pt 912 1600) -) -(connector - (pt 912 1584) - (pt 912 1600) -) -(connector - (pt 928 1616) - (pt 912 1616) -) -(connector - (pt 928 1008) - (pt 896 1008) -) -(connector - (pt 928 1024) - (pt 912 1024) +(symbol + (rect 1248 1088 1376 1504) + (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) + (text "ALU" (rect 8 400 29 412)(font "Arial" )) + (port + (pt 0 144) + (input) + (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (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 "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 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 27 37 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (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) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 283 44 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "CP_A" (rect 0 0 31 14)(font "Arial" (font_size 8))) + (text "CP_A" (rect 21 299 52 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(line_width 1)) + ) + (port + (pt 0 320) + (input) + (text "CP_B" (rect 0 0 30 14)(font "Arial" (font_size 8))) + (text "CP_B" (rect 21 315 51 329)(font "Arial" (font_size 8))) + (line (pt 0 320)(pt 16 320)(line_width 1)) + ) + (port + (pt 0 336) + (input) + (text "CP_Z" (rect 0 0 30 14)(font "Arial" (font_size 8))) + (text "CP_Z" (rect 21 331 51 345)(font "Arial" (font_size 8))) + (line (pt 0 336)(pt 16 336)(line_width 1)) + ) + (port + (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 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 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 "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 128) + (output) + (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_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_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_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 400)(line_width 1)) + ) ) (connector (pt 2952 1408) @@ -3449,102 +3337,6 @@ applicable agreement for further details. (pt 3336 1040) (pt 3352 1040) ) -(connector - (pt 1024 1360) - (pt 1248 1360) -) -(connector - (pt 1024 1344) - (pt 1248 1344) -) -(connector - (pt 1024 1328) - (pt 1248 1328) -) -(connector - (pt 1024 1312) - (pt 1248 1312) -) -(connector - (pt 1024 1296) - (pt 1248 1296) -) -(connector - (pt 1024 1280) - (pt 1248 1280) -) -(connector - (pt 1024 1264) - (pt 1248 1264) -) -(connector - (pt 1024 1248) - (pt 1248 1248) -) -(connector - (pt 1024 752) - (pt 1104 752) -) -(connector - (pt 1024 768) - (pt 1120 768) -) -(connector - (pt 1024 784) - (pt 1136 784) -) -(connector - (pt 1024 800) - (pt 1152 800) -) -(connector - (pt 1024 816) - (pt 1168 816) -) -(connector - (pt 1024 832) - (pt 1184 832) -) -(connector - (pt 1024 848) - (pt 1200 848) -) -(connector - (pt 1024 864) - (pt 1216 864) -) -(connector - (pt 1104 752) - (pt 1104 1232) -) -(connector - (pt 1120 768) - (pt 1120 1216) -) -(connector - (pt 1136 784) - (pt 1136 1200) -) -(connector - (pt 1152 800) - (pt 1152 1184) -) -(connector - (pt 1168 816) - (pt 1168 1168) -) -(connector - (pt 1184 832) - (pt 1184 1152) -) -(connector - (pt 1200 848) - (pt 1200 1136) -) -(connector - (pt 1216 864) - (pt 1216 1120) -) (connector (pt 1248 1232) (pt 1104 1232) @@ -3577,214 +3369,6 @@ applicable agreement for further details. (pt 1248 1120) (pt 1216 1120) ) -(connector - (pt 896 1056) - (pt 880 1056) -) -(connector - (pt 912 1072) - (pt 880 1072) -) -(connector - (pt 896 1008) - (pt 896 1056) -) -(connector - (pt 912 1024) - (pt 912 1072) -) -(connector - (pt 1224 1568) - (pt 1208 1568) -) -(connector - (pt 1224 1584) - (pt 1208 1584) -) -(connector - (pt 1208 1456) - (pt 1248 1456) -) -(connector - (pt 1208 1440) - (pt 1248 1440) -) -(connector - (pt 1320 1600) - (pt 1336 1600) -) -(connector - (pt 1336 1600) - (pt 1336 1712) -) -(connector - (pt 928 1632) - (pt 896 1632) -) -(connector - (pt 896 1632) - (pt 896 1712) -) -(connector - (pt 1336 1712) - (pt 896 1712) -) -(connector - (pt 912 1600) - (pt 912 1616) -) -(connector - (pt 912 1616) - (pt 912 1680) -) -(connector - (pt 928 1648) - (pt 880 1648) -) -(connector - (pt 880 1648) - (pt 880 1728) -) -(connector - (pt 928 1664) - (pt 864 1664) -) -(connector - (pt 864 1664) - (pt 864 1744) -) -(connector - (pt 880 1728) - (pt 1352 1728) -) -(connector - (pt 1320 1584) - (pt 1352 1584) -) -(connector - (pt 1352 1584) - (pt 1352 1728) -) -(connector - (pt 1320 1568) - (pt 1368 1568) -) -(connector - (pt 1368 1568) - (pt 1368 1744) -) -(connector - (pt 1368 1744) - (pt 864 1744) -) -(connector - (pt 768 1056) - (pt 784 1056) -) -(connector - (pt 768 1040) - (pt 784 1040) -) -(connector - (pt 928 1504) - (pt 848 1504) -) -(connector - (pt 928 1360) - (pt 816 1360) -) -(connector - (pt 928 1344) - (pt 800 1344) -) -(connector - (pt 928 1328) - (pt 784 1328) -) -(connector - (pt 928 1312) - (pt 768 1312) -) -(connector - (pt 928 1296) - (pt 752 1296) -) -(connector - (pt 928 1248) - (pt 704 1248) -) -(connector - (pt 928 1264) - (pt 720 1264) -) -(connector - (pt 928 1280) - (pt 736 1280) -) -(connector - (pt 928 1376) - (pt 560 1376) -) -(connector - (pt 928 1392) - (pt 576 1392) -) -(connector - (pt 928 1408) - (pt 592 1408) -) -(connector - (pt 928 1424) - (pt 608 1424) -) -(connector - (pt 928 1440) - (pt 624 1440) -) -(connector - (pt 928 1456) - (pt 640 1456) -) -(connector - (pt 928 1472) - (pt 656 1472) -) -(connector - (pt 928 1488) - (pt 672 1488) -) -(connector - (pt 928 880) - (pt 416 880) -) -(connector - (pt 928 912) - (pt 448 912) -) -(connector - (pt 928 928) - (pt 464 928) -) -(connector - (pt 928 944) - (pt 480 944) -) -(connector - (pt 928 960) - (pt 496 960) -) -(connector - (pt 928 976) - (pt 512 976) -) -(connector - (pt 928 992) - (pt 528 992) -) -(connector - (pt 928 896) - (pt 432 896) -) (connector (pt 2872 1136) (pt 3032 1136) @@ -3841,146 +3425,6 @@ applicable agreement for further details. (pt 3016 1120) (pt 3392 1120) ) -(connector - (pt 672 1488) - (pt 672 2072) -) -(connector - (pt 656 1472) - (pt 656 2056) -) -(connector - (pt 640 1456) - (pt 640 2040) -) -(connector - (pt 624 1440) - (pt 624 2024) -) -(connector - (pt 608 1424) - (pt 608 2008) -) -(connector - (pt 592 1408) - (pt 592 1992) -) -(connector - (pt 576 1392) - (pt 576 1976) -) -(connector - (pt 560 1376) - (pt 560 1960) -) -(connector - (pt 528 992) - (pt 528 1928) -) -(connector - (pt 512 976) - (pt 512 1912) -) -(connector - (pt 496 960) - (pt 496 1896) -) -(connector - (pt 480 944) - (pt 480 1880) -) -(connector - (pt 464 928) - (pt 464 1864) -) -(connector - (pt 448 912) - (pt 448 1848) -) -(connector - (pt 432 896) - (pt 432 1832) -) -(connector - (pt 416 880) - (pt 416 1816) -) -(connector - (pt 848 1504) - (pt 848 1760) -) -(connector - (pt 704 1248) - (pt 704 2184) -) -(connector - (pt 720 1264) - (pt 720 2200) -) -(connector - (pt 736 1280) - (pt 736 2216) -) -(connector - (pt 752 1296) - (pt 752 2232) -) -(connector - (pt 768 1312) - (pt 768 2248) -) -(connector - (pt 784 1328) - (pt 784 2264) -) -(connector - (pt 800 1344) - (pt 800 2280) -) -(connector - (pt 816 1360) - (pt 816 2296) -) -(connector - (pt 688 88) - (pt 656 88) -) -(connector - (pt 656 216) - (pt 656 88) -) -(connector - (pt 640 120) - (pt 640 152) -) -(connector - (pt 688 120) - (pt 640 120) -) -(connector - (pt 624 152) - (pt 640 152) -) -(connector - (pt 624 104) - (pt 688 104) -) -(connector - (pt 896 40) - (pt 800 40) -) -(connector - (pt 896 64) - (pt 800 64) -) -(connector - (pt 800 40) - (pt 800 64) -) -(connector - (pt 800 64) - (pt 800 88) -) (connector (pt 2664 1608) (pt 2664 1768) @@ -4053,30 +3497,6 @@ applicable agreement for further details. (pt 1440 1296) (pt 1440 2152) ) -(connector - (pt 848 1760) - (pt 1392 1760) -) -(connector - (pt 1392 1248) - (pt 1392 1760) -) -(connector - (pt 1392 1760) - (pt 1392 2104) -) -(connector - (pt 656 216) - (pt 1408 216) -) -(connector - (pt 1408 216) - (pt 1408 1264) -) -(connector - (pt 1408 1264) - (pt 1408 2120) -) (connector (pt 1376 1248) (pt 1392 1248) @@ -4085,14 +3505,6 @@ applicable agreement for further details. (pt 1392 1248) (pt 1456 1248) ) -(connector - (pt 1376 1264) - (pt 1408 1264) -) -(connector - (pt 1408 1264) - (pt 1456 1264) -) (connector (pt 1376 1280) (pt 1424 1280) @@ -4517,134 +3929,6 @@ applicable agreement for further details. (pt 1376 1232) (pt 1808 1232) ) -(connector - (pt 928 752) - (pt 736 752) -) -(connector - (pt 928 768) - (pt 752 768) -) -(connector - (pt 928 784) - (pt 768 784) -) -(connector - (pt 928 800) - (pt 784 800) -) -(connector - (pt 928 816) - (pt 800 816) -) -(connector - (pt 928 848) - (pt 832 848) -) -(connector - (pt 928 864) - (pt 848 864) -) -(connector - (pt 928 832) - (pt 816 832) -) -(connector - (pt 736 752) - (pt 736 584) -) -(connector - (pt 752 768) - (pt 752 600) -) -(connector - (pt 768 784) - (pt 768 616) -) -(connector - (pt 784 800) - (pt 784 632) -) -(connector - (pt 848 864) - (pt 848 696) -) -(connector - (pt 832 848) - (pt 832 680) -) -(connector - (pt 816 832) - (pt 816 664) -) -(connector - (pt 800 816) - (pt 800 648) -) -(connector - (pt 3224 848) - (pt 3224 664) -) -(connector - (pt 3240 848) - (pt 3240 648) -) -(connector - (pt 3256 848) - (pt 3256 632) -) -(connector - (pt 3272 848) - (pt 3272 616) -) -(connector - (pt 3288 848) - (pt 3288 600) -) -(connector - (pt 3304 848) - (pt 3304 584) -) -(connector - (pt 3208 680) - (pt 832 680) -) -(connector - (pt 3208 848) - (pt 3208 680) -) -(connector - (pt 3192 696) - (pt 848 696) -) -(connector - (pt 3192 848) - (pt 3192 696) -) -(connector - (pt 3304 584) - (pt 736 584) -) -(connector - (pt 3288 600) - (pt 752 600) -) -(connector - (pt 3272 616) - (pt 768 616) -) -(connector - (pt 3256 632) - (pt 784 632) -) -(connector - (pt 3240 648) - (pt 800 648) -) -(connector - (pt 3224 664) - (pt 816 664) -) (connector (pt 3024 1784) (pt 3040 1784) @@ -4709,10 +3993,6 @@ applicable agreement for further details. (pt 2616 1576) (pt 3040 1576) ) -(connector - (pt 1408 2120) - (pt 3088 2120) -) (connector (pt 1424 2136) (pt 3104 2136) @@ -5058,46 +4338,6 @@ applicable agreement for further details. (pt 3016 1280) (color 0 0 0) ) -(connector - (pt 1248 1376) - (pt 1232 1376) - (color 0 0 0) -) -(connector - (pt 1232 200) - (pt 1232 1376) - (color 0 0 0) -) -(connector - (pt 672 136) - (pt 688 136) - (color 0 0 0) -) -(connector - (pt 672 136) - (pt 672 200) - (color 0 0 0) -) -(connector - (pt 624 200) - (pt 672 200) - (color 0 0 0) -) -(connector - (pt 672 200) - (pt 1232 200) - (color 0 0 0) -) -(connector - (pt 1232 200) - (pt 1824 200) - (color 0 0 0) -) -(connector - (pt 1824 1432) - (pt 1856 1432) - (color 0 0 0) -) (connector (pt 3184 1688) (pt 3168 1688) @@ -5143,16 +4383,6 @@ applicable agreement for further details. (pt 2504 1448) (color 0 0 0) ) -(connector - (pt 1824 200) - (pt 1824 1072) - (color 0 0 0) -) -(connector - (pt 1824 1072) - (pt 1824 1432) - (color 0 0 0) -) (connector (pt 1824 1072) (pt 2504 1072) @@ -5221,11 +4451,6 @@ applicable agreement for further details. (pt 3168 1672) (color 0 128 0) ) -(connector - (pt 3544 88) - (pt 3544 1480) - (color 0 128 0) -) (connector (pt 3168 1480) (pt 3544 1480) @@ -5256,167 +4481,840 @@ applicable agreement for further details. (pt 3296 1456) ) (connector - (pt 784 88) - (pt 800 88) + (pt 1392 1248) + (pt 1392 2104) ) (connector - (pt 800 88) - (pt 808 88) + (pt 896 1160) + (pt 928 1160) ) (connector - (pt 832 280) - (pt 880 280) + (pt 912 1176) + (pt 928 1176) ) (connector - (pt 832 296) - (pt 880 296) + (pt 1104 904) + (pt 1024 904) ) (connector - (pt 832 312) - (pt 880 312) + (pt 1120 920) + (pt 1024 920) +) +(connector + (pt 1136 936) + (pt 1024 936) +) +(connector + (pt 1152 952) + (pt 1024 952) +) +(connector + (pt 1168 968) + (pt 1024 968) +) +(connector + (pt 1184 984) + (pt 1024 984) +) +(connector + (pt 1200 1000) + (pt 1024 1000) +) +(connector + (pt 1216 1016) + (pt 1024 1016) +) +(connector + (pt 1104 1232) + (pt 1104 904) +) +(connector + (pt 1120 1216) + (pt 1120 920) +) +(connector + (pt 1136 1200) + (pt 1136 936) +) +(connector + (pt 1152 1184) + (pt 1152 952) +) +(connector + (pt 1168 1168) + (pt 1168 968) +) +(connector + (pt 1184 1152) + (pt 1184 984) +) +(connector + (pt 1200 1136) + (pt 1200 1000) +) +(connector + (pt 1216 1120) + (pt 1216 1016) +) +(connector + (pt 416 1032) + (pt 928 1032) +) +(connector + (pt 448 1064) + (pt 928 1064) +) +(connector + (pt 464 1080) + (pt 928 1080) +) +(connector + (pt 480 1096) + (pt 928 1096) +) +(connector + (pt 496 1112) + (pt 928 1112) +) +(connector + (pt 512 1128) + (pt 928 1128) +) +(connector + (pt 528 1144) + (pt 928 1144) +) +(connector + (pt 432 1048) + (pt 928 1048) +) +(connector + (pt 528 1928) + (pt 528 1144) +) +(connector + (pt 512 1912) + (pt 512 1128) +) +(connector + (pt 496 1896) + (pt 496 1112) +) +(connector + (pt 480 1880) + (pt 480 1096) +) +(connector + (pt 464 1864) + (pt 464 1080) +) +(connector + (pt 448 1848) + (pt 448 1064) +) +(connector + (pt 432 1832) + (pt 432 1048) +) +(connector + (pt 416 1816) + (pt 416 1032) +) +(connector + (pt 736 904) + (pt 928 904) +) +(connector + (pt 752 920) + (pt 928 920) +) +(connector + (pt 768 936) + (pt 928 936) +) +(connector + (pt 784 952) + (pt 928 952) +) +(connector + (pt 800 968) + (pt 928 968) +) +(connector + (pt 832 1000) + (pt 928 1000) +) +(connector + (pt 848 1016) + (pt 928 1016) +) +(connector + (pt 816 984) + (pt 928 984) +) +(connector + (pt 1248 1296) + (pt 1152 1296) +) +(connector + (pt 1248 1312) + (pt 1168 1312) +) +(connector + (pt 1248 1328) + (pt 1184 1328) +) +(connector + (pt 1248 1344) + (pt 1200 1344) +) +(connector + (pt 1248 1360) + (pt 1216 1360) +) +(connector + (pt 1248 1280) + (pt 1136 1280) +) +(connector + (pt 1248 1264) + (pt 1120 1264) +) +(connector + (pt 1248 1248) + (pt 1104 1248) +) +(connector + (pt 816 1560) + (pt 928 1560) +) +(connector + (pt 800 1544) + (pt 928 1544) +) +(connector + (pt 784 1528) + (pt 928 1528) +) +(connector + (pt 768 1512) + (pt 928 1512) +) +(connector + (pt 752 1496) + (pt 928 1496) +) +(connector + (pt 704 1448) + (pt 928 1448) +) +(connector + (pt 720 1464) + (pt 928 1464) +) +(connector + (pt 736 1480) + (pt 928 1480) +) +(connector + (pt 560 1576) + (pt 928 1576) +) +(connector + (pt 576 1592) + (pt 928 1592) +) +(connector + (pt 592 1608) + (pt 928 1608) +) +(connector + (pt 608 1624) + (pt 928 1624) +) +(connector + (pt 624 1640) + (pt 928 1640) +) +(connector + (pt 640 1656) + (pt 928 1656) +) +(connector + (pt 656 1672) + (pt 928 1672) +) +(connector + (pt 672 1688) + (pt 928 1688) +) +(connector + (pt 672 2072) + (pt 672 1688) +) +(connector + (pt 656 2056) + (pt 656 1672) +) +(connector + (pt 640 2040) + (pt 640 1656) +) +(connector + (pt 624 2024) + (pt 624 1640) +) +(connector + (pt 608 2008) + (pt 608 1624) +) +(connector + (pt 592 1992) + (pt 592 1608) +) +(connector + (pt 576 1976) + (pt 576 1592) +) +(connector + (pt 560 1960) + (pt 560 1576) +) +(connector + (pt 704 2184) + (pt 704 1448) +) +(connector + (pt 720 2200) + (pt 720 1464) +) +(connector + (pt 736 2216) + (pt 736 1480) +) +(connector + (pt 752 2232) + (pt 752 1496) +) +(connector + (pt 768 2248) + (pt 768 1512) +) +(connector + (pt 784 2264) + (pt 784 1528) +) +(connector + (pt 800 2280) + (pt 800 1544) +) +(connector + (pt 816 2296) + (pt 816 1560) +) +(connector + (pt 896 1720) + (pt 928 1720) +) +(connector + (pt 912 1704) + (pt 928 1704) +) +(connector + (pt 1216 1360) + (pt 1216 1560) +) +(connector + (pt 1152 1496) + (pt 1024 1496) +) +(connector + (pt 1168 1512) + (pt 1024 1512) +) +(connector + (pt 1184 1528) + (pt 1024 1528) +) +(connector + (pt 1200 1544) + (pt 1024 1544) +) +(connector + (pt 1216 1560) + (pt 1024 1560) +) +(connector + (pt 1200 1344) + (pt 1200 1544) +) +(connector + (pt 1184 1328) + (pt 1184 1528) +) +(connector + (pt 1168 1312) + (pt 1168 1512) +) +(connector + (pt 1152 1296) + (pt 1152 1496) +) +(connector + (pt 1136 1280) + (pt 1136 1480) +) +(connector + (pt 1120 1464) + (pt 1024 1464) +) +(connector + (pt 1136 1480) + (pt 1024 1480) +) +(connector + (pt 1120 1264) + (pt 1120 1464) +) +(connector + (pt 1104 1248) + (pt 1104 1448) +) +(connector + (pt 1104 1448) + (pt 1024 1448) +) +(connector + (pt 896 1368) + (pt 872 1368) +) +(connector + (pt 912 1352) + (pt 872 1352) +) +(connector + (pt 896 1720) + (pt 896 1368) +) +(connector + (pt 912 1704) + (pt 912 1352) +) +(connector + (pt 896 1208) + (pt 872 1208) +) +(connector + (pt 912 1224) + (pt 872 1224) +) +(connector + (pt 896 1160) + (pt 896 1208) +) +(connector + (pt 912 1176) + (pt 912 1224) +) +(connector + (pt 760 1192) + (pt 776 1192) +) +(connector + (pt 760 1208) + (pt 776 1208) +) +(connector + (pt 760 1352) + (pt 776 1352) +) +(connector + (pt 760 1336) + (pt 776 1336) +) +(connector + (pt 1040 1424) + (pt 1248 1424) + (color 0 128 0) +) +(connector + (pt 1056 1408) + (pt 1248 1408) + (color 0 128 0) +) +(connector + (pt 1072 1392) + (pt 1248 1392) + (color 0 128 0) +) +(connector + (pt 1248 1456) + (pt 1232 1456) +) +(connector + (pt 1248 1472) + (pt 1232 1472) +) +(connector + (pt 1248 1440) + (pt 1232 1440) +) +(connector + (pt 3224 848) + (pt 3224 768) +) +(connector + (pt 3240 848) + (pt 3240 752) +) +(connector + (pt 3256 848) + (pt 3256 736) +) +(connector + (pt 3272 848) + (pt 3272 720) +) +(connector + (pt 3288 848) + (pt 3288 704) +) +(connector + (pt 3304 848) + (pt 3304 688) +) +(connector + (pt 3208 784) + (pt 832 784) +) +(connector + (pt 3208 848) + (pt 3208 784) +) +(connector + (pt 3192 800) + (pt 848 800) +) +(connector + (pt 3192 848) + (pt 3192 800) +) +(connector + (pt 3304 688) + (pt 736 688) +) +(connector + (pt 3288 704) + (pt 752 704) +) +(connector + (pt 3272 720) + (pt 768 720) +) +(connector + (pt 3256 736) + (pt 784 736) +) +(connector + (pt 3240 752) + (pt 800 752) +) +(connector + (pt 3224 768) + (pt 816 768) +) +(connector + (pt 736 904) + (pt 736 688) +) +(connector + (pt 752 920) + (pt 752 704) +) +(connector + (pt 768 936) + (pt 768 720) +) +(connector + (pt 784 952) + (pt 784 736) +) +(connector + (pt 848 1016) + (pt 848 800) +) +(connector + (pt 832 1000) + (pt 832 784) +) +(connector + (pt 816 984) + (pt 816 768) +) +(connector + (pt 800 968) + (pt 800 752) +) +(connector + (pt 832 432) + (pt 880 432) +) +(connector + (pt 832 448) + (pt 880 448) +) +(connector + (pt 832 464) + (pt 880 464) ) (connector (pt 2344 1432) - (pt 2344 344) + (pt 2344 496) (color 0 128 0) ) (connector (pt 2488 1544) - (pt 2488 328) + (pt 2488 480) (color 0 128 0) ) (connector (pt 2984 1296) - (pt 2984 312) + (pt 2984 464) (color 0 128 0) ) (connector (pt 3144 912) - (pt 3144 296) + (pt 3144 448) (color 0 128 0) ) (connector (pt 1840 1640) - (pt 1840 360) + (pt 1840 512) (color 0 128 0) ) (connector - (pt 864 88) - (pt 864 264) + (pt 3144 448) + (pt 1024 448) (color 0 128 0) ) (connector - (pt 864 264) - (pt 880 264) -) -(connector - (pt 856 88) - (pt 864 88) -) -(connector - (pt 864 88) - (pt 3544 88) -) -(connector - (pt 1024 296) - (pt 3144 296) + (pt 2984 464) + (pt 1024 464) (color 0 128 0) ) (connector - (pt 1024 312) - (pt 2984 312) + (pt 2488 480) + (pt 1024 480) (color 0 128 0) ) (connector - (pt 1024 328) - (pt 2488 328) + (pt 2344 496) + (pt 1024 496) (color 0 128 0) ) (connector - (pt 1024 344) - (pt 2344 344) + (pt 1840 512) + (pt 1024 512) (color 0 128 0) ) (connector - (pt 1024 360) - (pt 1840 360) + (pt 1056 576) + (pt 1024 576) (color 0 128 0) ) (connector - (pt 1248 1424) - (pt 1040 1424) + (pt 1072 560) + (pt 1024 560) (color 0 128 0) ) (connector - (pt 1248 1408) - (pt 1056 1408) + (pt 1040 592) + (pt 1024 592) (color 0 128 0) ) (connector - (pt 1248 1392) - (pt 1072 1392) - (color 0 128 0) + (pt 864 496) + (pt 880 496) +) +(connector + (pt 864 496) + (pt 864 512) +) +(connector + (pt 864 512) + (pt 832 512) +) +(connector + (pt 848 480) + (pt 880 480) +) +(connector + (pt 848 480) + (pt 848 496) +) +(connector + (pt 848 496) + (pt 832 496) ) (connector (pt 1040 1424) - (pt 1040 440) - (color 0 128 0) -) -(connector - (pt 1056 424) - (pt 1024 424) + (pt 1040 592) (color 0 128 0) ) (connector (pt 1056 1408) - (pt 1056 424) - (color 0 128 0) -) -(connector - (pt 1072 408) - (pt 1024 408) + (pt 1056 576) (color 0 128 0) ) (connector (pt 1072 1392) - (pt 1072 408) + (pt 1072 560) (color 0 128 0) ) (connector - (pt 1040 440) - (pt 1024 440) + (pt 3088 2120) + (pt 1408 2120) +) +(connector + (pt 1856 1432) + (pt 1824 1432) + (color 0 0 0) +) +(connector + (pt 688 240) + (pt 656 240) +) +(connector + (pt 656 368) + (pt 656 240) +) +(connector + (pt 640 272) + (pt 640 304) +) +(connector + (pt 688 272) + (pt 640 272) +) +(connector + (pt 624 304) + (pt 640 304) +) +(connector + (pt 624 256) + (pt 688 256) +) +(connector + (pt 656 368) + (pt 1408 368) +) +(connector + (pt 1248 1376) + (pt 1232 1376) + (color 0 0 0) +) +(connector + (pt 1232 1376) + (pt 1232 352) + (color 0 0 0) +) +(connector + (pt 672 288) + (pt 688 288) + (color 0 0 0) +) +(connector + (pt 672 288) + (pt 672 352) + (color 0 0 0) +) +(connector + (pt 3544 1480) + (pt 3544 240) (color 0 128 0) ) (connector - (pt 880 344) - (pt 864 344) + (pt 864 416) + (pt 864 240) + (color 0 128 0) ) (connector - (pt 864 344) - (pt 864 360) + (pt 880 416) + (pt 864 416) ) (connector - (pt 832 360) - (pt 864 360) + (pt 1376 1264) + (pt 1408 1264) ) (connector - (pt 880 328) - (pt 848 328) + (pt 1408 1264) + (pt 1456 1264) ) (connector - (pt 848 328) - (pt 848 344) + (pt 1408 368) + (pt 1408 1264) ) (connector - (pt 832 344) - (pt 848 344) + (pt 1408 1264) + (pt 1408 2120) +) +(connector + (pt 624 352) + (pt 672 352) + (color 0 0 0) +) +(connector + (pt 672 352) + (pt 1232 352) + (color 0 0 0) +) +(connector + (pt 1232 352) + (pt 1824 352) + (color 0 0 0) +) +(connector + (pt 1824 352) + (pt 1824 1072) + (color 0 0 0) +) +(connector + (pt 1824 1072) + (pt 1824 1432) + (color 0 0 0) +) +(connector + (pt 784 240) + (pt 800 240) +) +(connector + (pt 800 240) + (pt 808 240) +) +(connector + (pt 856 240) + (pt 864 240) +) +(connector + (pt 864 240) + (pt 3544 240) +) +(connector + (pt 800 192) + (pt 800 216) +) +(connector + (pt 800 216) + (pt 800 240) +) +(connector + (pt 800 192) + (pt 848 192) +) +(connector + (pt 800 216) + (pt 848 216) ) -(junction (pt 912 1536)) -(junction (pt 912 1552)) -(junction (pt 912 1568)) -(junction (pt 912 1584)) -(junction (pt 912 1600)) -(junction (pt 912 1616)) (junction (pt 2856 1120)) (junction (pt 2872 1136)) (junction (pt 2888 1152)) @@ -5433,14 +5331,9 @@ applicable agreement for further details. (junction (pt 3112 1216)) (junction (pt 3128 1232)) (junction (pt 3016 1120)) -(junction (pt 1232 200)) -(junction (pt 672 200)) -(junction (pt 800 88)) -(junction (pt 800 64)) (junction (pt 2664 1608)) (junction (pt 2680 1592)) (junction (pt 1392 1248)) -(junction (pt 1392 1760)) (junction (pt 1424 1280)) (junction (pt 1440 1296)) (junction (pt 1408 1264)) @@ -5482,33 +5375,36 @@ applicable agreement for further details. (junction (pt 3000 1072)) (junction (pt 2504 1072)) (junction (pt 1824 1072)) -(junction (pt 864 88)) -(text "from MDR" (rect 824 736 879 750)(font "Arial" (font_size 8))) -(text "from general registers" (rect 776 864 902 878)(font "Arial" (font_size 8))) -(text "from PC" (rect 792 1232 836 1246)(font "Arial" (font_size 8))) +(junction (pt 800 216)) +(junction (pt 672 352)) +(junction (pt 1232 352)) +(junction (pt 800 240)) +(junction (pt 864 240)) +(text "from PC" (rect 784 1408 828 1422)(font "Arial" (font_size 8))) (text "from general registers" (rect 792 1360 918 1374)(font "Arial" (font_size 8))) (text "BUS" (rect 3056 1744 3080 1758)(font "Arial" (font_size 8))) (text "Ri" (rect 1760 1760 1790 1792)(font "Arial" (color 128 0 128)(font_size 20))) (text "Rj" (rect 1760 1728 1790 1760)(font "Arial" (color 128 0 128)(font_size 20))) -(text "ALU and Selectors" (rect 408 672 744 709)(font "Arial" (color 236 0 106)(font_size 24)(bold))) +(text "ALU and Selectors" (rect 408 824 744 861)(font "Arial" (color 236 0 106)(font_size 24)(bold))) (text "General Registers 4x" (rect 1936 1352 2315 1389)(font "Arial" (color 1 156 95)(font_size 24)(bold))) (text "Registers: PC and IR" (rect 2320 1792 2689 1829)(font "Arial" (color 46 0 202)(font_size 24)(bold))) (text "Part of CU: Microaddress Generator and uPC" (rect 2848 1856 3653 1893)(font "Arial" (color 0 113 181)(font_size 24)(bold))) (text "Memory, MAR and MDR" (rect 2848 800 3270 837)(font "Arial" (color 215 102 0)(font_size 24)(bold))) -(text "Part of CU: Clock Generator of Registers" (rect 448 -16 1179 21)(font "Arial" (color 0 136 217)(font_size 24)(bold))) +(text "Part of CU: Clock Generator of Registers" (rect 448 136 1179 173)(font "Arial" (color 0 136 217)(font_size 24)(bold))) (text "Clear" (rect 2080 1032 2174 1068)(font "Arial" (color 0 0 0)(font_size 24)(bold_italic))) (text "CVNZ" (rect 2336 2064 2438 2100)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) -(text "Clock" (rect 1544 256 1647 292)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))) -(text "Clear" (rect 1544 160 1638 196)(font "Arial" (color 0 0 0)(font_size 24)(bold_italic))) +(text "Clock" (rect 1544 408 1647 444)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))) +(text "Clear" (rect 1544 312 1638 348)(font "Arial" (color 0 0 0)(font_size 24)(bold_italic))) (text "BUS: Data from Z" (rect 1992 1232 2305 1268)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) -(text "BUS: Data from MDR" (rect 1992 544 2368 580)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) +(text "BUS: Data from MDR" (rect 1992 648 2368 684)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) (text "BUS: Data from PC" (rect 1000 2144 1342 2180)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) (text "BUS: Data from General Registers" (rect 832 1776 1447 1812)(font "Arial" (color 128 0 128)(font_size 24)(bold_italic))) -(text "Clock" (rect 1544 48 1647 84)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))) -(text "Clock" (rect 1084 456 1120 559)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))(vertical)) -(rectangle (rect 408 712 1640 1768)(color 255 70 153)(line_width 5)(fill (color 255 225 239))) +(text "Clock" (rect 1544 200 1647 236)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))) +(text "Clock" (rect 1076 576 1112 679)(font "Arial" (color 0 128 0)(font_size 24)(bold_italic))(vertical)) +(text "Clear" (rect 1196 574 1232 668)(font "Arial" (color 0 0 0)(font_size 24)(bold_italic))(vertical)) +(rectangle (rect 408 864 1640 1776)(color 255 70 153)(line_width 5)(fill (color 255 225 239))) (rectangle (rect 2848 840 3536 1480)(color 255 152 60)(line_width 5)(fill (color 255 235 217))) (rectangle (rect 2848 1488 3488 1856)(color 106 200 255)(line_width 5)(fill (color 208 238 255))) -(rectangle (rect 448 24 1080 576)(color 106 200 255)(line_width 5)(fill (color 208 238 255))) +(rectangle (rect 448 176 1032 648)(color 106 200 255)(line_width 5)(fill (color 208 238 255))) (rectangle (rect 1656 1392 2312 1792)(color 22 254 162)(line_width 5)(fill (color 174 255 223))) (rectangle (rect 2320 1248 2832 1792)(color 130 94 255)(line_width 5)(fill (color 237 232 255))) diff --git a/machine_alpha/machine_alpha.qsf b/machine_alpha/machine_alpha.qsf index 160d901..a8a13f6 100644 --- a/machine_alpha/machine_alpha.qsf +++ b/machine_alpha/machine_alpha.qsf @@ -132,5 +132,6 @@ set_instance_assignment -name NOT_A_CLOCK ON -to uIR4 set_instance_assignment -name NOT_A_CLOCK ON -to uIR5 set_instance_assignment -name NOT_A_CLOCK ON -to uIR6 set_location_assignment PIN_114 -to uIR18 -set_instance_assignment -name NOT_A_CLOCK ON -to uIR17 -set_instance_assignment -name NOT_A_CLOCK ON -to uIR18 \ No newline at end of file +set_location_assignment PIN_115 -to uIR19 +set_instance_assignment -name NOT_A_CLOCK ON -to uIR8 +set_instance_assignment -name NOT_A_CLOCK ON -to uIR9 \ No newline at end of file