diff --git a/test_ALU/38_decoder.bdf b/test_ALU/38_decoder.bdf new file mode 100644 index 0000000..4f89c23 --- /dev/null +++ b/test_ALU/38_decoder.bdf @@ -0,0 +1,886 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 32 328 200 344) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I0" (rect 5 0 14 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))) +) +(pin + (input) + (rect 32 240 200 256) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I1" (rect 5 0 14 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))) +) +(pin + (input) + (rect 32 144 200 160) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I2" (rect 5 0 14 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))) +) +(pin + (output) + (rect 664 40 840 56) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 376 840 392) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 328 840 344) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 280 840 296) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 232 840 248) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 184 840 200) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 136 840 152) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 88 840 104) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 296 136 344 168) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 21 20 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 296 232 344 264) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst1" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 296 320 344 352) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 544 24 608 72) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 72 608 120) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 120 608 168) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 168 608 216) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 216 608 264) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 264 608 312) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 312 608 360) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 360 608 408) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(connector + (pt 216 40) + (pt 216 152) +) +(connector + (pt 240 48) + (pt 240 248) +) +(connector + (pt 264 56) + (pt 264 336) +) +(connector + (pt 544 184) + (pt 360 184) +) +(connector + (pt 344 152) + (pt 376 152) +) +(connector + (pt 376 376) + (pt 544 376) +) +(connector + (pt 544 88) + (pt 360 88) +) +(connector + (pt 544 288) + (pt 416 288) +) +(connector + (pt 544 344) + (pt 464 344) +) +(connector + (pt 544 96) + (pt 416 96) +) +(connector + (pt 544 328) + (pt 376 328) +) +(connector + (pt 544 280) + (pt 376 280) +) +(connector + (pt 544 232) + (pt 376 232) +) +(connector + (pt 544 240) + (pt 416 240) +) +(connector + (pt 544 104) + (pt 520 104) +) +(connector + (pt 520 392) + (pt 544 392) +) +(connector + (pt 544 296) + (pt 520 296) +) +(connector + (pt 544 200) + (pt 520 200) +) +(connector + (pt 344 336) + (pt 520 336) +) +(connector + (pt 544 136) + (pt 360 136) +) +(connector + (pt 544 152) + (pt 464 152) +) +(connector + (pt 544 144) + (pt 400 144) +) +(connector + (pt 400 384) + (pt 544 384) +) +(connector + (pt 544 336) + (pt 528 336) +) +(connector + (pt 528 336) + (pt 528 352) +) +(connector + (pt 528 352) + (pt 400 352) +) +(connector + (pt 544 192) + (pt 400 192) +) +(connector + (pt 344 248) + (pt 400 248) +) +(connector + (pt 544 248) + (pt 464 248) +) +(connector + (pt 608 336) + (pt 664 336) +) +(connector + (pt 608 288) + (pt 664 288) +) +(connector + (pt 608 384) + (pt 664 384) +) +(connector + (pt 608 240) + (pt 664 240) +) +(connector + (pt 608 192) + (pt 664 192) +) +(connector + (pt 608 144) + (pt 664 144) +) +(connector + (pt 608 96) + (pt 664 96) +) +(connector + (pt 608 48) + (pt 664 48) +) +(connector + (pt 200 152) + (pt 216 152) +) +(connector + (pt 216 152) + (pt 296 152) +) +(connector + (pt 200 248) + (pt 240 248) +) +(connector + (pt 240 248) + (pt 296 248) +) +(connector + (pt 200 336) + (pt 264 336) +) +(connector + (pt 264 336) + (pt 296 336) +) +(connector + (pt 216 40) + (pt 360 40) +) +(connector + (pt 360 40) + (pt 544 40) +) +(connector + (pt 240 48) + (pt 416 48) +) +(connector + (pt 416 48) + (pt 544 48) +) +(connector + (pt 376 328) + (pt 376 376) +) +(connector + (pt 376 152) + (pt 376 232) +) +(connector + (pt 376 232) + (pt 376 280) +) +(connector + (pt 376 280) + (pt 376 328) +) +(connector + (pt 416 48) + (pt 416 96) +) +(connector + (pt 416 96) + (pt 416 240) +) +(connector + (pt 416 240) + (pt 416 288) +) +(connector + (pt 520 104) + (pt 520 200) +) +(connector + (pt 520 200) + (pt 520 296) +) +(connector + (pt 520 296) + (pt 520 336) +) +(connector + (pt 520 336) + (pt 520 392) +) +(connector + (pt 360 40) + (pt 360 88) +) +(connector + (pt 360 88) + (pt 360 136) +) +(connector + (pt 360 136) + (pt 360 184) +) +(connector + (pt 264 56) + (pt 464 56) +) +(connector + (pt 464 56) + (pt 544 56) +) +(connector + (pt 400 144) + (pt 400 192) +) +(connector + (pt 400 192) + (pt 400 248) +) +(connector + (pt 400 248) + (pt 400 352) +) +(connector + (pt 400 352) + (pt 400 384) +) +(connector + (pt 464 56) + (pt 464 152) +) +(connector + (pt 464 152) + (pt 464 248) +) +(connector + (pt 464 248) + (pt 464 344) +) +(junction (pt 216 152)) +(junction (pt 240 248)) +(junction (pt 264 336)) +(junction (pt 360 88)) +(junction (pt 360 40)) +(junction (pt 416 96)) +(junction (pt 416 48)) +(junction (pt 376 328)) +(junction (pt 376 280)) +(junction (pt 376 232)) +(junction (pt 416 240)) +(junction (pt 520 200)) +(junction (pt 520 296)) +(junction (pt 520 336)) +(junction (pt 360 136)) +(junction (pt 464 152)) +(junction (pt 464 56)) +(junction (pt 400 352)) +(junction (pt 400 192)) +(junction (pt 400 248)) +(junction (pt 464 248)) diff --git a/test_ALU/38_decoder.bsf b/test_ALU/38_decoder.bsf new file mode 100644 index 0000000..942dc3a --- /dev/null +++ b/test_ALU/38_decoder.bsf @@ -0,0 +1,106 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 16 16 112 208) + (text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 176 25 188)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(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 176)(line_width 1)) + ) +) diff --git a/test_ALU/ALU_3_in_1.bdf b/test_ALU/ALU_3_in_1.bdf new file mode 100644 index 0000000..40a3196 --- /dev/null +++ b/test_ALU/ALU_3_in_1.bdf @@ -0,0 +1,3658 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 352 2120 368 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A0" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 336 2120 352 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A1" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 320 2120 336 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A2" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 304 2120 320 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A3" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 288 2120 304 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A4" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 272 2120 288 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A5" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 256 2120 272 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A6" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 240 2120 256 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "A7" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 592 2120 608 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B0" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 576 2120 592 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B1" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 560 2120 576 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B2" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 544 2120 560 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B3" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 528 2120 544 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B4" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 512 2120 528 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B5" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 496 2120 512 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B6" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 480 2120 496 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "B7" (rect 0 112 12 124)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 736 2120 752 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "CLR" (rect 0 134 12 156)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 768 2120 784 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "CP_A" (rect 0 134 12 162)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 800 2120 816 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "CP_B" (rect 0 134 12 162)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 984 2120 1000 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "CP_Z" (rect 1 133 13 161)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 1104 2120 1120 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "S1" (rect 1 133 13 145)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 1120 2120 1136 2288) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "S0" (rect 1 133 13 145)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) +(pin + (input) + (rect 1088 2120 1104 2288) + (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 416 736 432 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q0" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 400 736 416 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q1" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 384 736 400 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q2" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 368 736 384 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q3" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 352 736 368 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q4" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 336 736 352 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q5" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 320 736 336 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q6" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 304 736 320 912) + (text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical)) + (text "Q7" (rect 2 5 14 19)(font "Arial" )(vertical)) + (pt 8 176) + (drawing + (line (pt 8 176)(pt 8 124)(line_width 1)) + (line (pt 4 124)(pt 4 98)(line_width 1)) + (line (pt 12 124)(pt 12 98)(line_width 1)) + (line (pt 12 124)(pt 4 124)(line_width 1)) + (line (pt 4 98)(pt 8 94)(line_width 1)) + (line (pt 8 94)(pt 12 98)(line_width 1)) + (line (pt 12 98)(pt 8 94)(line_width 1)) + ) + (rotate90) +) +(pin + (output) + (rect 1304 1392 1480 1408) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_C" (rect 90 0 125 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1304 1376 1480 1392) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_Z" (rect 90 0 124 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1304 1360 1480 1376) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_N" (rect 90 0 125 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1304 1344 1480 1360) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_V" (rect 90 0 124 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 296 1640 680 1728) + (text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 72 25 84)(font "Arial" )) + (port + (pt 144 88) + (input) + (text "A0" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A0" (rect 136 48 150 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 88)(pt 144 72)(line_width 1)) + ) + (port + (pt 272 88) + (input) + (text "B0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B0" (rect 264 49 278 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 272 88)(pt 272 72)(line_width 1)) + ) + (port + (pt 128 88) + (input) + (text "A1" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A1" (rect 120 48 134 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 88)(pt 128 72)(line_width 1)) + ) + (port + (pt 256 88) + (input) + (text "B1" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B1" (rect 248 49 262 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 256 88)(pt 256 72)(line_width 1)) + ) + (port + (pt 112 88) + (input) + (text "A2" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A2" (rect 104 48 118 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 88)(pt 112 72)(line_width 1)) + ) + (port + (pt 240 88) + (input) + (text "B2" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B2" (rect 232 49 246 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 240 88)(pt 240 72)(line_width 1)) + ) + (port + (pt 96 88) + (input) + (text "A3" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A3" (rect 88 48 102 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 88)(pt 96 72)(line_width 1)) + ) + (port + (pt 224 88) + (input) + (text "B3" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B3" (rect 216 49 230 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 224 88)(pt 224 72)(line_width 1)) + ) + (port + (pt 288 88) + (input) + (text "C0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "C0" (rect 280 49 294 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 288 88)(pt 288 72)(line_width 1)) + ) + (port + (pt 304 88) + (input) + (text "M" (rect 0 -328 9 -314)(font "Arial" (font_size 8))) + (text "M" (rect 296 55 310 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 304 88)(pt 304 72)(line_width 1)) + ) + (port + (pt 320 88) + (input) + (text "S3" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S3" (rect 312 49 326 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 320 88)(pt 320 72)(line_width 1)) + ) + (port + (pt 336 88) + (input) + (text "S2" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S2" (rect 328 49 342 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 336 88)(pt 336 72)(line_width 1)) + ) + (port + (pt 352 88) + (input) + (text "S1" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S1" (rect 344 49 358 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 352 88)(pt 352 72)(line_width 1)) + ) + (port + (pt 368 88) + (input) + (text "S0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S0" (rect 360 49 374 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 368 88)(pt 368 72)(line_width 1)) + ) + (port + (pt 80 88) + (input) + (text "A4" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A4" (rect 72 48 86 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 88)(pt 80 72)(line_width 1)) + ) + (port + (pt 208 88) + (input) + (text "B4" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B4" (rect 200 49 214 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 208 88)(pt 208 72)(line_width 1)) + ) + (port + (pt 64 88) + (input) + (text "A5" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A5" (rect 56 48 70 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 88)(pt 64 72)(line_width 1)) + ) + (port + (pt 192 88) + (input) + (text "B5" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B5" (rect 184 49 198 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 192 88)(pt 192 72)(line_width 1)) + ) + (port + (pt 48 88) + (input) + (text "A6" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A6" (rect 40 48 54 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 88)(pt 48 72)(line_width 1)) + ) + (port + (pt 176 88) + (input) + (text "B6" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B6" (rect 168 49 182 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 88)(pt 176 72)(line_width 1)) + ) + (port + (pt 32 88) + (input) + (text "A7" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A7" (rect 24 48 38 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 88)(pt 32 72)(line_width 1)) + ) + (port + (pt 160 88) + (input) + (text "B7" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B7" (rect 152 49 166 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 88)(pt 160 72)(line_width 1)) + ) + (port + (pt 160 0) + (output) + (text "F0" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F0" (rect 152 24 166 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 0)(pt 160 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "F1" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F1" (rect 136 24 150 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "F2" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F2" (rect 120 24 134 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "F3" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F3" (rect 104 24 118 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "C8" (rect 168 0 183 14)(font "Arial" (font_size 8))) + (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "F4" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F4" (rect 88 24 102 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "F5" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F5" (rect 72 24 86 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "F6" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F6" (rect 56 24 70 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "F7" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F7" (rect 40 24 54 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 384 72)(line_width 1)) + ) +) +(symbol + (rect 568 1776 600 1808) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible)) + (port + (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 184 1920 408 2016) + (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) + (text "A" (rect 208 65 220 72)(font "Arial" )(vertical)) + (port + (pt 32 96) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (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 "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (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 "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 208 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 424 1920 648 2016) + (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) + (text "B" (rect 208 65 220 72)(font "Arial" )(vertical)) + (port + (pt 32 96) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (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 "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (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 "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 208 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 280 928 504 1024) + (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) + (text "Z" (rect 208 65 220 72)(font "Arial" )(vertical)) + (port + (pt 32 96) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 27 52 41 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 43 60 57 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 59 60 73 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 75 60 89 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 91 60 105 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 107 60 121 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 123 60 137 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 139 60 153 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 155 60 169 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 171 60 185 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (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 "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (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 "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 208 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 608 1520 656 1552) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 1176 1256 1272 1480) + (text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8))) + (text "CZNV" (rect 8 208 38 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 43 36 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (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 "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (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 "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 208)(line_width 1)) + ) +) +(symbol + (rect 528 1464 592 1608) + (text "OR8" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 133 26 145)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible)) + (line (pt 0 48)(pt 14 48)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible)) + (text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible)) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible)) + (text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible)) + (line (pt 0 96)(pt 14 96)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible)) + (text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible)) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "IN7" (rect 2 103 19 115)(font "Courier New" (bold))(invisible)) + (text "IN7" (rect 2 103 19 115)(font "Courier New" (bold))(invisible)) + (line (pt 0 112)(pt 14 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "IN8" (rect 2 119 19 131)(font "Courier New" (bold))(invisible)) + (text "IN8" (rect 2 119 19 131)(font "Courier New" (bold))(invisible)) + (line (pt 0 128)(pt 14 128)(line_width 1)) + ) + (port + (pt 64 72) + (output) + (text "OUT" (rect 48 63 65 75)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 63 65 75)(font "Courier New" (bold))(invisible)) + (line (pt 48 72)(pt 64 72)(line_width 1)) + ) + (drawing + (line (pt 14 131)(pt 14 83)(line_width 1)) + (line (pt 14 84)(pt 25 84)(line_width 1)) + (line (pt 14 61)(pt 25 61)(line_width 1)) + (line (pt 14 61)(pt 14 13)(line_width 1)) + (arc (pt 25 83)(pt 49 72)(rect -6 21 57 84)(line_width 1)) + (arc (pt 49 72)(pt 25 61)(rect -6 61 57 124)(line_width 1)) + (arc (pt 7 77)(pt 7 67)(rect -14 56 19 89)(line_width 1)) + ) +) +(symbol + (rect 560 1304 624 1352) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst45" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 640 1312 704 1360) + (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst46" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 11 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 11 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42)(line_width 1)) + ) +) +(symbol + (rect 736 1320 800 1368) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst47" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 544 1368 608 1416) + (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst48" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 11 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 11 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42)(line_width 1)) + ) +) +(symbol + (rect 624 1376 672 1408) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst49" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 1064 2008 1256 2104) + (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) +) +(symbol + (rect 624 1792 976 1888) + (text "double_selector_8b" (rect 0 -21 14 91)(font "Arial" (font_size 8))(vertical)) + (text "inst14" (rect 336 59 348 88)(font "Arial" )(vertical)) + (port + (pt 144 96) + (input) + (text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a0" (rect 136 61 150 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a1" (rect 120 61 134 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a2" (rect 104 61 118 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a3" (rect 88 61 102 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a4" (rect 72 61 86 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a5" (rect 56 61 70 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 48 96) + (input) + (text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a6" (rect 40 61 54 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 32 96) + (input) + (text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a7" (rect 24 61 38 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 272 96) + (input) + (text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b0" (rect 267 61 281 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 272 96)(pt 272 80)(line_width 1)) + ) + (port + (pt 256 96) + (input) + (text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b1" (rect 251 61 265 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 256 96)(pt 256 80)(line_width 1)) + ) + (port + (pt 240 96) + (input) + (text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b2" (rect 235 61 249 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 240 96)(pt 240 80)(line_width 1)) + ) + (port + (pt 224 96) + (input) + (text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b3" (rect 219 61 233 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 224 96)(pt 224 80)(line_width 1)) + ) + (port + (pt 208 96) + (input) + (text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b4" (rect 203 61 217 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 208 96)(pt 208 80)(line_width 1)) + ) + (port + (pt 192 96) + (input) + (text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b5" (rect 187 61 201 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 192 96)(pt 192 80)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b6" (rect 171 61 185 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b7" (rect 155 61 169 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 288 96) + (input) + (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) + (text "AY" (rect 283 57 297 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 288 96)(pt 288 80)(line_width 1)) + ) + (port + (pt 304 96) + (input) + (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) + (text "BY" (rect 299 58 313 75)(font "Arial" (font_size 8))(vertical)) + (line (pt 304 96)(pt 304 80)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 139 21 153 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 123 21 137 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 107 21 121 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 91 21 105 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 75 21 89 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 21 73 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 43 21 57 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 27 21 41 37)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 336 80)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 600 1176 664 1224) + (text "AND2" (rect 39 0 63 10)(font "Arial" (font_size 6))) + (text "inst17" (rect 32 37 61 49)(font "Arial" )) + (port + (pt 64 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 45 7 62 19)(font "Courier New" (bold))(invisible)) + (line (pt 64 16)(pt 50 16)(line_width 1)) + ) + (port + (pt 64 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 45 23 62 35)(font "Courier New" (bold))(invisible)) + (line (pt 64 32)(pt 50 32)(line_width 1)) + ) + (port + (pt 0 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect -1 15 16 27)(font "Courier New" (bold))(invisible)) + (line (pt 22 24)(pt 0 24)(line_width 1)) + ) + (drawing + (line (pt 50 12)(pt 34 12)(line_width 1)) + (line (pt 50 37)(pt 33 37)(line_width 1)) + (line (pt 50 12)(pt 50 37)(line_width 1)) + (arc (pt 34 12)(pt 33 37)(rect 21 12 46 37)(line_width 1)) + ) + (flipy) +) +(symbol + (rect 1032 1968 1064 2000) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (line (pt 16 8)(pt 16 0)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 16 16)(line_width 1)) + (line (pt 16 16)(pt 24 8)(line_width 1)) + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1032 1880 1064 1896) + (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) + (text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible)) + (port + (pt 16 16) + (output) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (line (pt 16 16)(pt 16 8)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1176 1776 1224 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "ALU" (rect 38 37 50 58)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1128 1776 1176 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "left" (rect 37 38 49 54)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1080 1776 1128 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "right" (rect 39 36 51 57)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1032 1776 1080 1840) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "carry" (rect 38 37 50 62)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1184 1920 1232 1984) + (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) + (text "ALU1" (rect 38 37 50 64)(font "Arial" )(vertical)) + (port + (pt 32 64) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 23 45 35 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 32 64)(pt 32 49)(line_width 1)) + ) + (port + (pt 16 64) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 7 45 19 62)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 16 64)(pt 16 49)(line_width 1)) + ) + (port + (pt 24 0) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 15 -1 27 16)(font "Courier New" (bold))(vertical)(invisible)) + (line (pt 24 16)(pt 24 0)(line_width 1)) + ) + (drawing + (line (pt 36 50)(pt 36 39)(line_width 1)) + (line (pt 13 50)(pt 13 39)(line_width 1)) + (arc (pt 29 57)(pt 19 57)(rect 8 45 41 78)(line_width 1)) + (arc (pt 24 15)(pt 13 39)(rect 13 7 76 70)(line_width 1)) + (arc (pt 35 39)(pt 24 15)(rect -27 7 36 70)(line_width 1)) + ) + (rotate90) +) +(symbol + (rect 1144 1496 1176 1528) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 21 32 33)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (line (pt 16 8)(pt 16 0)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 16 16)(line_width 1)) + (line (pt 16 16)(pt 24 8)(line_width 1)) + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 1024 1592 1120 1688) + (text "nano_selector" (rect 5 0 86 14)(font "Arial" (font_size 8))) + (text "CarrySelect_OnlyWhenAdding" (rect 8 80 157 92)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "A" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "A" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "B" (rect 0 0 8 14)(font "Arial" (font_size 8))) + (text "B" (rect 21 43 29 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "A_EN" (rect 0 0 31 14)(font "Arial" (font_size 8))) + (text "A_EN" (rect 21 59 52 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "Q" (rect 66 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 80)(line_width 1)) + ) +) +(symbol + (rect 296 1088 528 1184) + (text "shifter_8b" (rect 5 0 62 14)(font "Arial" (font_size 8))) + (text "inst1" (rect 8 80 31 92)(font "Arial" )) + (port + (pt 48 96) + (input) + (text "A7" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A7" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "A6" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A6" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "A5" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A5" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "A4" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A4" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "A3" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A3" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "A2" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A2" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "A1" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A1" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "A0" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A0" (rect 152 56 166 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 232 32) + (input) + (text "LM" (rect -56 0 -40 14)(font "Arial" (font_size 8))) + (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) + (line (pt 216 32)(pt 232 32)(line_width 1)) + ) + (port + (pt 232 48) + (input) + (text "DM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) + (line (pt 216 48)(pt 232 48)(line_width 1)) + ) + (port + (pt 232 64) + (input) + (text "RM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) + (line (pt 216 64)(pt 232 64)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "R_in" (rect 0 -160 24 -146)(font "Arial" (font_size 8))) + (text "R_in" (rect 168 48 182 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 96) + (input) + (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) + (text "L_in" (rect 24 48 38 71)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y7" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y6" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y5" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y4" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y3" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y2" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y1" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 160 0) + (output) + (text "Y0" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 0)(pt 160 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "C8" (rect 192 0 207 14)(font "Arial" (font_size 8))) + (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 216 80)(line_width 1)) + ) +) +(symbol + (rect 1080 1224 1144 1272) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst50" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(connector + (pt 248 2088) + (pt 152 2088) +) +(connector + (pt 488 2072) + (pt 168 2072) +) +(connector + (pt 232 2016) + (pt 232 2056) +) +(connector + (pt 472 2016) + (pt 472 2040) +) +(connector + (pt 440 1728) + (pt 440 1904) +) +(connector + (pt 440 1904) + (pt 328 1904) +) +(connector + (pt 424 1728) + (pt 424 1888) +) +(connector + (pt 424 1888) + (pt 312 1888) +) +(connector + (pt 408 1728) + (pt 408 1872) +) +(connector + (pt 408 1872) + (pt 296 1872) +) +(connector + (pt 392 1728) + (pt 392 1856) +) +(connector + (pt 392 1856) + (pt 280 1856) +) +(connector + (pt 376 1728) + (pt 376 1840) +) +(connector + (pt 376 1840) + (pt 264 1840) +) +(connector + (pt 360 1728) + (pt 360 1824) +) +(connector + (pt 360 1824) + (pt 248 1824) +) +(connector + (pt 344 1728) + (pt 344 1808) +) +(connector + (pt 344 1808) + (pt 232 1808) +) +(connector + (pt 328 1728) + (pt 328 1792) +) +(connector + (pt 328 1792) + (pt 216 1792) +) +(connector + (pt 528 1384) + (pt 544 1384) +) +(connector + (pt 512 1400) + (pt 544 1400) +) +(connector + (pt 608 1392) + (pt 624 1392) +) +(connector + (pt 720 1392) + (pt 720 1352) +) +(connector + (pt 736 1352) + (pt 720 1352) +) +(connector + (pt 512 1320) + (pt 512 1400) +) +(connector + (pt 528 1336) + (pt 528 1384) +) +(connector + (pt 624 1328) + (pt 640 1328) +) +(connector + (pt 704 1336) + (pt 736 1336) +) +(connector + (pt 152 2088) + (pt 152 1320) +) +(connector + (pt 168 2072) + (pt 168 1336) +) +(connector + (pt 672 1392) + (pt 720 1392) +) +(connector + (pt 360 1496) + (pt 528 1496) +) +(connector + (pt 376 1512) + (pt 528 1512) +) +(connector + (pt 392 1528) + (pt 528 1528) +) +(connector + (pt 408 1544) + (pt 528 1544) +) +(connector + (pt 424 1560) + (pt 528 1560) +) +(connector + (pt 440 1576) + (pt 528 1576) +) +(connector + (pt 456 1592) + (pt 528 1592) +) +(connector + (pt 592 1536) + (pt 608 1536) +) +(connector + (pt 232 2056) + (pt 776 2056) +) +(connector + (pt 472 2040) + (pt 808 2040) +) +(connector + (pt 600 1728) + (pt 600 1768) +) +(connector + (pt 616 1728) + (pt 616 1760) +) +(connector + (pt 632 1728) + (pt 632 1752) +) +(connector + (pt 648 1728) + (pt 648 1744) +) +(connector + (pt 664 1728) + (pt 664 1736) +) +(connector + (pt 1144 1872) + (pt 1160 1872) +) +(connector + (pt 1096 1872) + (pt 1048 1872) +) +(connector + (pt 1160 1840) + (pt 1160 1872) +) +(connector + (pt 1144 1840) + (pt 1144 1856) +) +(connector + (pt 1064 1840) + (pt 1064 1856) +) +(connector + (pt 1048 1840) + (pt 1048 1872) +) +(connector + (pt 1160 1888) + (pt 1192 1888) +) +(connector + (pt 1192 1840) + (pt 1192 1888) +) +(connector + (pt 600 1768) + (pt 656 1768) +) +(connector + (pt 616 1760) + (pt 672 1760) +) +(connector + (pt 632 1752) + (pt 688 1752) +) +(connector + (pt 648 1744) + (pt 704 1744) +) +(connector + (pt 664 1736) + (pt 720 1736) +) +(connector + (pt 656 1888) + (pt 656 1952) +) +(connector + (pt 688 1888) + (pt 688 1952) +) +(connector + (pt 704 1888) + (pt 704 1952) +) +(connector + (pt 736 1888) + (pt 736 1952) +) +(connector + (pt 752 1888) + (pt 752 1952) +) +(connector + (pt 768 1888) + (pt 768 1952) +) +(connector + (pt 848 1888) + (pt 848 1952) +) +(connector + (pt 864 1888) + (pt 864 1952) +) +(connector + (pt 880 1888) + (pt 880 1952) +) +(connector + (pt 896 1888) + (pt 896 1952) +) +(connector + (pt 672 1888) + (pt 672 1936) +) +(connector + (pt 720 1888) + (pt 720 1936) +) +(connector + (pt 784 1888) + (pt 784 1936) +) +(connector + (pt 800 1888) + (pt 800 1936) +) +(connector + (pt 816 1888) + (pt 816 1936) +) +(connector + (pt 832 1888) + (pt 832 1936) +) +(connector + (pt 912 1888) + (pt 912 1904) +) +(connector + (pt 1192 2008) + (pt 1192 2000) +) +(connector + (pt 1160 1920) + (pt 928 1920) +) +(connector + (pt 928 1888) + (pt 928 1920) +) +(connector + (pt 656 1536) + (pt 1120 1536) + (color 101 0 223) +) +(connector + (pt 1120 1536) + (pt 1120 1416) + (color 101 0 223) +) +(connector + (pt 1120 1416) + (pt 1176 1416) + (color 101 0 223) +) +(connector + (pt 1136 1432) + (pt 1176 1432) + (color 255 101 9) +) +(connector + (pt 1160 1320) + (pt 1176 1320) +) +(connector + (pt 1160 1336) + (pt 1176 1336) +) +(connector + (pt 1160 1352) + (pt 1176 1352) +) +(connector + (pt 1160 1368) + (pt 1176 1368) +) +(connector + (pt 640 1344) + (pt 632 1344) + (color 138 138 138) +) +(connector + (pt 632 1344) + (pt 632 1360) + (color 138 138 138) +) +(connector + (pt 472 1360) + (pt 632 1360) + (color 138 138 138) +) +(connector + (pt 1048 1936) + (pt 1048 1896) +) +(connector + (pt 904 1712) + (pt 1152 1712) +) +(connector + (pt 920 1696) + (pt 1200 1696) +) +(connector + (pt 888 1728) + (pt 1104 1728) +) +(connector + (pt 872 1744) + (pt 1056 1744) +) +(connector + (pt 1176 1992) + (pt 1200 1992) +) +(connector + (pt 1216 2000) + (pt 1216 1984) +) +(connector + (pt 1200 1992) + (pt 1200 1984) +) +(connector + (pt 584 1728) + (pt 584 1776) +) +(connector + (pt 216 1792) + (pt 216 1920) +) +(connector + (pt 232 1808) + (pt 232 1920) +) +(connector + (pt 248 1824) + (pt 248 1920) +) +(connector + (pt 264 1840) + (pt 264 1920) +) +(connector + (pt 280 1856) + (pt 280 1920) +) +(connector + (pt 296 1872) + (pt 296 1920) +) +(connector + (pt 312 1888) + (pt 312 1920) +) +(connector + (pt 328 1904) + (pt 328 1920) +) +(connector + (pt 456 1728) + (pt 456 1920) +) +(connector + (pt 472 1728) + (pt 472 1920) +) +(connector + (pt 488 1728) + (pt 488 1920) +) +(connector + (pt 504 1728) + (pt 504 1920) +) +(connector + (pt 520 1728) + (pt 520 1920) +) +(connector + (pt 536 1728) + (pt 536 1920) +) +(connector + (pt 552 1728) + (pt 552 1920) +) +(connector + (pt 568 1728) + (pt 568 1920) +) +(connector + (pt 1112 1840) + (pt 1112 2008) +) +(connector + (pt 1128 1856) + (pt 1128 2008) +) +(connector + (pt 1144 1872) + (pt 1144 2008) +) +(connector + (pt 1176 1992) + (pt 1176 2008) +) +(connector + (pt 720 1736) + (pt 720 1792) +) +(connector + (pt 704 1744) + (pt 704 1792) +) +(connector + (pt 688 1752) + (pt 688 1792) +) +(connector + (pt 672 1760) + (pt 672 1792) +) +(connector + (pt 656 1768) + (pt 656 1792) +) +(connector + (pt 1048 1952) + (pt 1048 1968) +) +(connector + (pt 1200 1696) + (pt 1200 1776) +) +(connector + (pt 1152 1712) + (pt 1152 1776) +) +(connector + (pt 1104 1728) + (pt 1104 1776) +) +(connector + (pt 1056 1744) + (pt 1056 1776) +) +(connector + (pt 360 2016) + (pt 360 2120) +) +(connector + (pt 344 2016) + (pt 344 2120) +) +(connector + (pt 328 2016) + (pt 328 2120) +) +(connector + (pt 312 2016) + (pt 312 2120) +) +(connector + (pt 296 2016) + (pt 296 2120) +) +(connector + (pt 280 2016) + (pt 280 2120) +) +(connector + (pt 264 2016) + (pt 264 2120) +) +(connector + (pt 600 2016) + (pt 600 2120) +) +(connector + (pt 584 2016) + (pt 584 2120) +) +(connector + (pt 568 2016) + (pt 568 2120) +) +(connector + (pt 552 2016) + (pt 552 2120) +) +(connector + (pt 536 2016) + (pt 536 2120) +) +(connector + (pt 520 2016) + (pt 520 2120) +) +(connector + (pt 504 2016) + (pt 504 2120) +) +(connector + (pt 776 2056) + (pt 776 2120) +) +(connector + (pt 808 2040) + (pt 808 2120) +) +(connector + (pt 1112 2104) + (pt 1112 2120) +) +(connector + (pt 1128 2104) + (pt 1128 2120) +) +(connector + (pt 1096 2104) + (pt 1096 2120) +) +(connector + (pt 168 1336) + (pt 528 1336) +) +(connector + (pt 528 1336) + (pt 560 1336) +) +(connector + (pt 152 1320) + (pt 512 1320) +) +(connector + (pt 512 1320) + (pt 560 1320) +) +(connector + (pt 656 1952) + (pt 688 1952) +) +(connector + (pt 344 1480) + (pt 472 1480) + (color 138 138 138) +) +(connector + (pt 472 1480) + (pt 528 1480) + (color 138 138 138) +) +(connector + (pt 672 1936) + (pt 720 1936) +) +(connector + (pt 720 1936) + (pt 784 1936) +) +(connector + (pt 784 1936) + (pt 800 1936) +) +(connector + (pt 800 1936) + (pt 816 1936) +) +(connector + (pt 816 1936) + (pt 832 1936) +) +(connector + (pt 832 1936) + (pt 1048 1936) +) +(connector + (pt 912 1904) + (pt 1008 1904) +) +(connector + (pt 1008 1904) + (pt 1208 1904) +) +(connector + (pt 688 1952) + (pt 704 1952) +) +(connector + (pt 704 1952) + (pt 736 1952) +) +(connector + (pt 736 1952) + (pt 752 1952) +) +(connector + (pt 752 1952) + (pt 768 1952) +) +(connector + (pt 768 1952) + (pt 848 1952) +) +(connector + (pt 848 1952) + (pt 864 1952) +) +(connector + (pt 864 1952) + (pt 880 1952) +) +(connector + (pt 880 1952) + (pt 896 1952) +) +(connector + (pt 896 1952) + (pt 1048 1952) +) +(connector + (pt 1160 1320) + (pt 1160 1336) +) +(connector + (pt 1160 1336) + (pt 1160 1352) +) +(connector + (pt 1096 1840) + (pt 1096 1872) +) +(connector + (pt 1096 1872) + (pt 1096 2008) +) +(connector + (pt 1064 1856) + (pt 1128 1856) +) +(connector + (pt 1128 1856) + (pt 1144 1856) +) +(connector + (pt 1160 1888) + (pt 1160 1920) +) +(connector + (pt 1160 1920) + (pt 1160 2008) +) +(connector + (pt 1192 2000) + (pt 1216 2000) +) +(connector + (pt 1216 2000) + (pt 1248 2000) +) +(connector + (pt 1208 1840) + (pt 1208 1904) +) +(connector + (pt 1208 1904) + (pt 1208 1920) +) +(connector + (pt 1160 1352) + (pt 1160 1368) +) +(connector + (pt 1160 1368) + (pt 1160 1496) +) +(connector + (pt 248 2016) + (pt 248 2088) +) +(connector + (pt 248 2088) + (pt 248 2120) +) +(connector + (pt 488 2016) + (pt 488 2072) +) +(connector + (pt 488 2072) + (pt 488 2120) +) +(connector + (pt 1248 2000) + (pt 1248 1568) +) +(connector + (pt 1248 1568) + (pt 976 1568) +) +(connector + (pt 992 1776) + (pt 840 1776) + (color 0 128 128) +) +(connector + (pt 992 1776) + (pt 992 2120) + (color 0 128 128) +) +(connector + (pt 840 1256) + (pt 840 1776) + (color 0 128 128) +) +(connector + (pt 1176 1304) + (pt 1160 1304) + (color 0 128 128) +) +(connector + (pt 1136 1624) + (pt 1120 1624) + (color 255 101 9) +) +(connector + (pt 1136 1432) + (pt 1136 1624) + (color 255 101 9) +) +(connector + (pt 328 1640) + (pt 328 1624) + (color 234 105 0) +) +(connector + (pt 328 1624) + (pt 1024 1624) + (color 255 101 9) +) +(connector + (pt 944 1640) + (pt 1024 1640) + (color 255 101 9) +) +(connector + (pt 1024 1656) + (pt 1008 1656) +) +(connector + (pt 1008 1656) + (pt 1008 1904) +) +(connector + (pt 1176 1400) + (pt 1104 1400) + (color 138 138 138) +) +(connector + (pt 1104 1440) + (pt 1104 1400) + (color 138 138 138) +) +(connector + (pt 472 1440) + (pt 1104 1440) + (color 138 138 138) +) +(connector + (pt 472 1360) + (pt 472 1440) + (color 138 138 138) +) +(connector + (pt 472 1440) + (pt 472 1480) + (color 138 138 138) +) +(connector + (pt 1088 1344) + (pt 1088 1384) + (color 255 45 129) +) +(connector + (pt 1176 1384) + (pt 1088 1384) + (color 255 45 129) +) +(connector + (pt 800 1344) + (pt 1088 1344) + (color 255 45 129) +) +(connector + (pt 216 2016) + (pt 216 2104) + (color 0 0 0) +) +(connector + (pt 456 2016) + (pt 456 2104) + (color 0 0 0) +) +(connector + (pt 744 2104) + (pt 744 2120) + (color 0 0 0) +) +(connector + (pt 136 2104) + (pt 216 2104) + (color 0 0 0) +) +(connector + (pt 216 2104) + (pt 456 2104) + (color 0 0 0) +) +(connector + (pt 456 2104) + (pt 744 2104) + (color 0 0 0) +) +(connector + (pt 136 1288) + (pt 1176 1288) + (color 0 0 0) +) +(connector + (pt 872 1192) + (pt 664 1192) +) +(connector + (pt 872 1744) + (pt 872 1192) +) +(connector + (pt 1288 1400) + (pt 1288 1208) +) +(connector + (pt 1288 1208) + (pt 664 1208) +) +(connector + (pt 920 1136) + (pt 528 1136) +) +(connector + (pt 904 1120) + (pt 528 1120) +) +(connector + (pt 888 1152) + (pt 528 1152) +) +(connector + (pt 904 1712) + (pt 904 1120) +) +(connector + (pt 888 1728) + (pt 888 1152) +) +(connector + (pt 920 1696) + (pt 920 1136) +) +(connector + (pt 328 1200) + (pt 328 1184) +) +(connector + (pt 472 1200) + (pt 472 1184) +) +(connector + (pt 344 1184) + (pt 344 1480) + (color 138 138 138) +) +(connector + (pt 344 1480) + (pt 344 1640) + (color 138 138 138) +) +(connector + (pt 360 1184) + (pt 360 1496) +) +(connector + (pt 360 1496) + (pt 360 1640) +) +(connector + (pt 376 1184) + (pt 376 1512) +) +(connector + (pt 376 1512) + (pt 376 1640) +) +(connector + (pt 392 1184) + (pt 392 1528) +) +(connector + (pt 392 1528) + (pt 392 1640) +) +(connector + (pt 408 1184) + (pt 408 1544) +) +(connector + (pt 408 1544) + (pt 408 1640) +) +(connector + (pt 424 1184) + (pt 424 1560) +) +(connector + (pt 424 1560) + (pt 424 1640) +) +(connector + (pt 440 1184) + (pt 440 1576) +) +(connector + (pt 440 1576) + (pt 440 1640) +) +(connector + (pt 456 1184) + (pt 456 1592) +) +(connector + (pt 456 1592) + (pt 456 1640) +) +(connector + (pt 328 1200) + (pt 472 1200) +) +(connector + (pt 472 1200) + (pt 600 1200) +) +(connector + (pt 944 1640) + (pt 944 1072) + (color 255 101 9) +) +(connector + (pt 944 1072) + (pt 328 1072) + (color 255 101 9) +) +(connector + (pt 328 1088) + (pt 328 1072) + (color 255 101 9) +) +(connector + (pt 280 1256) + (pt 280 1056) + (color 0 128 128) +) +(connector + (pt 136 1040) + (pt 136 1288) + (color 0 0 0) +) +(connector + (pt 136 1288) + (pt 136 2104) + (color 0 0 0) +) +(connector + (pt 344 1088) + (pt 344 1024) +) +(connector + (pt 360 1088) + (pt 360 1024) +) +(connector + (pt 376 1088) + (pt 376 1024) +) +(connector + (pt 392 1088) + (pt 392 1024) +) +(connector + (pt 408 1088) + (pt 408 1024) +) +(connector + (pt 424 1088) + (pt 424 1024) +) +(connector + (pt 440 1088) + (pt 440 1024) +) +(connector + (pt 456 1088) + (pt 456 1024) +) +(connector + (pt 280 1056) + (pt 328 1056) + (color 0 128 128) +) +(connector + (pt 328 1056) + (pt 328 1024) + (color 0 128 128) +) +(connector + (pt 312 1040) + (pt 312 1024) + (color 0 0 0) +) +(connector + (pt 136 1040) + (pt 312 1040) + (color 0 0 0) +) +(connector + (pt 312 928) + (pt 312 912) +) +(connector + (pt 328 928) + (pt 328 912) +) +(connector + (pt 344 928) + (pt 344 912) +) +(connector + (pt 360 928) + (pt 360 912) +) +(connector + (pt 376 928) + (pt 376 912) +) +(connector + (pt 392 928) + (pt 392 912) +) +(connector + (pt 408 928) + (pt 408 912) +) +(connector + (pt 424 928) + (pt 424 912) +) +(connector + (pt 1272 1352) + (pt 1304 1352) +) +(connector + (pt 1272 1368) + (pt 1304 1368) +) +(connector + (pt 1272 1384) + (pt 1304 1384) +) +(connector + (pt 1272 1400) + (pt 1288 1400) +) +(connector + (pt 1288 1400) + (pt 1304 1400) +) +(connector + (pt 1160 1304) + (pt 1160 1248) + (color 0 128 128) +) +(connector + (pt 1160 1248) + (pt 1144 1248) + (color 0 128 128) +) +(connector + (pt 280 1256) + (pt 840 1256) + (color 0 128 128) +) +(connector + (pt 840 1256) + (pt 1080 1256) + (color 0 128 128) +) +(connector + (pt 976 1568) + (pt 976 1240) +) +(connector + (pt 976 1240) + (pt 1080 1240) +) +(junction (pt 528 1336)) +(junction (pt 512 1320)) +(junction (pt 216 2104)) +(junction (pt 456 2104)) +(junction (pt 688 1952)) +(junction (pt 704 1952)) +(junction (pt 1288 1400)) +(junction (pt 472 1440)) +(junction (pt 472 1480)) +(junction (pt 720 1936)) +(junction (pt 784 1936)) +(junction (pt 800 1936)) +(junction (pt 816 1936)) +(junction (pt 832 1936)) +(junction (pt 1008 1904)) +(junction (pt 736 1952)) +(junction (pt 752 1952)) +(junction (pt 768 1952)) +(junction (pt 848 1952)) +(junction (pt 864 1952)) +(junction (pt 880 1952)) +(junction (pt 896 1952)) +(junction (pt 1160 1336)) +(junction (pt 1160 1352)) +(junction (pt 456 1592)) +(junction (pt 440 1576)) +(junction (pt 424 1560)) +(junction (pt 408 1544)) +(junction (pt 392 1528)) +(junction (pt 376 1512)) +(junction (pt 360 1496)) +(junction (pt 344 1480)) +(junction (pt 1096 1872)) +(junction (pt 1160 1920)) +(junction (pt 1216 2000)) +(junction (pt 1208 1904)) +(junction (pt 1160 1368)) +(junction (pt 248 2088)) +(junction (pt 488 2072)) +(junction (pt 1128 1856)) +(junction (pt 840 1256)) +(junction (pt 136 1288)) +(junction (pt 472 1200)) +(text "B" (rect 488 1328 496 1342)(font "Arial" (font_size 8))) +(text "A" (rect 488 1312 497 1326)(font "Arial" (font_size 8))) +(text "Q" (rect 488 1352 497 1366)(font "Arial" (font_size 8))) +(text "overflow" (rect 480 1272 557 1291)(font "Arial" (color 255 45 129)(font_size 12)(bold))) +(text "zero" (rect 520 1432 560 1451)(font "Arial" (color 101 0 223)(font_size 12)(bold))) +(rectangle (rect 520 1456 664 1616)(color 101 0 223)(line_width 2)) +(rectangle (rect 480 1296 808 1424)(color 255 45 129)(line_width 2)) +(rectangle (rect 648 1928 728 1960)(color 0 128 0)) +(rectangle (rect 776 1928 856 1960)(color 0 128 0)) diff --git a/test_ALU/ALU_3_in_1.bsf b/test_ALU/ALU_3_in_1.bsf new file mode 100644 index 0000000..e0313d5 --- /dev/null +++ b/test_ALU/ALU_3_in_1.bsf @@ -0,0 +1,274 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 64 64 192 480) + (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 400 25 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)) + ) +) diff --git a/test_ALU/ALU_parallel_8b.bdf b/test_ALU/ALU_parallel_8b.bdf new file mode 100644 index 0000000..ddddde7 --- /dev/null +++ b/test_ALU/ALU_parallel_8b.bdf @@ -0,0 +1,2046 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect -24 96 144 112) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A0" (rect 5 0 17 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 -72 112 -24 128)) +) +(pin + (input) + (rect -24 112 144 128) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B0" (rect 5 0 17 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 -72 128 -24 144)) +) +(pin + (input) + (rect -24 128 144 144) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A1" (rect 5 0 17 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 -72 144 -24 160)) +) +(pin + (input) + (rect -24 144 144 160) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B1" (rect 5 0 17 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 -72 160 -24 176)) +) +(pin + (input) + (rect -24 160 144 176) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A2" (rect 5 0 17 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 -72 176 -24 192)) +) +(pin + (input) + (rect -24 176 144 192) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B2" (rect 5 0 17 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 -72 192 -24 208)) +) +(pin + (input) + (rect -24 192 144 208) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A3" (rect 5 0 17 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 -72 208 -24 224)) +) +(pin + (input) + (rect -24 208 144 224) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B3" (rect 5 0 17 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 -72 224 -24 240)) +) +(pin + (input) + (rect -40 400 128 416) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A4" (rect 5 0 17 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 -88 416 -40 432)) +) +(pin + (input) + (rect -40 416 128 432) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B4" (rect 5 0 17 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 -88 432 -40 448)) +) +(pin + (input) + (rect -40 432 128 448) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A5" (rect 5 0 17 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 -88 448 -40 464)) +) +(pin + (input) + (rect -40 448 128 464) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B5" (rect 5 0 17 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 -88 464 -40 480)) +) +(pin + (input) + (rect -40 464 128 480) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A6" (rect 5 0 17 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 -88 480 -40 496)) +) +(pin + (input) + (rect -40 480 128 496) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B6" (rect 5 0 17 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 -88 496 -40 512)) +) +(pin + (input) + (rect -40 496 128 512) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A7" (rect 5 0 17 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 -88 512 -40 528)) +) +(pin + (input) + (rect -40 512 128 528) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B7" (rect 5 0 17 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 -88 528 -40 544)) +) +(pin + (input) + (rect -24 240 144 256) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "M" (rect 5 0 13 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 -80 256 -24 272)) +) +(pin + (input) + (rect -24 224 144 240) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C0" (rect 5 0 19 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 -80 240 -24 256)) +) +(pin + (input) + (rect -24 304 144 320) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S3" (rect 5 0 17 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 -72 320 -24 336)) +) +(pin + (input) + (rect -24 288 144 304) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S2" (rect 5 0 17 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 -72 304 -24 320)) +) +(pin + (input) + (rect -24 272 144 288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S1" (rect 5 0 17 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 -72 288 -24 304)) +) +(pin + (input) + (rect -24 256 144 272) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S0" (rect 5 0 17 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 -72 272 -24 288)) +) +(pin + (output) + (rect 768 176 944 192) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F0" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 192 1000 208)) +) +(pin + (output) + (rect 768 192 944 208) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F1" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 208 1000 224)) +) +(pin + (output) + (rect 768 208 944 224) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F2" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 224 1000 240)) +) +(pin + (output) + (rect 768 224 944 240) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F3" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 240 1000 256)) +) +(pin + (output) + (rect 768 480 944 496) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F4" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 496 1000 512)) +) +(pin + (output) + (rect 768 496 944 512) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F5" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 512 1000 528)) +) +(pin + (output) + (rect 768 512 944 528) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F6" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 528 1000 544)) +) +(pin + (output) + (rect 768 528 944 544) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "F7" (rect 90 0 102 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 544 1000 560)) +) +(pin + (output) + (rect 768 560 944 576) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "C8" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 944 576 1000 592)) +) +(symbol + (rect 408 80 528 336) + (text "74181" (rect 41 0 82 16)(font "Arial" (font_size 10))) + (text "inst" (rect 3 245 17 255)(font "Arial" (font_size 6))) + (port + (pt 0 40) + (input) + (text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8))) + (text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8))) + (line (pt 0 40)(pt 8 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8))) + (text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8))) + (line (pt 0 24)(pt 8 24)(line_width 1)) + ) + (port + (pt 0 56) + (input) + (text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8))) + (text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8))) + (line (pt 0 56)(pt 8 56)(line_width 1)) + ) + (port + (pt 0 72) + (input) + (text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8))) + (text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8))) + (line (pt 0 72)(pt 8 72)(line_width 1)) + ) + (port + (pt 0 120) + (input) + (text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8))) + (text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8))) + (line (pt 0 120)(pt 8 120)(line_width 1)) + ) + (port + (pt 0 104) + (input) + (text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8))) + (text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8))) + (line (pt 0 104)(pt 8 104)(line_width 1)) + ) + (port + (pt 0 88) + (input) + (text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8))) + (text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8))) + (line (pt 0 88)(pt 8 88)(line_width 1)) + ) + (port + (pt 0 168) + (input) + (text "M" (rect 22 161 31 175)(font "Arial" (font_size 8))) + (text "M" (rect 22 161 31 175)(font "Arial" (font_size 8))) + (line (pt 0 168)(pt 16 168)(line_width 1)) + ) + (port + (pt 0 152) + (input) + (text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8))) + (text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8))) + (line (pt 0 152)(pt 8 152)(line_width 1)) + ) + (port + (pt 0 136) + (input) + (text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8))) + (text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8))) + (line (pt 0 136)(pt 8 136)(line_width 1)) + ) + (port + (pt 0 216) + (input) + (text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8))) + (text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8))) + (line (pt 0 216)(pt 16 216)(line_width 1)) + ) + (port + (pt 0 200) + (input) + (text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8))) + (text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8))) + (line (pt 0 200)(pt 16 200)(line_width 1)) + ) + (port + (pt 0 184) + (input) + (text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8))) + (text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8))) + (line (pt 0 184)(pt 16 184)(line_width 1)) + ) + (port + (pt 0 232) + (input) + (text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8))) + (text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8))) + (line (pt 0 232)(pt 16 232)(line_width 1)) + ) + (port + (pt 120 88) + (output) + (text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8))) + (text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8))) + (line (pt 112 88)(pt 120 88)(line_width 1)) + ) + (port + (pt 120 72) + (output) + (text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8))) + (text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8))) + (line (pt 112 72)(pt 120 72)(line_width 1)) + ) + (port + (pt 120 152) + (output) + (text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8))) + (text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8))) + (line (pt 112 152)(pt 120 152)(line_width 1)) + ) + (port + (pt 120 120) + (output) + (text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8))) + (text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8))) + (line (pt 112 120)(pt 120 120)(line_width 1)) + ) + (port + (pt 120 104) + (output) + (text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8))) + (text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8))) + (line (pt 112 104)(pt 120 104)(line_width 1)) + ) + (port + (pt 120 168) + (output) + (text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8))) + (text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8))) + (line (pt 112 168)(pt 120 168)(line_width 1)) + ) + (port + (pt 120 184) + (output) + (text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8))) + (text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8))) + (line (pt 112 184)(pt 120 184)(line_width 1)) + ) + (port + (pt 120 136) + (output) + (text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8))) + (text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8))) + (line (pt 112 136)(pt 120 136)(line_width 1)) + ) + (drawing + (text "ALU" (rect 47 240 74 255)(font "Arial" (font_size 9))) + (line (pt 16 240)(pt 104 240)(line_width 1)) + (line (pt 16 240)(pt 16 16)(line_width 1)) + (line (pt 104 240)(pt 104 16)(line_width 1)) + (line (pt 16 16)(pt 104 16)(line_width 1)) + (circle (rect 104 68 112 76)(line_width 1)) + (circle (rect 104 84 112 92)(line_width 1)) + (circle (rect 104 100 112 108)(line_width 1)) + (circle (rect 104 116 112 124)(line_width 1)) + (circle (rect 104 132 112 140)(line_width 1)) + (circle (rect 104 148 112 156)(line_width 1)) + (circle (rect 104 164 112 172)(line_width 1)) + (circle (rect 104 180 112 188)(line_width 1)) + (circle (rect 8 148 16 156)(line_width 1)) + (circle (rect 8 132 16 140)(line_width 1)) + (circle (rect 8 116 16 124)(line_width 1)) + (circle (rect 8 100 16 108)(line_width 1)) + (circle (rect 8 84 16 92)(line_width 1)) + (circle (rect 8 68 16 76)(line_width 1)) + (circle (rect 8 52 16 60)(line_width 1)) + (circle (rect 8 36 16 44)(line_width 1)) + (circle (rect 8 20 16 28)(line_width 1)) + ) +) +(symbol + (rect 408 384 528 640) + (text "74181" (rect 41 0 82 16)(font "Arial" (font_size 10))) + (text "inst1" (rect 3 245 26 257)(font "Arial" )) + (port + (pt 0 40) + (input) + (text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8))) + (text "B0N" (rect 22 33 45 47)(font "Arial" (font_size 8))) + (line (pt 0 40)(pt 8 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8))) + (text "A0N" (rect 22 17 46 31)(font "Arial" (font_size 8))) + (line (pt 0 24)(pt 8 24)(line_width 1)) + ) + (port + (pt 0 56) + (input) + (text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8))) + (text "A1N" (rect 22 49 46 63)(font "Arial" (font_size 8))) + (line (pt 0 56)(pt 8 56)(line_width 1)) + ) + (port + (pt 0 72) + (input) + (text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8))) + (text "B1N" (rect 22 65 45 79)(font "Arial" (font_size 8))) + (line (pt 0 72)(pt 8 72)(line_width 1)) + ) + (port + (pt 0 120) + (input) + (text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8))) + (text "A3N" (rect 22 113 46 127)(font "Arial" (font_size 8))) + (line (pt 0 120)(pt 8 120)(line_width 1)) + ) + (port + (pt 0 104) + (input) + (text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8))) + (text "B2N" (rect 22 97 45 111)(font "Arial" (font_size 8))) + (line (pt 0 104)(pt 8 104)(line_width 1)) + ) + (port + (pt 0 88) + (input) + (text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8))) + (text "A2N" (rect 22 81 46 95)(font "Arial" (font_size 8))) + (line (pt 0 88)(pt 8 88)(line_width 1)) + ) + (port + (pt 0 168) + (input) + (text "M" (rect 22 161 31 175)(font "Arial" (font_size 8))) + (text "M" (rect 22 161 31 175)(font "Arial" (font_size 8))) + (line (pt 0 168)(pt 16 168)(line_width 1)) + ) + (port + (pt 0 152) + (input) + (text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8))) + (text "CN" (rect 22 145 38 159)(font "Arial" (font_size 8))) + (line (pt 0 152)(pt 8 152)(line_width 1)) + ) + (port + (pt 0 136) + (input) + (text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8))) + (text "B3N" (rect 22 129 45 143)(font "Arial" (font_size 8))) + (line (pt 0 136)(pt 8 136)(line_width 1)) + ) + (port + (pt 0 216) + (input) + (text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8))) + (text "S2" (rect 22 209 37 223)(font "Arial" (font_size 8))) + (line (pt 0 216)(pt 16 216)(line_width 1)) + ) + (port + (pt 0 200) + (input) + (text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8))) + (text "S1" (rect 22 193 37 207)(font "Arial" (font_size 8))) + (line (pt 0 200)(pt 16 200)(line_width 1)) + ) + (port + (pt 0 184) + (input) + (text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8))) + (text "S0" (rect 22 177 37 191)(font "Arial" (font_size 8))) + (line (pt 0 184)(pt 16 184)(line_width 1)) + ) + (port + (pt 0 232) + (input) + (text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8))) + (text "S3" (rect 22 225 37 239)(font "Arial" (font_size 8))) + (line (pt 0 232)(pt 16 232)(line_width 1)) + ) + (port + (pt 120 88) + (output) + (text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8))) + (text "PN" (rect 83 81 98 95)(font "Arial" (font_size 8))) + (line (pt 112 88)(pt 120 88)(line_width 1)) + ) + (port + (pt 120 72) + (output) + (text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8))) + (text "GN" (rect 83 65 100 79)(font "Arial" (font_size 8))) + (line (pt 112 72)(pt 120 72)(line_width 1)) + ) + (port + (pt 120 152) + (output) + (text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8))) + (text "F3N" (rect 80 145 102 159)(font "Arial" (font_size 8))) + (line (pt 112 152)(pt 120 152)(line_width 1)) + ) + (port + (pt 120 120) + (output) + (text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8))) + (text "F1N" (rect 79 113 101 127)(font "Arial" (font_size 8))) + (line (pt 112 120)(pt 120 120)(line_width 1)) + ) + (port + (pt 120 104) + (output) + (text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8))) + (text "F0N" (rect 79 97 101 111)(font "Arial" (font_size 8))) + (line (pt 112 104)(pt 120 104)(line_width 1)) + ) + (port + (pt 120 168) + (output) + (text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8))) + (text "AEQB" (rect 70 161 104 175)(font "Arial" (font_size 8))) + (line (pt 112 168)(pt 120 168)(line_width 1)) + ) + (port + (pt 120 184) + (output) + (text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8))) + (text "CN4" (rect 77 177 100 191)(font "Arial" (font_size 8))) + (line (pt 112 184)(pt 120 184)(line_width 1)) + ) + (port + (pt 120 136) + (output) + (text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8))) + (text "F2N" (rect 80 129 102 143)(font "Arial" (font_size 8))) + (line (pt 112 136)(pt 120 136)(line_width 1)) + ) + (drawing + (text "ALU" (rect 47 240 74 255)(font "Arial" (font_size 9))) + (line (pt 16 240)(pt 104 240)(line_width 1)) + (line (pt 16 240)(pt 16 16)(line_width 1)) + (line (pt 104 240)(pt 104 16)(line_width 1)) + (line (pt 16 16)(pt 104 16)(line_width 1)) + (circle (rect 104 68 112 76)(line_width 1)) + (circle (rect 104 84 112 92)(line_width 1)) + (circle (rect 104 100 112 108)(line_width 1)) + (circle (rect 104 116 112 124)(line_width 1)) + (circle (rect 104 132 112 140)(line_width 1)) + (circle (rect 104 148 112 156)(line_width 1)) + (circle (rect 104 164 112 172)(line_width 1)) + (circle (rect 104 180 112 188)(line_width 1)) + (circle (rect 8 148 16 156)(line_width 1)) + (circle (rect 8 132 16 140)(line_width 1)) + (circle (rect 8 116 16 124)(line_width 1)) + (circle (rect 8 100 16 108)(line_width 1)) + (circle (rect 8 84 16 92)(line_width 1)) + (circle (rect 8 68 16 76)(line_width 1)) + (circle (rect 8 52 16 60)(line_width 1)) + (circle (rect 8 36 16 44)(line_width 1)) + (circle (rect 8 20 16 28)(line_width 1)) + ) +) +(symbol + (rect 624 296 728 472) + (text "74182" (rect 35 0 76 16)(font "Arial" (font_size 10))) + (text "inst2" (rect 3 165 26 177)(font "Arial" )) + (port + (pt 0 40) + (input) + (text "PN2" (rect 20 33 42 47)(font "Arial" (font_size 8))) + (text "PN2" (rect 20 33 42 47)(font "Arial" (font_size 8))) + (line (pt 0 40)(pt 8 40)(line_width 1)) + ) + (port + (pt 0 104) + (input) + (text "GN2" (rect 20 97 44 111)(font "Arial" (font_size 8))) + (text "GN2" (rect 20 97 44 111)(font "Arial" (font_size 8))) + (line (pt 0 104)(pt 8 104)(line_width 1)) + ) + (port + (pt 0 88) + (input) + (text "GN3" (rect 20 81 44 95)(font "Arial" (font_size 8))) + (text "GN3" (rect 20 81 44 95)(font "Arial" (font_size 8))) + (line (pt 0 88)(pt 8 88)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "PN3" (rect 20 17 42 31)(font "Arial" (font_size 8))) + (text "PN3" (rect 20 17 42 31)(font "Arial" (font_size 8))) + (line (pt 0 24)(pt 8 24)(line_width 1)) + ) + (port + (pt 0 152) + (input) + (text "CI" (rect 20 145 30 159)(font "Arial" (font_size 8))) + (text "CI" (rect 20 145 30 159)(font "Arial" (font_size 8))) + (line (pt 0 152)(pt 16 152)(line_width 1)) + ) + (port + (pt 0 56) + (input) + (text "PN1" (rect 20 49 42 63)(font "Arial" (font_size 8))) + (text "PN1" (rect 20 49 42 63)(font "Arial" (font_size 8))) + (line (pt 0 56)(pt 8 56)(line_width 1)) + ) + (port + (pt 0 72) + (input) + (text "PN0" (rect 20 65 42 79)(font "Arial" (font_size 8))) + (text "PN0" (rect 20 65 42 79)(font "Arial" (font_size 8))) + (line (pt 0 72)(pt 8 72)(line_width 1)) + ) + (port + (pt 0 120) + (input) + (text "GN1" (rect 20 113 44 127)(font "Arial" (font_size 8))) + (text "GN1" (rect 20 113 44 127)(font "Arial" (font_size 8))) + (line (pt 0 120)(pt 8 120)(line_width 1)) + ) + (port + (pt 0 136) + (input) + (text "GN0" (rect 20 129 44 143)(font "Arial" (font_size 8))) + (text "GN0" (rect 20 129 44 143)(font "Arial" (font_size 8))) + (line (pt 0 136)(pt 8 136)(line_width 1)) + ) + (port + (pt 104 104) + (output) + (text "CY" (rect 71 97 88 111)(font "Arial" (font_size 8))) + (text "CY" (rect 71 97 88 111)(font "Arial" (font_size 8))) + (line (pt 88 104)(pt 104 104)(line_width 1)) + ) + (port + (pt 104 56) + (output) + (text "PN" (rect 70 49 85 63)(font "Arial" (font_size 8))) + (text "PN" (rect 70 49 85 63)(font "Arial" (font_size 8))) + (line (pt 96 56)(pt 104 56)(line_width 1)) + ) + (port + (pt 104 120) + (output) + (text "CX" (rect 71 113 87 127)(font "Arial" (font_size 8))) + (text "CX" (rect 71 113 87 127)(font "Arial" (font_size 8))) + (line (pt 88 120)(pt 104 120)(line_width 1)) + ) + (port + (pt 104 88) + (output) + (text "CZ" (rect 71 81 87 95)(font "Arial" (font_size 8))) + (text "CZ" (rect 71 81 87 95)(font "Arial" (font_size 8))) + (line (pt 88 88)(pt 104 88)(line_width 1)) + ) + (port + (pt 104 72) + (output) + (text "GN" (rect 69 64 86 78)(font "Arial" (font_size 8))) + (text "GN" (rect 69 64 86 78)(font "Arial" (font_size 8))) + (line (pt 96 72)(pt 104 72)(line_width 1)) + ) + (drawing + (text "CARRY GEN." (rect 22 161 97 175)(font "Arial" (font_size 8))) + (line (pt 16 16)(pt 88 16)(line_width 1)) + (line (pt 16 160)(pt 88 160)(line_width 1)) + (line (pt 16 160)(pt 16 16)(line_width 1)) + (line (pt 88 160)(pt 88 16)(line_width 1)) + (circle (rect 8 20 16 28)(line_width 1)) + (circle (rect 8 36 16 44)(line_width 1)) + (circle (rect 8 52 16 60)(line_width 1)) + (circle (rect 8 68 16 76)(line_width 1)) + (circle (rect 8 84 16 92)(line_width 1)) + (circle (rect 8 100 16 108)(line_width 1)) + (circle (rect 8 116 16 124)(line_width 1)) + (circle (rect 88 68 96 76)(line_width 1)) + (circle (rect 8 132 16 140)(line_width 1)) + (circle (rect 88 52 96 60)(line_width 1)) + ) +) +(symbol + (rect 176 88 224 120) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 104 224 136) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 120 224 152) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 136 224 168) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 152 224 184) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 168 224 200) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 184 224 216) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst12" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 200 224 232) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst13" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 392 224 424) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst20" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 408 224 440) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst21" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 424 224 456) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst22" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 440 224 472) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst23" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 456 224 488) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst24" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 472 224 504) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst25" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 488 224 520) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst26" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 176 504 224 536) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst27" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 680 168 728 200) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst28" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 680 184 728 216) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst29" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 680 200 728 232) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst30" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 680 216 728 248) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst31" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 672 472 720 504) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst32" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 672 488 720 520) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst33" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 672 504 720 536) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst34" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 672 520 720 552) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst35" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 672 552 720 584) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst36" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(connector + (pt 344 280) + (pt 344 584) +) +(connector + (pt 376 248) + (pt 376 552) +) +(connector + (pt 376 552) + (pt 408 552) +) +(connector + (pt 360 568) + (pt 408 568) +) +(connector + (pt 344 584) + (pt 408 584) +) +(connector + (pt 328 600) + (pt 408 600) +) +(connector + (pt 312 616) + (pt 408 616) +) +(connector + (pt 392 232) + (pt 392 352) +) +(connector + (pt 544 368) + (pt 392 368) +) +(connector + (pt 392 368) + (pt 392 536) +) +(connector + (pt 392 536) + (pt 408 536) +) +(connector + (pt 544 368) + (pt 544 280) +) +(connector + (pt 528 456) + (pt 544 456) +) +(connector + (pt 392 352) + (pt 560 352) +) +(connector + (pt 528 152) + (pt 576 152) +) +(connector + (pt 528 168) + (pt 592 168) +) +(connector + (pt 528 472) + (pt 608 472) +) +(connector + (pt 544 456) + (pt 544 416) +) +(connector + (pt 544 416) + (pt 624 416) +) +(connector + (pt 560 352) + (pt 560 448) +) +(connector + (pt 560 448) + (pt 624 448) +) +(connector + (pt 576 152) + (pt 576 432) +) +(connector + (pt 576 432) + (pt 624 432) +) +(connector + (pt 592 168) + (pt 592 368) +) +(connector + (pt 592 368) + (pt 624 368) +) +(connector + (pt 544 280) + (pt 744 280) +) +(connector + (pt 744 280) + (pt 744 416) +) +(connector + (pt 728 416) + (pt 744 416) +) +(connector + (pt 624 352) + (pt 608 352) +) +(connector + (pt 608 352) + (pt 608 472) +) +(connector + (pt 144 104) + (pt 176 104) +) +(connector + (pt 224 104) + (pt 408 104) +) +(connector + (pt 144 120) + (pt 176 120) +) +(connector + (pt 224 120) + (pt 408 120) +) +(connector + (pt 144 136) + (pt 176 136) +) +(connector + (pt 224 136) + (pt 408 136) +) +(connector + (pt 144 152) + (pt 176 152) +) +(connector + (pt 224 152) + (pt 408 152) +) +(connector + (pt 144 168) + (pt 176 168) +) +(connector + (pt 224 168) + (pt 408 168) +) +(connector + (pt 144 184) + (pt 176 184) +) +(connector + (pt 224 184) + (pt 408 184) +) +(connector + (pt 144 200) + (pt 176 200) +) +(connector + (pt 224 200) + (pt 408 200) +) +(connector + (pt 144 216) + (pt 176 216) +) +(connector + (pt 224 216) + (pt 408 216) +) +(connector + (pt 376 248) + (pt 408 248) +) +(connector + (pt 392 232) + (pt 408 232) +) +(connector + (pt 128 408) + (pt 176 408) +) +(connector + (pt 224 408) + (pt 408 408) +) +(connector + (pt 128 424) + (pt 176 424) +) +(connector + (pt 224 424) + (pt 408 424) +) +(connector + (pt 128 440) + (pt 176 440) +) +(connector + (pt 224 440) + (pt 408 440) +) +(connector + (pt 128 456) + (pt 176 456) +) +(connector + (pt 224 456) + (pt 408 456) +) +(connector + (pt 128 472) + (pt 176 472) +) +(connector + (pt 224 472) + (pt 408 472) +) +(connector + (pt 128 488) + (pt 176 488) +) +(connector + (pt 224 488) + (pt 408 488) +) +(connector + (pt 128 504) + (pt 176 504) +) +(connector + (pt 224 504) + (pt 408 504) +) +(connector + (pt 128 520) + (pt 176 520) +) +(connector + (pt 224 520) + (pt 408 520) +) +(connector + (pt 528 184) + (pt 680 184) +) +(connector + (pt 528 200) + (pt 680 200) +) +(connector + (pt 528 216) + (pt 680 216) +) +(connector + (pt 528 232) + (pt 680 232) +) +(connector + (pt 728 184) + (pt 768 184) +) +(connector + (pt 728 200) + (pt 768 200) +) +(connector + (pt 728 216) + (pt 768 216) +) +(connector + (pt 728 232) + (pt 768 232) +) +(connector + (pt 528 488) + (pt 672 488) +) +(connector + (pt 528 504) + (pt 672 504) +) +(connector + (pt 528 520) + (pt 672 520) +) +(connector + (pt 528 536) + (pt 672 536) +) +(connector + (pt 528 568) + (pt 672 568) +) +(connector + (pt 720 488) + (pt 768 488) +) +(connector + (pt 720 504) + (pt 768 504) +) +(connector + (pt 720 520) + (pt 768 520) +) +(connector + (pt 720 536) + (pt 768 536) +) +(connector + (pt 720 568) + (pt 768 568) +) +(connector + (pt 144 248) + (pt 376 248) +) +(connector + (pt 360 264) + (pt 360 568) +) +(connector + (pt 328 296) + (pt 328 600) +) +(connector + (pt 312 312) + (pt 312 616) +) +(connector + (pt 144 264) + (pt 360 264) +) +(connector + (pt 360 264) + (pt 408 264) +) +(connector + (pt 144 280) + (pt 344 280) +) +(connector + (pt 344 280) + (pt 408 280) +) +(connector + (pt 144 296) + (pt 328 296) +) +(connector + (pt 328 296) + (pt 408 296) +) +(connector + (pt 144 312) + (pt 312 312) +) +(connector + (pt 312 312) + (pt 408 312) +) +(connector + (pt 144 232) + (pt 392 232) +) +(junction (pt 376 248)) +(junction (pt 392 232)) +(junction (pt 360 264)) +(junction (pt 344 280)) +(junction (pt 328 296)) +(junction (pt 312 312)) diff --git a/test_ALU/ALU_parallel_8b.bsf b/test_ALU/ALU_parallel_8b.bsf new file mode 100644 index 0000000..8362411 --- /dev/null +++ b/test_ALU/ALU_parallel_8b.bsf @@ -0,0 +1,246 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 64 64 448 152) + (text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 72 25 84)(font "Arial" )) + (port + (pt 144 88) + (input) + (text "A0" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A0" (rect 136 48 150 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 88)(pt 144 72)(line_width 1)) + ) + (port + (pt 272 88) + (input) + (text "B0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B0" (rect 264 49 278 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 272 88)(pt 272 72)(line_width 1)) + ) + (port + (pt 128 88) + (input) + (text "A1" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A1" (rect 120 48 134 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 88)(pt 128 72)(line_width 1)) + ) + (port + (pt 256 88) + (input) + (text "B1" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B1" (rect 248 49 262 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 256 88)(pt 256 72)(line_width 1)) + ) + (port + (pt 112 88) + (input) + (text "A2" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A2" (rect 104 48 118 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 88)(pt 112 72)(line_width 1)) + ) + (port + (pt 240 88) + (input) + (text "B2" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B2" (rect 232 49 246 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 240 88)(pt 240 72)(line_width 1)) + ) + (port + (pt 96 88) + (input) + (text "A3" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A3" (rect 88 48 102 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 88)(pt 96 72)(line_width 1)) + ) + (port + (pt 224 88) + (input) + (text "B3" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B3" (rect 216 49 230 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 224 88)(pt 224 72)(line_width 1)) + ) + (port + (pt 288 88) + (input) + (text "C0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "C0" (rect 280 49 294 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 288 88)(pt 288 72)(line_width 1)) + ) + (port + (pt 304 88) + (input) + (text "M" (rect 0 -328 9 -314)(font "Arial" (font_size 8))) + (text "M" (rect 296 55 310 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 304 88)(pt 304 72)(line_width 1)) + ) + (port + (pt 320 88) + (input) + (text "S3" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S3" (rect 312 49 326 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 320 88)(pt 320 72)(line_width 1)) + ) + (port + (pt 336 88) + (input) + (text "S2" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S2" (rect 328 49 342 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 336 88)(pt 336 72)(line_width 1)) + ) + (port + (pt 352 88) + (input) + (text "S1" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S1" (rect 344 49 358 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 352 88)(pt 352 72)(line_width 1)) + ) + (port + (pt 368 88) + (input) + (text "S0" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "S0" (rect 360 49 374 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 368 88)(pt 368 72)(line_width 1)) + ) + (port + (pt 80 88) + (input) + (text "A4" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A4" (rect 72 48 86 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 88)(pt 80 72)(line_width 1)) + ) + (port + (pt 208 88) + (input) + (text "B4" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B4" (rect 200 49 214 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 208 88)(pt 208 72)(line_width 1)) + ) + (port + (pt 64 88) + (input) + (text "A5" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A5" (rect 56 48 70 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 88)(pt 64 72)(line_width 1)) + ) + (port + (pt 192 88) + (input) + (text "B5" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B5" (rect 184 49 198 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 192 88)(pt 192 72)(line_width 1)) + ) + (port + (pt 48 88) + (input) + (text "A6" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A6" (rect 40 48 54 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 88)(pt 48 72)(line_width 1)) + ) + (port + (pt 176 88) + (input) + (text "B6" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B6" (rect 168 49 182 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 88)(pt 176 72)(line_width 1)) + ) + (port + (pt 32 88) + (input) + (text "A7" (rect 0 -328 16 -314)(font "Arial" (font_size 8))) + (text "A7" (rect 24 48 38 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 88)(pt 32 72)(line_width 1)) + ) + (port + (pt 160 88) + (input) + (text "B7" (rect 0 -328 15 -314)(font "Arial" (font_size 8))) + (text "B7" (rect 152 49 166 64)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 88)(pt 160 72)(line_width 1)) + ) + (port + (pt 160 0) + (output) + (text "F0" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F0" (rect 152 24 166 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 0)(pt 160 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "F1" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F1" (rect 136 24 150 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "F2" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F2" (rect 120 24 134 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "F3" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F3" (rect 104 24 118 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "C8" (rect 168 0 183 14)(font "Arial" (font_size 8))) + (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "F4" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F4" (rect 88 24 102 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "F5" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F5" (rect 72 24 86 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "F6" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F6" (rect 56 24 70 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "F7" (rect 168 0 182 14)(font "Arial" (font_size 8))) + (text "F7" (rect 40 24 54 38)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 384 72)(line_width 1)) + ) +) diff --git a/test_ALU/double_selector_8b.bdf b/test_ALU/double_selector_8b.bdf new file mode 100644 index 0000000..b616c98 --- /dev/null +++ b/test_ALU/double_selector_8b.bdf @@ -0,0 +1,1791 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 64 272 232 288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a0" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 296 232 312) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a1" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 320 232 336) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a2" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 344 232 360) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a3" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 368 232 384) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a4" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 392 232 408) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a5" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 416 232 432) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a6" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 440 232 456) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "a7" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 520 232 536) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b0" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 544 232 560) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b1" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 568 232 584) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b2" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 592 232 608) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b3" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 616 232 632) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b4" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 640 232 656) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b5" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 664 232 680) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b6" (rect 5 0 16 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))) +) +(pin + (input) + (rect 64 688 232 704) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "b7" (rect 5 0 16 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))) +) +(pin + (input) + (rect 40 784 208 800) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "AY" (rect 5 0 20 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))) +) +(pin + (input) + (rect 40 808 208 824) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "BY" (rect 5 0 20 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))) +) +(pin + (output) + (rect 816 72 992 88) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 128 992 144) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 184 992 200) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 240 992 256) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 296 992 312) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 352 992 368) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 408 992 424) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 816 464 992 480) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 368 240 432 288) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 37 20 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 296 432 344) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst18" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 352 432 400) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst19" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 408 432 456) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst20" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 184 432 232) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst21" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 128 432 176) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst22" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 72 432 120) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst23" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 16 432 64) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst24" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 504 432 552) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst25" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 560 432 608) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst26" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 616 432 664) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst27" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 672 432 720) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst28" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 728 432 776) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst29" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 784 432 832) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst30" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 840 432 888) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst31" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 368 896 432 944) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst32" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 664 56 728 104) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst1" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 112 728 160) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 168 728 216) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 224 728 272) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 280 728 328) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 336 728 384) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 392 728 440) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 664 448 728 496) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(connector + (pt 232 280) + (pt 240 280) +) +(connector + (pt 240 32) + (pt 240 280) +) +(connector + (pt 240 32) + (pt 368 32) +) +(connector + (pt 232 304) + (pt 248 304) +) +(connector + (pt 248 304) + (pt 248 88) +) +(connector + (pt 248 88) + (pt 368 88) +) +(connector + (pt 264 328) + (pt 232 328) +) +(connector + (pt 264 328) + (pt 264 144) +) +(connector + (pt 264 144) + (pt 368 144) +) +(connector + (pt 232 352) + (pt 272 352) +) +(connector + (pt 272 352) + (pt 272 200) +) +(connector + (pt 272 200) + (pt 368 200) +) +(connector + (pt 232 376) + (pt 280 376) +) +(connector + (pt 280 376) + (pt 280 256) +) +(connector + (pt 280 256) + (pt 368 256) +) +(connector + (pt 232 400) + (pt 288 400) +) +(connector + (pt 288 400) + (pt 288 312) +) +(connector + (pt 288 312) + (pt 368 312) +) +(connector + (pt 232 424) + (pt 296 424) +) +(connector + (pt 296 424) + (pt 296 368) +) +(connector + (pt 296 368) + (pt 368 368) +) +(connector + (pt 232 448) + (pt 304 448) +) +(connector + (pt 304 448) + (pt 304 424) +) +(connector + (pt 304 424) + (pt 368 424) +) +(connector + (pt 368 48) + (pt 216 48) +) +(connector + (pt 368 104) + (pt 216 104) +) +(connector + (pt 368 160) + (pt 216 160) +) +(connector + (pt 368 216) + (pt 216 216) +) +(connector + (pt 368 272) + (pt 216 272) +) +(connector + (pt 368 328) + (pt 304 328) +) +(connector + (pt 304 344) + (pt 304 328) +) +(connector + (pt 304 344) + (pt 216 344) +) +(connector + (pt 368 384) + (pt 216 384) +) +(connector + (pt 368 440) + (pt 216 440) +) +(connector + (pt 232 528) + (pt 240 528) +) +(connector + (pt 240 528) + (pt 240 520) +) +(connector + (pt 240 520) + (pt 368 520) +) +(connector + (pt 232 552) + (pt 360 552) +) +(connector + (pt 360 552) + (pt 360 576) +) +(connector + (pt 360 576) + (pt 368 576) +) +(connector + (pt 232 576) + (pt 352 576) +) +(connector + (pt 352 576) + (pt 352 632) +) +(connector + (pt 352 632) + (pt 368 632) +) +(connector + (pt 232 600) + (pt 344 600) +) +(connector + (pt 344 600) + (pt 344 688) +) +(connector + (pt 344 688) + (pt 368 688) +) +(connector + (pt 232 624) + (pt 336 624) +) +(connector + (pt 336 744) + (pt 336 624) +) +(connector + (pt 336 744) + (pt 368 744) +) +(connector + (pt 232 648) + (pt 328 648) +) +(connector + (pt 328 648) + (pt 328 800) +) +(connector + (pt 328 800) + (pt 368 800) +) +(connector + (pt 232 672) + (pt 320 672) +) +(connector + (pt 320 856) + (pt 320 672) +) +(connector + (pt 320 856) + (pt 368 856) +) +(connector + (pt 232 696) + (pt 304 696) +) +(connector + (pt 304 912) + (pt 304 696) +) +(connector + (pt 304 912) + (pt 368 912) +) +(connector + (pt 368 536) + (pt 288 536) +) +(connector + (pt 368 592) + (pt 288 592) +) +(connector + (pt 368 648) + (pt 352 648) +) +(connector + (pt 352 648) + (pt 352 640) +) +(connector + (pt 352 640) + (pt 288 640) +) +(connector + (pt 368 704) + (pt 288 704) +) +(connector + (pt 368 760) + (pt 288 760) +) +(connector + (pt 368 872) + (pt 288 872) +) +(connector + (pt 368 928) + (pt 288 928) +) +(connector + (pt 432 40) + (pt 448 40) +) +(connector + (pt 448 72) + (pt 448 40) +) +(connector + (pt 448 72) + (pt 664 72) +) +(connector + (pt 432 96) + (pt 448 96) +) +(connector + (pt 448 128) + (pt 448 96) +) +(connector + (pt 448 128) + (pt 664 128) +) +(connector + (pt 432 152) + (pt 448 152) +) +(connector + (pt 448 184) + (pt 448 152) +) +(connector + (pt 448 184) + (pt 664 184) +) +(connector + (pt 432 208) + (pt 448 208) +) +(connector + (pt 448 208) + (pt 448 240) +) +(connector + (pt 432 264) + (pt 448 264) +) +(connector + (pt 448 296) + (pt 448 264) +) +(connector + (pt 448 296) + (pt 664 296) +) +(connector + (pt 432 320) + (pt 448 320) +) +(connector + (pt 448 352) + (pt 448 320) +) +(connector + (pt 448 352) + (pt 664 352) +) +(connector + (pt 432 376) + (pt 448 376) +) +(connector + (pt 448 376) + (pt 448 408) +) +(connector + (pt 448 408) + (pt 664 408) +) +(connector + (pt 432 432) + (pt 448 432) +) +(connector + (pt 448 464) + (pt 448 432) +) +(connector + (pt 448 464) + (pt 664 464) +) +(connector + (pt 432 528) + (pt 488 528) +) +(connector + (pt 488 528) + (pt 488 88) +) +(connector + (pt 488 88) + (pt 664 88) +) +(connector + (pt 432 584) + (pt 504 584) +) +(connector + (pt 504 584) + (pt 504 144) +) +(connector + (pt 504 144) + (pt 664 144) +) +(connector + (pt 432 640) + (pt 528 640) +) +(connector + (pt 528 640) + (pt 528 200) +) +(connector + (pt 528 200) + (pt 664 200) +) +(connector + (pt 432 696) + (pt 552 696) +) +(connector + (pt 552 256) + (pt 664 256) +) +(connector + (pt 552 256) + (pt 552 696) +) +(connector + (pt 432 752) + (pt 576 752) +) +(connector + (pt 576 752) + (pt 576 312) +) +(connector + (pt 576 312) + (pt 664 312) +) +(connector + (pt 432 808) + (pt 600 808) +) +(connector + (pt 600 368) + (pt 664 368) +) +(connector + (pt 600 368) + (pt 600 808) +) +(connector + (pt 616 864) + (pt 432 864) +) +(connector + (pt 616 864) + (pt 616 424) +) +(connector + (pt 616 424) + (pt 664 424) +) +(connector + (pt 432 920) + (pt 632 920) +) +(connector + (pt 728 80) + (pt 816 80) +) +(connector + (pt 728 136) + (pt 816 136) +) +(connector + (pt 728 192) + (pt 816 192) +) +(connector + (pt 728 248) + (pt 816 248) +) +(connector + (pt 728 304) + (pt 816 304) +) +(connector + (pt 728 360) + (pt 816 360) +) +(connector + (pt 728 416) + (pt 816 416) +) +(connector + (pt 448 240) + (pt 664 240) +) +(connector + (pt 728 472) + (pt 816 472) +) +(connector + (pt 632 480) + (pt 632 920) +) +(connector + (pt 632 480) + (pt 664 480) +) +(connector + (pt 216 792) + (pt 208 792) +) +(connector + (pt 216 160) + (pt 216 216) +) +(connector + (pt 216 216) + (pt 216 272) +) +(connector + (pt 216 272) + (pt 216 344) +) +(connector + (pt 288 536) + (pt 288 592) +) +(connector + (pt 288 592) + (pt 288 640) +) +(connector + (pt 288 640) + (pt 288 704) +) +(connector + (pt 288 704) + (pt 288 760) +) +(connector + (pt 288 872) + (pt 288 928) +) +(connector + (pt 216 48) + (pt 216 104) +) +(connector + (pt 216 104) + (pt 216 160) +) +(connector + (pt 288 760) + (pt 288 816) +) +(connector + (pt 288 816) + (pt 288 872) +) +(connector + (pt 208 816) + (pt 288 816) +) +(connector + (pt 288 816) + (pt 368 816) +) +(connector + (pt 216 344) + (pt 216 384) +) +(connector + (pt 216 384) + (pt 216 440) +) +(connector + (pt 216 440) + (pt 216 792) +) +(junction (pt 216 104)) +(junction (pt 216 160)) +(junction (pt 216 216)) +(junction (pt 216 272)) +(junction (pt 216 344)) +(junction (pt 216 384)) +(junction (pt 288 592)) +(junction (pt 288 640)) +(junction (pt 288 704)) +(junction (pt 288 760)) +(junction (pt 288 872)) +(junction (pt 288 816)) +(junction (pt 216 440)) diff --git a/test_ALU/double_selector_8b.bsf b/test_ALU/double_selector_8b.bsf new file mode 100644 index 0000000..5904e05 --- /dev/null +++ b/test_ALU/double_selector_8b.bsf @@ -0,0 +1,211 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 64 64 160 416) + (text "double_selector_8b" (rect 5 0 117 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 336 25 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)) + ) +) diff --git a/test_ALU/nano_selector.bdf b/test_ALU/nano_selector.bdf new file mode 100644 index 0000000..8e50c3f --- /dev/null +++ b/test_ALU/nano_selector.bdf @@ -0,0 +1,273 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 360 176 528 192) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A" (rect 5 0 12 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))) +) +(pin + (input) + (rect 360 208 528 224) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B" (rect 5 0 12 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))) +) +(pin + (input) + (rect 360 240 528 256) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A_EN" (rect 5 0 33 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))) +) +(pin + (output) + (rect 816 152 992 168) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q" (rect 90 0 98 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 560 232 608 264) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 21 20 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(line_width 1)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 640 128 704 176) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 640 184 704 232) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 736 136 800 184) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(connector + (pt 528 216) + (pt 640 216) +) +(connector + (pt 640 200) + (pt 624 200) +) +(connector + (pt 704 208) + (pt 720 208) +) +(connector + (pt 816 160) + (pt 800 160) +) +(connector + (pt 720 208) + (pt 720 168) +) +(connector + (pt 720 168) + (pt 736 168) +) +(connector + (pt 704 152) + (pt 736 152) +) +(connector + (pt 624 248) + (pt 608 248) +) +(connector + (pt 624 200) + (pt 624 248) +) +(connector + (pt 544 144) + (pt 544 248) +) +(connector + (pt 640 144) + (pt 544 144) +) +(connector + (pt 528 248) + (pt 544 248) +) +(connector + (pt 544 248) + (pt 560 248) +) +(connector + (pt 640 160) + (pt 624 160) +) +(connector + (pt 624 160) + (pt 624 184) +) +(connector + (pt 528 184) + (pt 624 184) +) +(junction (pt 544 248)) diff --git a/test_ALU/nano_selector.bsf b/test_ALU/nano_selector.bsf new file mode 100644 index 0000000..93781c6 --- /dev/null +++ b/test_ALU/nano_selector.bsf @@ -0,0 +1,57 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 16 16 112 112) + (text "nano_selector" (rect 5 0 86 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 80 25 92)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "A" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "A" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "B" (rect 0 0 8 14)(font "Arial" (font_size 8))) + (text "B" (rect 21 43 29 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "A_EN" (rect 0 0 31 14)(font "Arial" (font_size 8))) + (text "A_EN" (rect 21 59 52 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "Q" (rect 66 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 80)(line_width 1)) + ) +) diff --git a/test_ALU/register_8b.bdf b/test_ALU/register_8b.bdf new file mode 100644 index 0000000..58d2990 --- /dev/null +++ b/test_ALU/register_8b.bdf @@ -0,0 +1,1004 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 32 40 200 56) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP" (rect 5 0 20 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))) +) +(pin + (input) + (rect 32 8 200 24) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CLR" (rect 5 0 27 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))) +) +(pin + (input) + (rect 32 80 200 96) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D7" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 176 200 192) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D6" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 272 200 288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D5" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 368 200 384) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D4" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 464 200 480) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D3" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 560 200 576) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D2" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 656 200 672) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D1" (rect 5 0 19 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))) +) +(pin + (input) + (rect 32 752 200 768) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D0" (rect 5 0 19 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))) +) +(pin + (output) + (rect 464 80 640 96) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 176 640 192) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 272 640 288) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 368 640 384) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 464 640 480) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 560 640 576) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 656 640 672) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 752 640 768) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 344 64 408 144) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 68 20 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 160 408 240) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 256 408 336) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 352 408 432) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 448 408 528) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 544 408 624) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 640 408 720) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 736 408 816) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(connector + (pt 200 88) + (pt 344 88) +) +(connector + (pt 408 88) + (pt 464 88) +) +(connector + (pt 200 184) + (pt 344 184) +) +(connector + (pt 408 184) + (pt 464 184) +) +(connector + (pt 200 280) + (pt 344 280) +) +(connector + (pt 408 280) + (pt 464 280) +) +(connector + (pt 200 376) + (pt 344 376) +) +(connector + (pt 408 376) + (pt 464 376) +) +(connector + (pt 200 472) + (pt 344 472) +) +(connector + (pt 408 472) + (pt 464 472) +) +(connector + (pt 200 568) + (pt 344 568) +) +(connector + (pt 408 568) + (pt 464 568) +) +(connector + (pt 200 664) + (pt 344 664) +) +(connector + (pt 408 664) + (pt 464 664) +) +(connector + (pt 200 760) + (pt 344 760) +) +(connector + (pt 408 760) + (pt 464 760) +) +(connector + (pt 200 48) + (pt 248 48) +) +(connector + (pt 248 776) + (pt 344 776) +) +(connector + (pt 344 680) + (pt 248 680) +) +(connector + (pt 344 584) + (pt 248 584) +) +(connector + (pt 344 488) + (pt 248 488) +) +(connector + (pt 344 392) + (pt 248 392) +) +(connector + (pt 344 296) + (pt 248 296) +) +(connector + (pt 344 200) + (pt 248 200) +) +(connector + (pt 344 104) + (pt 248 104) +) +(connector + (pt 376 728) + (pt 280 728) +) +(connector + (pt 376 152) + (pt 280 152) +) +(connector + (pt 376 632) + (pt 280 632) +) +(connector + (pt 376 536) + (pt 280 536) +) +(connector + (pt 376 440) + (pt 280 440) +) +(connector + (pt 376 248) + (pt 280 248) +) +(connector + (pt 376 816) + (pt 376 832) +) +(connector + (pt 280 832) + (pt 376 832) +) +(connector + (pt 376 344) + (pt 280 344) +) +(connector + (pt 200 16) + (pt 376 16) +) +(connector + (pt 280 40) + (pt 376 40) +) +(connector + (pt 248 680) + (pt 248 776) +) +(connector + (pt 248 584) + (pt 248 680) +) +(connector + (pt 248 488) + (pt 248 584) +) +(connector + (pt 248 392) + (pt 248 488) +) +(connector + (pt 248 48) + (pt 248 104) +) +(connector + (pt 248 104) + (pt 248 200) +) +(connector + (pt 248 200) + (pt 248 296) +) +(connector + (pt 248 296) + (pt 248 392) +) +(connector + (pt 376 720) + (pt 376 728) +) +(connector + (pt 376 728) + (pt 376 736) +) +(connector + (pt 376 144) + (pt 376 152) +) +(connector + (pt 376 152) + (pt 376 160) +) +(connector + (pt 376 624) + (pt 376 632) +) +(connector + (pt 376 632) + (pt 376 640) +) +(connector + (pt 376 528) + (pt 376 536) +) +(connector + (pt 376 536) + (pt 376 544) +) +(connector + (pt 376 432) + (pt 376 440) +) +(connector + (pt 376 440) + (pt 376 448) +) +(connector + (pt 376 240) + (pt 376 248) +) +(connector + (pt 376 248) + (pt 376 256) +) +(connector + (pt 280 632) + (pt 280 728) +) +(connector + (pt 280 728) + (pt 280 832) +) +(connector + (pt 376 336) + (pt 376 344) +) +(connector + (pt 376 344) + (pt 376 352) +) +(connector + (pt 280 440) + (pt 280 536) +) +(connector + (pt 280 536) + (pt 280 632) +) +(connector + (pt 280 40) + (pt 280 152) +) +(connector + (pt 280 152) + (pt 280 248) +) +(connector + (pt 280 248) + (pt 280 344) +) +(connector + (pt 280 344) + (pt 280 440) +) +(connector + (pt 376 16) + (pt 376 40) +) +(connector + (pt 376 40) + (pt 376 64) +) +(junction (pt 248 680)) +(junction (pt 248 584)) +(junction (pt 248 488)) +(junction (pt 248 392)) +(junction (pt 248 296)) +(junction (pt 248 104)) +(junction (pt 248 200)) +(junction (pt 376 728)) +(junction (pt 376 152)) +(junction (pt 376 632)) +(junction (pt 376 536)) +(junction (pt 376 440)) +(junction (pt 376 248)) +(junction (pt 280 632)) +(junction (pt 280 536)) +(junction (pt 280 728)) +(junction (pt 376 344)) +(junction (pt 280 440)) +(junction (pt 280 344)) +(junction (pt 280 152)) +(junction (pt 280 248)) +(junction (pt 376 40)) diff --git a/test_ALU/register_8b.bsf b/test_ALU/register_8b.bsf new file mode 100644 index 0000000..938b8cc --- /dev/null +++ b/test_ALU/register_8b.bsf @@ -0,0 +1,155 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 16 16 112 240) + (text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 43 36 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (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 "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (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 "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 208)(line_width 1)) + ) +) diff --git a/test_ALU/shifter_8b.bdf b/test_ALU/shifter_8b.bdf new file mode 100644 index 0000000..3713a64 --- /dev/null +++ b/test_ALU/shifter_8b.bdf @@ -0,0 +1,1077 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 40 408 208 424) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A0" (rect 9 0 21 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 -8 424 40 440)) +) +(pin + (input) + (rect 40 360 208 376) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A1" (rect 9 0 21 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 -8 376 40 392)) +) +(pin + (input) + (rect 40 312 208 328) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A2" (rect 9 0 21 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 -8 328 40 344)) +) +(pin + (input) + (rect 40 264 208 280) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A3" (rect 9 0 21 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 -8 280 40 296)) +) +(pin + (input) + (rect 40 216 208 232) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A4" (rect 9 0 21 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 -8 232 40 248)) +) +(pin + (input) + (rect 40 456 208 472) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "LM" (rect 9 0 23 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 -8 472 40 488)) +) +(pin + (input) + (rect 40 504 208 520) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "DM" (rect 9 0 25 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 -8 520 40 536)) +) +(pin + (input) + (rect 40 552 208 568) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "RM" (rect 9 0 25 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 -8 568 40 584)) +) +(pin + (input) + (rect 40 168 208 184) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A5" (rect 9 0 21 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 -8 184 40 200)) +) +(pin + (input) + (rect 40 120 208 136) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A6" (rect 9 0 21 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 -8 136 40 152)) +) +(pin + (input) + (rect 40 72 208 88) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A7" (rect 9 0 21 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 -8 88 40 104)) +) +(pin + (input) + (rect 40 600 208 616) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "R_in" (rect 5 0 27 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 -8 616 40 632)) +) +(pin + (input) + (rect 40 648 208 664) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "L_in" (rect 5 0 25 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 -8 664 40 680)) +) +(pin + (output) + (rect 688 168 864 184) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 184 920 200)) +) +(pin + (output) + (rect 688 152 864 168) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 168 920 184)) +) +(pin + (output) + (rect 688 136 864 152) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 152 920 168)) +) +(pin + (output) + (rect 688 120 864 136) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 136 920 152)) +) +(pin + (output) + (rect 688 104 864 120) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 120 920 136)) +) +(pin + (output) + (rect 688 88 864 104) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 104 920 120)) +) +(pin + (output) + (rect 688 72 864 88) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 88 920 104)) +) +(pin + (output) + (rect 688 56 864 72) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 864 72 920 88)) +) +(pin + (output) + (rect 688 552 864 568) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "C8" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) + (annotation_block (location)(rect 824 568 880 584)) +) +(symbol + (rect 488 32 584 512) + (text "triple_selector_8b" (rect 5 0 106 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 464 25 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 48) + (input) + (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B7" (rect 21 43 36 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "C7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C7" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A6" (rect 21 75 37 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "C6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C6" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A5" (rect 21 123 37 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B5" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "C5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C5" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A4" (rect 21 171 37 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B4" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "C4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C4" (rect 21 203 36 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 0 224) + (input) + (text "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A3" (rect 21 219 37 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B3" (rect 21 235 36 249)(font "Arial" (font_size 8))) + (line (pt 0 240)(pt 16 240)(line_width 1)) + ) + (port + (pt 0 256) + (input) + (text "C3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C3" (rect 21 251 36 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A2" (rect 21 267 37 281)(font "Arial" (font_size 8))) + (line (pt 0 272)(pt 16 272)(line_width 1)) + ) + (port + (pt 0 288) + (input) + (text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B2" (rect 21 283 36 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "C2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C2" (rect 21 299 36 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(line_width 1)) + ) + (port + (pt 0 320) + (input) + (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A1" (rect 21 315 37 329)(font "Arial" (font_size 8))) + (line (pt 0 320)(pt 16 320)(line_width 1)) + ) + (port + (pt 0 336) + (input) + (text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B1" (rect 21 331 36 345)(font "Arial" (font_size 8))) + (line (pt 0 336)(pt 16 336)(line_width 1)) + ) + (port + (pt 0 352) + (input) + (text "C1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C1" (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 "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A0" (rect 21 363 37 377)(font "Arial" (font_size 8))) + (line (pt 0 368)(pt 16 368)(line_width 1)) + ) + (port + (pt 0 384) + (input) + (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B0" (rect 21 379 36 393)(font "Arial" (font_size 8))) + (line (pt 0 384)(pt 16 384)(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 488 528 552 576) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst1" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 584 552 632) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 584 536 648 584) + (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 15 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 15 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 48 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 36)(pt 25 36)(line_width 1)) + (line (pt 14 13)(pt 25 13)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(connector + (pt 584 176) + (pt 688 176) +) +(connector + (pt 584 160) + (pt 688 160) +) +(connector + (pt 584 144) + (pt 688 144) +) +(connector + (pt 584 128) + (pt 688 128) +) +(connector + (pt 584 112) + (pt 688 112) +) +(connector + (pt 584 96) + (pt 688 96) +) +(connector + (pt 584 80) + (pt 688 80) +) +(connector + (pt 584 64) + (pt 688 64) +) +(connector + (pt 488 352) + (pt 472 352) +) +(connector + (pt 208 416) + (pt 472 416) +) +(connector + (pt 472 416) + (pt 488 416) +) +(connector + (pt 488 304) + (pt 456 304) +) +(connector + (pt 456 368) + (pt 488 368) +) +(connector + (pt 488 256) + (pt 440 256) +) +(connector + (pt 440 320) + (pt 488 320) +) +(connector + (pt 488 208) + (pt 424 208) +) +(connector + (pt 424 272) + (pt 488 272) +) +(connector + (pt 208 272) + (pt 424 272) +) +(connector + (pt 208 320) + (pt 440 320) +) +(connector + (pt 208 368) + (pt 456 368) +) +(connector + (pt 488 160) + (pt 408 160) +) +(connector + (pt 208 224) + (pt 408 224) +) +(connector + (pt 408 224) + (pt 488 224) +) +(connector + (pt 488 112) + (pt 392 112) +) +(connector + (pt 208 176) + (pt 392 176) +) +(connector + (pt 392 176) + (pt 488 176) +) +(connector + (pt 488 64) + (pt 376 64) +) +(connector + (pt 208 128) + (pt 376 128) +) +(connector + (pt 376 128) + (pt 488 128) +) +(connector + (pt 456 432) + (pt 488 432) +) +(connector + (pt 456 304) + (pt 456 368) +) +(connector + (pt 456 368) + (pt 456 432) +) +(connector + (pt 440 384) + (pt 488 384) +) +(connector + (pt 440 256) + (pt 440 320) +) +(connector + (pt 440 320) + (pt 440 384) +) +(connector + (pt 424 336) + (pt 488 336) +) +(connector + (pt 424 208) + (pt 424 272) +) +(connector + (pt 424 272) + (pt 424 336) +) +(connector + (pt 408 288) + (pt 488 288) +) +(connector + (pt 408 160) + (pt 408 224) +) +(connector + (pt 408 224) + (pt 408 288) +) +(connector + (pt 392 240) + (pt 488 240) +) +(connector + (pt 392 112) + (pt 392 176) +) +(connector + (pt 392 176) + (pt 392 240) +) +(connector + (pt 376 192) + (pt 488 192) +) +(connector + (pt 376 64) + (pt 376 128) +) +(connector + (pt 376 128) + (pt 376 192) +) +(connector + (pt 488 144) + (pt 360 144) +) +(connector + (pt 208 80) + (pt 360 80) +) +(connector + (pt 360 80) + (pt 488 80) +) +(connector + (pt 488 480) + (pt 288 480) +) +(connector + (pt 488 464) + (pt 272 464) +) +(connector + (pt 272 464) + (pt 272 512) +) +(connector + (pt 272 512) + (pt 208 512) +) +(connector + (pt 256 448) + (pt 256 464) +) +(connector + (pt 256 464) + (pt 208 464) +) +(connector + (pt 288 480) + (pt 288 560) +) +(connector + (pt 208 656) + (pt 304 656) +) +(connector + (pt 304 96) + (pt 304 656) +) +(connector + (pt 304 96) + (pt 488 96) +) +(connector + (pt 488 400) + (pt 320 400) +) +(connector + (pt 320 608) + (pt 320 400) +) +(connector + (pt 208 608) + (pt 320 608) +) +(connector + (pt 472 352) + (pt 472 416) +) +(connector + (pt 472 416) + (pt 472 544) +) +(connector + (pt 208 560) + (pt 288 560) +) +(connector + (pt 288 560) + (pt 488 560) +) +(connector + (pt 472 544) + (pt 488 544) +) +(connector + (pt 344 448) + (pt 344 616) +) +(connector + (pt 344 616) + (pt 488 616) +) +(connector + (pt 256 448) + (pt 344 448) +) +(connector + (pt 344 448) + (pt 488 448) +) +(connector + (pt 360 600) + (pt 488 600) +) +(connector + (pt 360 80) + (pt 360 144) +) +(connector + (pt 360 144) + (pt 360 600) +) +(connector + (pt 552 608) + (pt 568 608) +) +(connector + (pt 552 552) + (pt 584 552) +) +(connector + (pt 568 568) + (pt 584 568) +) +(connector + (pt 568 608) + (pt 568 568) +) +(connector + (pt 648 560) + (pt 688 560) +) +(junction (pt 472 416)) +(junction (pt 456 368)) +(junction (pt 440 320)) +(junction (pt 424 272)) +(junction (pt 408 224)) +(junction (pt 392 176)) +(junction (pt 376 128)) +(junction (pt 360 80)) +(junction (pt 288 560)) +(junction (pt 344 448)) +(junction (pt 360 144)) diff --git a/test_ALU/shifter_8b.bsf b/test_ALU/shifter_8b.bsf new file mode 100644 index 0000000..056dd7d --- /dev/null +++ b/test_ALU/shifter_8b.bsf @@ -0,0 +1,183 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 64 64 296 160) + (text "shifter_8b" (rect 5 0 62 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 80 25 92)(font "Arial" )) + (port + (pt 48 96) + (input) + (text "A7" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A7" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 96)(pt 48 80)(line_width 1)) + ) + (port + (pt 64 96) + (input) + (text "A6" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A6" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 96)(pt 64 80)(line_width 1)) + ) + (port + (pt 80 96) + (input) + (text "A5" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A5" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 96)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (input) + (text "A4" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A4" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 96)(pt 96 80)(line_width 1)) + ) + (port + (pt 112 96) + (input) + (text "A3" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A3" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 96)(pt 112 80)(line_width 1)) + ) + (port + (pt 128 96) + (input) + (text "A2" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A2" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 96)(pt 128 80)(line_width 1)) + ) + (port + (pt 144 96) + (input) + (text "A1" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A1" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 96)(pt 144 80)(line_width 1)) + ) + (port + (pt 160 96) + (input) + (text "A0" (rect 0 -160 16 -146)(font "Arial" (font_size 8))) + (text "A0" (rect 152 56 166 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 96)(pt 160 80)(line_width 1)) + ) + (port + (pt 232 32) + (input) + (text "LM" (rect -56 0 -40 14)(font "Arial" (font_size 8))) + (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) + (line (pt 216 32)(pt 232 32)(line_width 1)) + ) + (port + (pt 232 48) + (input) + (text "DM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) + (line (pt 216 48)(pt 232 48)(line_width 1)) + ) + (port + (pt 232 64) + (input) + (text "RM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) + (line (pt 216 64)(pt 232 64)(line_width 1)) + ) + (port + (pt 176 96) + (input) + (text "R_in" (rect 0 -160 24 -146)(font "Arial" (font_size 8))) + (text "R_in" (rect 168 48 182 72)(font "Arial" (font_size 8))(vertical)) + (line (pt 176 96)(pt 176 80)(line_width 1)) + ) + (port + (pt 32 96) + (input) + (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) + (text "L_in" (rect 24 48 38 71)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 96)(pt 32 80)(line_width 1)) + ) + (port + (pt 48 0) + (output) + (text "Y7" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 48 0)(pt 48 16)(line_width 1)) + ) + (port + (pt 64 0) + (output) + (text "Y6" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 64 0)(pt 64 16)(line_width 1)) + ) + (port + (pt 80 0) + (output) + (text "Y5" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 80 0)(pt 80 16)(line_width 1)) + ) + (port + (pt 96 0) + (output) + (text "Y4" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 96 0)(pt 96 16)(line_width 1)) + ) + (port + (pt 112 0) + (output) + (text "Y3" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 112 0)(pt 112 16)(line_width 1)) + ) + (port + (pt 128 0) + (output) + (text "Y2" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 128 0)(pt 128 16)(line_width 1)) + ) + (port + (pt 144 0) + (output) + (text "Y1" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 144 0)(pt 144 16)(line_width 1)) + ) + (port + (pt 160 0) + (output) + (text "Y0" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) + (line (pt 160 0)(pt 160 16)(line_width 1)) + ) + (port + (pt 32 0) + (output) + (text "C8" (rect 192 0 207 14)(font "Arial" (font_size 8))) + (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) + (line (pt 32 0)(pt 32 16)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 216 80)(line_width 1)) + ) +) diff --git a/test_ALU/test_ALU.bdf b/test_ALU/test_ALU.bdf new file mode 100644 index 0000000..3500743 --- /dev/null +++ b/test_ALU/test_ALU.bdf @@ -0,0 +1,975 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 240 248 408 264) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A0" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 232 408 248) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A1" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 216 408 232) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A2" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 200 408 216) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A3" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 184 408 200) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A4" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 168 408 184) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A5" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 152 408 168) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A6" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 136 408 152) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A7" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 376 408 392) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B0" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 360 408 376) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B1" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 344 408 360) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B2" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 328 408 344) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B3" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 312 408 328) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B4" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 296 408 312) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B5" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 280 408 296) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B6" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 264 408 280) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B7" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 488 408 504) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S0" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 472 408 488) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S1" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 456 408 472) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "S2" (rect 5 0 17 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))) +) +(pin + (input) + (rect 240 440 408 456) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP_Z" (rect 5 0 33 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))) +) +(pin + (input) + (rect 240 424 408 440) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP_B" (rect 5 0 33 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))) +) +(pin + (input) + (rect 240 408 408 424) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP_A" (rect 5 0 33 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))) +) +(pin + (input) + (rect 240 392 408 408) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CLR" (rect 5 0 27 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))) +) +(pin + (output) + (rect 800 312 976 328) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_Z" (rect 90 0 124 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 296 976 312) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_N" (rect 90 0 125 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 280 976 296) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_V" (rect 90 0 124 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 264 976 280) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "FLG_C" (rect 90 0 125 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 248 976 264) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 232 976 248) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 216 976 232) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 200 976 216) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 184 976 200) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 168 976 184) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 152 976 168) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 800 136 976 152) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 568 112 696 528) + (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 400 25 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 408 384) + (pt 568 384) +) +(connector + (pt 408 368) + (pt 568 368) +) +(connector + (pt 408 352) + (pt 568 352) +) +(connector + (pt 408 336) + (pt 568 336) +) +(connector + (pt 408 320) + (pt 568 320) +) +(connector + (pt 408 304) + (pt 568 304) +) +(connector + (pt 408 288) + (pt 568 288) +) +(connector + (pt 408 272) + (pt 568 272) +) +(connector + (pt 408 256) + (pt 568 256) +) +(connector + (pt 408 240) + (pt 568 240) +) +(connector + (pt 408 224) + (pt 568 224) +) +(connector + (pt 408 208) + (pt 568 208) +) +(connector + (pt 408 192) + (pt 568 192) +) +(connector + (pt 408 176) + (pt 568 176) +) +(connector + (pt 408 160) + (pt 568 160) +) +(connector + (pt 408 144) + (pt 568 144) +) +(connector + (pt 408 496) + (pt 568 496) +) +(connector + (pt 408 480) + (pt 568 480) +) +(connector + (pt 408 464) + (pt 568 464) +) +(connector + (pt 408 448) + (pt 568 448) +) +(connector + (pt 408 432) + (pt 568 432) +) +(connector + (pt 408 416) + (pt 568 416) +) +(connector + (pt 408 400) + (pt 568 400) +) +(connector + (pt 696 320) + (pt 800 320) +) +(connector + (pt 696 304) + (pt 800 304) +) +(connector + (pt 696 288) + (pt 800 288) +) +(connector + (pt 696 272) + (pt 800 272) +) +(connector + (pt 696 256) + (pt 800 256) +) +(connector + (pt 696 240) + (pt 800 240) +) +(connector + (pt 696 224) + (pt 800 224) +) +(connector + (pt 696 208) + (pt 800 208) +) +(connector + (pt 696 192) + (pt 800 192) +) +(connector + (pt 696 176) + (pt 800 176) +) +(connector + (pt 696 160) + (pt 800 160) +) +(connector + (pt 696 144) + (pt 800 144) +) diff --git a/test_ALU/test_ALU.dpf b/test_ALU/test_ALU.dpf new file mode 100644 index 0000000..abe19d9 --- /dev/null +++ b/test_ALU/test_ALU.dpf @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/test_ALU/test_ALU.qpf b/test_ALU/test_ALU.qpf new file mode 100644 index 0000000..a15e226 --- /dev/null +++ b/test_ALU/test_ALU.qpf @@ -0,0 +1,30 @@ +# -------------------------------------------------------------------------- # +# +# Copyright (C) 1991-2009 Altera Corporation +# Your use of Altera Corporation's design tools, logic functions +# and other software and tools, and its AMPP partner logic +# functions, and any output files from any of the foregoing +# (including device programming or simulation files), and any +# associated documentation or information are expressly subject +# to the terms and conditions of the Altera Program License +# Subscription Agreement, Altera MegaCore Function License +# Agreement, or other applicable license agreement, including, +# without limitation, that your use is for the sole purpose of +# programming logic devices manufactured by Altera and sold by +# Altera or its authorized distributors. Please refer to the +# applicable agreement for further details. +# +# -------------------------------------------------------------------------- # +# +# Quartus II +# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition +# Date created = 16:09:17 May 17, 2022 +# +# -------------------------------------------------------------------------- # + +QUARTUS_VERSION = "9.0" +DATE = "16:09:17 May 17, 2022" + +# Revisions + +PROJECT_REVISION = "test_ALU" diff --git a/test_ALU/test_ALU.qsf b/test_ALU/test_ALU.qsf new file mode 100644 index 0000000..1969d5b --- /dev/null +++ b/test_ALU/test_ALU.qsf @@ -0,0 +1,91 @@ +# -------------------------------------------------------------------------- # +# +# Copyright (C) 1991-2009 Altera Corporation +# Your use of Altera Corporation's design tools, logic functions +# and other software and tools, and its AMPP partner logic +# functions, and any output files from any of the foregoing +# (including device programming or simulation files), and any +# associated documentation or information are expressly subject +# to the terms and conditions of the Altera Program License +# Subscription Agreement, Altera MegaCore Function License +# Agreement, or other applicable license agreement, including, +# without limitation, that your use is for the sole purpose of +# programming logic devices manufactured by Altera and sold by +# Altera or its authorized distributors. Please refer to the +# applicable agreement for further details. +# +# -------------------------------------------------------------------------- # +# +# Quartus II +# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition +# Date created = 16:09:17 May 17, 2022 +# +# -------------------------------------------------------------------------- # +# +# Notes: +# +# 1) The default values for assignments are stored in the file: +# test_ALU_assignment_defaults.qdf +# If this file doesn't exist, see file: +# assignment_defaults.qdf +# +# 2) Altera recommends that you do not modify this file. This +# file is updated automatically by the Quartus II software +# and any changes you make may be lost or overwritten. +# +# -------------------------------------------------------------------------- # + + +set_global_assignment -name FAMILY "Cyclone II" +set_global_assignment -name DEVICE EP2C8Q208C8 +set_global_assignment -name TOP_LEVEL_ENTITY test_ALU +set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:09:17 MAY 17, 2022" +set_global_assignment -name LAST_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_blast_fpga +set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 +set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 +set_global_assignment -name USE_CONFIGURATION_DEVICE ON +set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED" +set_global_assignment -name BDF_FILE test_ALU.bdf +set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top +set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top +set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top +set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region" +set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region" +set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL" +set_location_assignment PIN_67 -to A0 +set_location_assignment PIN_68 -to A1 +set_location_assignment PIN_69 -to A2 +set_location_assignment PIN_70 -to A3 +set_location_assignment PIN_72 -to A4 +set_location_assignment PIN_74 -to A5 +set_location_assignment PIN_75 -to A6 +set_location_assignment PIN_76 -to A7 +set_location_assignment PIN_23 -to B0 +set_location_assignment PIN_24 -to B1 +set_location_assignment PIN_27 -to B2 +set_location_assignment PIN_28 -to B3 +set_location_assignment PIN_208 -to B4 +set_location_assignment PIN_129 -to B5 +set_location_assignment PIN_130 -to B6 +set_location_assignment PIN_107 -to B7 +set_location_assignment PIN_77 -to CP_A +set_location_assignment PIN_80 -to CP_B +set_location_assignment PIN_81 -to CP_Z +set_location_assignment PIN_82 -to CLR +set_location_assignment PIN_142 -to FLG_C +set_location_assignment PIN_143 -to FLG_V +set_location_assignment PIN_144 -to FLG_N +set_location_assignment PIN_145 -to FLG_Z +set_location_assignment PIN_151 -to Q0 +set_location_assignment PIN_152 -to Q1 +set_location_assignment PIN_160 -to Q2 +set_location_assignment PIN_161 -to Q3 +set_location_assignment PIN_162 -to Q4 +set_location_assignment PIN_163 -to Q5 +set_location_assignment PIN_164 -to Q6 +set_location_assignment PIN_165 -to Q7 +set_location_assignment PIN_84 -to S0 +set_location_assignment PIN_86 -to S1 +set_location_assignment PIN_87 -to S2 \ No newline at end of file diff --git a/test_ALU/triple_selector_8b.bdf b/test_ALU/triple_selector_8b.bdf new file mode 100644 index 0000000..c5bae54 --- /dev/null +++ b/test_ALU/triple_selector_8b.bdf @@ -0,0 +1,2247 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 16 1032 184 1048) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A0" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 1080 184 1096) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B0" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 1128 184 1144) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C0" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 1272 184 1288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "AY" (rect 5 0 20 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))) +) +(pin + (input) + (rect 16 1320 184 1336) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "BY" (rect 5 0 20 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))) +) +(pin + (input) + (rect 16 1360 184 1376) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CY" (rect 5 0 21 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))) +) +(pin + (input) + (rect 16 888 184 904) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A1" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 936 184 952) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B1" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 984 184 1000) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C1" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 744 184 760) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A2" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 792 184 808) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B2" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 840 184 856) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C2" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 600 184 616) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A3" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 648 184 664) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B3" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 696 184 712) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C3" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 456 184 472) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A4" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 504 184 520) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B4" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 552 184 568) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C4" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 312 184 328) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A5" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 360 184 376) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B5" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 408 184 424) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C5" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 168 184 184) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A6" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 216 184 232) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B6" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 264 184 280) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C6" (rect 5 0 19 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))) +) +(pin + (input) + (rect 16 24 184 40) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "A7" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 72 184 88) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "B7" (rect 5 0 17 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))) +) +(pin + (input) + (rect 16 120 184 136) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "C7" (rect 5 0 19 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))) +) +(pin + (output) + (rect 600 1088 776 1104) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 944 776 960) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 800 776 816) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 656 776 672) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 512 776 528) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 368 776 384) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 224 776 240) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 600 80 776 96) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 296 1024 360 1072) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 37 20 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 1072 360 1120) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst1" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 1120 360 1168) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 1072 552 1120) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 880 360 928) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 928 360 976) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 976 360 1024) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 928 552 976) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 736 360 784) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 784 360 832) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 832 360 880) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 784 552 832) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 592 360 640) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst12" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 640 360 688) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst13" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 688 360 736) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst14" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 640 552 688) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst15" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 448 360 496) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst17" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 496 360 544) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst16" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 544 360 592) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst18" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 496 552 544) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst19" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 304 360 352) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst20" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 352 360 400) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst21" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 400 360 448) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst22" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 352 552 400) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst23" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 160 360 208) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst25" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 208 360 256) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst24" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 256 360 304) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst26" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 208 552 256) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst27" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(symbol + (rect 296 16 360 64) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst28" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 64 360 112) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst29" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 112 360 160) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst30" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 488 64 552 112) + (text "OR3" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst31" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 18 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 24 19 36)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) + (line (pt 49 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 13)(pt 25 13)(line_width 1)) + (line (pt 14 36)(pt 25 36)(line_width 1)) + (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1)) + (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1)) + (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1)) + ) +) +(connector + (pt 360 1096) + (pt 488 1096) +) +(connector + (pt 360 1048) + (pt 384 1048) +) +(connector + (pt 384 1088) + (pt 384 1048) +) +(connector + (pt 384 1088) + (pt 488 1088) +) +(connector + (pt 360 1144) + (pt 384 1144) +) +(connector + (pt 384 1104) + (pt 384 1144) +) +(connector + (pt 384 1104) + (pt 488 1104) +) +(connector + (pt 552 1096) + (pt 600 1096) +) +(connector + (pt 296 1040) + (pt 184 1040) +) +(connector + (pt 184 1088) + (pt 296 1088) +) +(connector + (pt 184 1136) + (pt 296 1136) +) +(connector + (pt 296 1056) + (pt 272 1056) +) +(connector + (pt 296 1104) + (pt 248 1104) +) +(connector + (pt 296 1152) + (pt 224 1152) +) +(connector + (pt 360 952) + (pt 488 952) +) +(connector + (pt 360 904) + (pt 384 904) +) +(connector + (pt 384 944) + (pt 384 904) +) +(connector + (pt 384 944) + (pt 488 944) +) +(connector + (pt 360 1000) + (pt 384 1000) +) +(connector + (pt 384 960) + (pt 384 1000) +) +(connector + (pt 384 960) + (pt 488 960) +) +(connector + (pt 552 952) + (pt 600 952) +) +(connector + (pt 296 896) + (pt 184 896) +) +(connector + (pt 184 944) + (pt 296 944) +) +(connector + (pt 184 992) + (pt 296 992) +) +(connector + (pt 296 912) + (pt 272 912) +) +(connector + (pt 296 960) + (pt 248 960) +) +(connector + (pt 296 1008) + (pt 224 1008) +) +(connector + (pt 360 808) + (pt 488 808) +) +(connector + (pt 384 800) + (pt 384 760) +) +(connector + (pt 384 800) + (pt 488 800) +) +(connector + (pt 360 856) + (pt 384 856) +) +(connector + (pt 384 816) + (pt 384 856) +) +(connector + (pt 384 816) + (pt 488 816) +) +(connector + (pt 552 808) + (pt 600 808) +) +(connector + (pt 184 800) + (pt 296 800) +) +(connector + (pt 184 848) + (pt 296 848) +) +(connector + (pt 296 768) + (pt 272 768) +) +(connector + (pt 296 816) + (pt 248 816) +) +(connector + (pt 296 864) + (pt 224 864) +) +(connector + (pt 360 760) + (pt 384 760) +) +(connector + (pt 184 752) + (pt 296 752) +) +(connector + (pt 360 664) + (pt 488 664) +) +(connector + (pt 360 616) + (pt 384 616) +) +(connector + (pt 384 656) + (pt 384 616) +) +(connector + (pt 384 656) + (pt 488 656) +) +(connector + (pt 360 712) + (pt 384 712) +) +(connector + (pt 384 672) + (pt 384 712) +) +(connector + (pt 384 672) + (pt 488 672) +) +(connector + (pt 552 664) + (pt 600 664) +) +(connector + (pt 296 608) + (pt 184 608) +) +(connector + (pt 184 656) + (pt 296 656) +) +(connector + (pt 184 704) + (pt 296 704) +) +(connector + (pt 296 624) + (pt 272 624) +) +(connector + (pt 296 672) + (pt 248 672) +) +(connector + (pt 296 720) + (pt 224 720) +) +(connector + (pt 384 512) + (pt 384 472) +) +(connector + (pt 384 512) + (pt 488 512) +) +(connector + (pt 384 528) + (pt 384 568) +) +(connector + (pt 384 528) + (pt 488 528) +) +(connector + (pt 296 480) + (pt 272 480) +) +(connector + (pt 296 528) + (pt 248 528) +) +(connector + (pt 296 576) + (pt 224 576) +) +(connector + (pt 360 472) + (pt 384 472) +) +(connector + (pt 360 520) + (pt 488 520) +) +(connector + (pt 360 568) + (pt 384 568) +) +(connector + (pt 552 520) + (pt 600 520) +) +(connector + (pt 184 464) + (pt 296 464) +) +(connector + (pt 184 512) + (pt 296 512) +) +(connector + (pt 184 560) + (pt 296 560) +) +(connector + (pt 360 376) + (pt 488 376) +) +(connector + (pt 360 328) + (pt 384 328) +) +(connector + (pt 384 368) + (pt 384 328) +) +(connector + (pt 360 424) + (pt 384 424) +) +(connector + (pt 384 384) + (pt 384 424) +) +(connector + (pt 384 384) + (pt 488 384) +) +(connector + (pt 552 376) + (pt 600 376) +) +(connector + (pt 296 320) + (pt 184 320) +) +(connector + (pt 184 368) + (pt 296 368) +) +(connector + (pt 184 416) + (pt 296 416) +) +(connector + (pt 296 336) + (pt 272 336) +) +(connector + (pt 296 384) + (pt 248 384) +) +(connector + (pt 296 432) + (pt 224 432) +) +(connector + (pt 384 368) + (pt 488 368) +) +(connector + (pt 360 232) + (pt 488 232) +) +(connector + (pt 360 184) + (pt 384 184) +) +(connector + (pt 384 224) + (pt 384 184) +) +(connector + (pt 384 224) + (pt 488 224) +) +(connector + (pt 360 280) + (pt 384 280) +) +(connector + (pt 384 240) + (pt 384 280) +) +(connector + (pt 384 240) + (pt 488 240) +) +(connector + (pt 552 232) + (pt 600 232) +) +(connector + (pt 296 176) + (pt 184 176) +) +(connector + (pt 184 224) + (pt 296 224) +) +(connector + (pt 184 272) + (pt 296 272) +) +(connector + (pt 296 192) + (pt 272 192) +) +(connector + (pt 296 240) + (pt 248 240) +) +(connector + (pt 296 288) + (pt 224 288) +) +(connector + (pt 360 88) + (pt 488 88) +) +(connector + (pt 360 40) + (pt 384 40) +) +(connector + (pt 384 80) + (pt 384 40) +) +(connector + (pt 360 136) + (pt 384 136) +) +(connector + (pt 384 96) + (pt 384 136) +) +(connector + (pt 384 96) + (pt 488 96) +) +(connector + (pt 296 32) + (pt 184 32) +) +(connector + (pt 184 80) + (pt 296 80) +) +(connector + (pt 184 128) + (pt 296 128) +) +(connector + (pt 296 48) + (pt 272 48) +) +(connector + (pt 296 96) + (pt 248 96) +) +(connector + (pt 296 144) + (pt 224 144) +) +(connector + (pt 384 80) + (pt 488 80) +) +(connector + (pt 184 1280) + (pt 272 1280) +) +(connector + (pt 248 1328) + (pt 184 1328) +) +(connector + (pt 184 1368) + (pt 224 1368) +) +(connector + (pt 272 48) + (pt 272 192) +) +(connector + (pt 272 192) + (pt 272 336) +) +(connector + (pt 272 336) + (pt 272 480) +) +(connector + (pt 272 480) + (pt 272 624) +) +(connector + (pt 272 624) + (pt 272 768) +) +(connector + (pt 272 768) + (pt 272 912) +) +(connector + (pt 272 912) + (pt 272 1056) +) +(connector + (pt 272 1056) + (pt 272 1280) +) +(connector + (pt 248 96) + (pt 248 240) +) +(connector + (pt 248 240) + (pt 248 384) +) +(connector + (pt 248 384) + (pt 248 528) +) +(connector + (pt 248 528) + (pt 248 672) +) +(connector + (pt 248 672) + (pt 248 816) +) +(connector + (pt 248 816) + (pt 248 960) +) +(connector + (pt 248 960) + (pt 248 1104) +) +(connector + (pt 248 1104) + (pt 248 1328) +) +(connector + (pt 224 144) + (pt 224 288) +) +(connector + (pt 224 288) + (pt 224 432) +) +(connector + (pt 224 432) + (pt 224 576) +) +(connector + (pt 224 576) + (pt 224 720) +) +(connector + (pt 224 720) + (pt 224 864) +) +(connector + (pt 224 864) + (pt 224 1008) +) +(connector + (pt 224 1008) + (pt 224 1152) +) +(connector + (pt 224 1152) + (pt 224 1368) +) +(connector + (pt 600 88) + (pt 552 88) +) +(junction (pt 272 192)) +(junction (pt 272 336)) +(junction (pt 272 480)) +(junction (pt 272 624)) +(junction (pt 272 768)) +(junction (pt 272 912)) +(junction (pt 272 1056)) +(junction (pt 248 240)) +(junction (pt 248 384)) +(junction (pt 248 528)) +(junction (pt 248 672)) +(junction (pt 248 816)) +(junction (pt 248 960)) +(junction (pt 248 1104)) +(junction (pt 224 288)) +(junction (pt 224 432)) +(junction (pt 224 576)) +(junction (pt 224 720)) +(junction (pt 224 864)) +(junction (pt 224 1008)) +(junction (pt 224 1152)) diff --git a/test_ALU/triple_selector_8b.bsf b/test_ALU/triple_selector_8b.bsf new file mode 100644 index 0000000..81f858b --- /dev/null +++ b/test_ALU/triple_selector_8b.bsf @@ -0,0 +1,274 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2009 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "symbol" (version "1.1")) +(symbol + (rect 16 16 112 496) + (text "triple_selector_8b" (rect 5 0 106 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 464 25 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 48) + (input) + (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B7" (rect 21 43 36 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "C7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C7" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A6" (rect 21 75 37 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "C6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C6" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A5" (rect 21 123 37 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B5" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "C5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C5" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A4" (rect 21 171 37 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B4" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "C4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C4" (rect 21 203 36 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 0 224) + (input) + (text "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A3" (rect 21 219 37 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B3" (rect 21 235 36 249)(font "Arial" (font_size 8))) + (line (pt 0 240)(pt 16 240)(line_width 1)) + ) + (port + (pt 0 256) + (input) + (text "C3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C3" (rect 21 251 36 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A2" (rect 21 267 37 281)(font "Arial" (font_size 8))) + (line (pt 0 272)(pt 16 272)(line_width 1)) + ) + (port + (pt 0 288) + (input) + (text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B2" (rect 21 283 36 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "C2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C2" (rect 21 299 36 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(line_width 1)) + ) + (port + (pt 0 320) + (input) + (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A1" (rect 21 315 37 329)(font "Arial" (font_size 8))) + (line (pt 0 320)(pt 16 320)(line_width 1)) + ) + (port + (pt 0 336) + (input) + (text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B1" (rect 21 331 36 345)(font "Arial" (font_size 8))) + (line (pt 0 336)(pt 16 336)(line_width 1)) + ) + (port + (pt 0 352) + (input) + (text "C1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "C1" (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 "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A0" (rect 21 363 37 377)(font "Arial" (font_size 8))) + (line (pt 0 368)(pt 16 368)(line_width 1)) + ) + (port + (pt 0 384) + (input) + (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B0" (rect 21 379 36 393)(font "Arial" (font_size 8))) + (line (pt 0 384)(pt 16 384)(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)) + ) +)