/* 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-2008 Altera Corporation Your use of Altera Corporation's design tools, logic functions and other software and tools, and its AMPP partner logic functions, and any output files from any of the foregoing (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 1120 416 1288 432) (text "INPUT" (rect 7 0 35 10)(font "Arial" (font_size 6))) (text "CLR" (rect 112 0 134 12)(font "Arial" )) (pt 0 8) (drawing (line (pt 76 12)(pt 51 12)(line_width 1)) (line (pt 76 4)(pt 51 4)(line_width 1)) (line (pt 47 8)(pt 0 8)(line_width 1)) (line (pt 76 12)(pt 76 4)(line_width 1)) (line (pt 51 4)(pt 47 8)(line_width 1)) (line (pt 51 12)(pt 47 8)(line_width 1)) ) (flipy) (text "VCC" (rect 12 7 32 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 280 -48 296) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "CK_C" (rect 5 0 34 12)(font "Arial" )) (pt 168 8) (drawing (line (pt 92 12)(pt 117 12)(line_width 1)) (line (pt 92 4)(pt 117 4)(line_width 1)) (line (pt 121 8)(pt 168 8)(line_width 1)) (line (pt 92 12)(pt 92 4)(line_width 1)) (line (pt 117 4)(pt 121 8)(line_width 1)) (line (pt 117 12)(pt 121 8)(line_width 1)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 296 -48 312) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "CK" (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 -216 392 -48 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 (input) (rect -224 424 -48 440) (text "INPUT" (rect 142 0 170 10)(font "Arial" (font_size 6))) (text "CPPC_uIR0" (rect 5 0 65 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 101 12)(pt 126 12)(line_width 1)) (line (pt 101 4)(pt 126 4)(line_width 1)) (line (pt 130 8)(pt 177 8)(line_width 1)) (line (pt 101 12)(pt 101 4)(line_width 1)) (line (pt 126 4)(pt 130 8)(line_width 1)) (line (pt 126 12)(pt 130 8)(line_width 1)) ) (text "VCC" (rect 145 7 165 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -232 472 -48 488) (text "INPUT" (rect 148 0 176 10)(font "Arial" (font_size 6))) (text "CPMAR_uIR1" (rect 5 0 73 12)(font "Arial" )) (pt 184 8) (drawing (line (pt 107 12)(pt 132 12)(line_width 1)) (line (pt 107 4)(pt 132 4)(line_width 1)) (line (pt 136 8)(pt 183 8)(line_width 1)) (line (pt 107 12)(pt 107 4)(line_width 1)) (line (pt 132 4)(pt 136 8)(line_width 1)) (line (pt 132 12)(pt 136 8)(line_width 1)) ) (text "VCC" (rect 151 7 171 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -224 552 -48 568) (text "INPUT" (rect 142 0 170 10)(font "Arial" (font_size 6))) (text "ENMBR_uIR3" (rect 5 0 73 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 101 12)(pt 126 12)(line_width 1)) (line (pt 101 4)(pt 126 4)(line_width 1)) (line (pt 130 8)(pt 177 8)(line_width 1)) (line (pt 101 12)(pt 101 4)(line_width 1)) (line (pt 126 4)(pt 130 8)(line_width 1)) (line (pt 126 12)(pt 130 8)(line_width 1)) ) (text "VCC" (rect 145 7 165 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -232 520 -48 536) (text "INPUT" (rect 148 0 176 10)(font "Arial" (font_size 6))) (text "CPMBR_uIR2" (rect 5 0 73 12)(font "Arial" )) (pt 184 8) (drawing (line (pt 107 12)(pt 132 12)(line_width 1)) (line (pt 107 4)(pt 132 4)(line_width 1)) (line (pt 136 8)(pt 183 8)(line_width 1)) (line (pt 107 12)(pt 107 4)(line_width 1)) (line (pt 132 4)(pt 136 8)(line_width 1)) (line (pt 132 12)(pt 136 8)(line_width 1)) ) (text "VCC" (rect 151 7 171 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 584 -48 600) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "PCY_uIR4" (rect 11 0 64 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 -216 616 -48 632) (text "INPUT" (rect 135 0 163 10)(font "Arial" (font_size 6))) (text "MARY_uIR5" (rect 5 0 66 12)(font "Arial" )) (pt 168 8) (drawing (line (pt 94 12)(pt 119 12)(line_width 1)) (line (pt 94 4)(pt 119 4)(line_width 1)) (line (pt 123 8)(pt 170 8)(line_width 1)) (line (pt 94 12)(pt 94 4)(line_width 1)) (line (pt 119 4)(pt 123 8)(line_width 1)) (line (pt 119 12)(pt 123 8)(line_width 1)) ) (text "VCC" (rect 138 7 158 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 648 -48 664) (text "INPUT" (rect 135 0 163 10)(font "Arial" (font_size 6))) (text "WD_uIR6" (rect 5 0 53 12)(font "Arial" )) (pt 168 8) (drawing (line (pt 94 12)(pt 119 12)(line_width 1)) (line (pt 94 4)(pt 119 4)(line_width 1)) (line (pt 123 8)(pt 170 8)(line_width 1)) (line (pt 94 12)(pt 94 4)(line_width 1)) (line (pt 119 4)(pt 123 8)(line_width 1)) (line (pt 119 12)(pt 123 8)(line_width 1)) ) (text "VCC" (rect 138 7 158 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 680 -48 696) (text "INPUT" (rect 135 0 163 10)(font "Arial" (font_size 6))) (text "RD_uIR7" (rect 5 0 51 12)(font "Arial" )) (pt 168 8) (drawing (line (pt 94 12)(pt 119 12)(line_width 1)) (line (pt 94 4)(pt 119 4)(line_width 1)) (line (pt 123 8)(pt 170 8)(line_width 1)) (line (pt 94 12)(pt 94 4)(line_width 1)) (line (pt 119 4)(pt 123 8)(line_width 1)) (line (pt 119 12)(pt 123 8)(line_width 1)) ) (text "VCC" (rect 138 7 158 17)(font "Arial" (font_size 6))) ) (pin (input) (rect -216 712 -48 728) (text "INPUT" (rect 135 0 163 10)(font "Arial" (font_size 6))) (text "HALT_uIR8" (rect 5 0 61 12)(font "Arial" )) (pt 168 8) (drawing (line (pt 94 12)(pt 119 12)(line_width 1)) (line (pt 94 4)(pt 119 4)(line_width 1)) (line (pt 123 8)(pt 170 8)(line_width 1)) (line (pt 94 12)(pt 94 4)(line_width 1)) (line (pt 119 4)(pt 123 8)(line_width 1)) (line (pt 119 12)(pt 123 8)(line_width 1)) ) (text "VCC" (rect 138 7 158 17)(font "Arial" (font_size 6))) ) (pin (output) (rect 328 528 504 544) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A0" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 512 504 528) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A1" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 496 504 512) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A2" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 480 504 496) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A3" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 464 504 480) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A4" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 448 504 464) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A5" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 432 504 448) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A6" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 328 416 504 432) (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6))) (text "A7" (rect 5 0 17 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 124 4)(pt 98 4)(line_width 1)) (line (pt 124 12)(pt 98 12)(line_width 1)) (line (pt 124 12)(pt 124 4)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 94 8)(pt 98 12)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) ) (flipy) ) (pin (output) (rect 48 648 224 664) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "WDN" (rect 90 0 117 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 48 680 224 696) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "RDN" (rect 90 0 114 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 (bidir) (rect 448 904 624 920) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D0" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 888 624 904) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D1" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 872 624 888) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D2" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 856 624 872) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D3" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 840 624 856) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D4" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 824 624 840) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D5" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 808 624 824) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D6" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (pin (bidir) (rect 448 792 624 808) (text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6))) (text "D7" (rect 5 0 19 12)(font "Arial" )) (pt 176 8) (drawing (line (pt 120 4)(pt 98 4)(line_width 1)) (line (pt 176 8)(pt 124 8)(line_width 1)) (line (pt 120 12)(pt 98 12)(line_width 1)) (line (pt 98 4)(pt 94 8)(line_width 1)) (line (pt 98 12)(pt 94 8)(line_width 1)) (line (pt 120 4)(pt 124 8)(line_width 1)) (line (pt 124 8)(pt 120 12)(line_width 1)) ) (flipy) (text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6))) ) (symbol (rect 560 392 656 744) (text "double_selector_8b" (rect -21 0 91 14)(font "Arial" (font_size 8))) (text "inst" (rect 71 336 88 348)(font "Arial" )) (port (pt 96 144) (input) (text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a0" (rect 61 136 75 150)(font "Arial" (font_size 8))) (line (pt 96 144)(pt 80 144)(line_width 1)) ) (port (pt 96 128) (input) (text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a1" (rect 61 120 75 134)(font "Arial" (font_size 8))) (line (pt 96 128)(pt 80 128)(line_width 1)) ) (port (pt 96 112) (input) (text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a2" (rect 61 104 75 118)(font "Arial" (font_size 8))) (line (pt 96 112)(pt 80 112)(line_width 1)) ) (port (pt 96 96) (input) (text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a3" (rect 61 88 75 102)(font "Arial" (font_size 8))) (line (pt 96 96)(pt 80 96)(line_width 1)) ) (port (pt 96 80) (input) (text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a4" (rect 61 72 75 86)(font "Arial" (font_size 8))) (line (pt 96 80)(pt 80 80)(line_width 1)) ) (port (pt 96 64) (input) (text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a5" (rect 61 56 75 70)(font "Arial" (font_size 8))) (line (pt 96 64)(pt 80 64)(line_width 1)) ) (port (pt 96 48) (input) (text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a6" (rect 61 40 75 54)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)(line_width 1)) ) (port (pt 96 32) (input) (text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "a7" (rect 61 24 75 38)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)(line_width 1)) ) (port (pt 96 272) (input) (text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b0" (rect 61 267 75 281)(font "Arial" (font_size 8))) (line (pt 96 272)(pt 80 272)(line_width 1)) ) (port (pt 96 256) (input) (text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b1" (rect 61 251 75 265)(font "Arial" (font_size 8))) (line (pt 96 256)(pt 80 256)(line_width 1)) ) (port (pt 96 240) (input) (text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b2" (rect 61 235 75 249)(font "Arial" (font_size 8))) (line (pt 96 240)(pt 80 240)(line_width 1)) ) (port (pt 96 224) (input) (text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b3" (rect 61 219 75 233)(font "Arial" (font_size 8))) (line (pt 96 224)(pt 80 224)(line_width 1)) ) (port (pt 96 208) (input) (text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b4" (rect 61 203 75 217)(font "Arial" (font_size 8))) (line (pt 96 208)(pt 80 208)(line_width 1)) ) (port (pt 96 192) (input) (text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b5" (rect 61 187 75 201)(font "Arial" (font_size 8))) (line (pt 96 192)(pt 80 192)(line_width 1)) ) (port (pt 96 176) (input) (text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b6" (rect 61 171 75 185)(font "Arial" (font_size 8))) (line (pt 96 176)(pt 80 176)(line_width 1)) ) (port (pt 96 160) (input) (text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8))) (text "b7" (rect 61 155 75 169)(font "Arial" (font_size 8))) (line (pt 96 160)(pt 80 160)(line_width 1)) ) (port (pt 96 288) (input) (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) (text "AY" (rect 57 283 75 297)(font "Arial" (font_size 8))) (line (pt 96 288)(pt 80 288)(line_width 1)) ) (port (pt 96 304) (input) (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) (text "BY" (rect 58 299 75 313)(font "Arial" (font_size 8))) (line (pt 96 304)(pt 80 304)(line_width 1)) ) (port (pt 0 144) (output) (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y0" (rect 21 139 37 153)(font "Arial" (font_size 8))) (line (pt 0 144)(pt 16 144)(line_width 1)) ) (port (pt 0 128) (output) (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y1" (rect 21 123 37 137)(font "Arial" (font_size 8))) (line (pt 0 128)(pt 16 128)(line_width 1)) ) (port (pt 0 112) (output) (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y2" (rect 21 107 37 121)(font "Arial" (font_size 8))) (line (pt 0 112)(pt 16 112)(line_width 1)) ) (port (pt 0 96) (output) (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y3" (rect 21 91 37 105)(font "Arial" (font_size 8))) (line (pt 0 96)(pt 16 96)(line_width 1)) ) (port (pt 0 80) (output) (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y4" (rect 21 75 37 89)(font "Arial" (font_size 8))) (line (pt 0 80)(pt 16 80)(line_width 1)) ) (port (pt 0 64) (output) (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y5" (rect 21 59 37 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)(line_width 1)) ) (port (pt 0 48) (output) (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y6" (rect 21 43 37 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port (pt 0 32) (output) (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Y7" (rect 21 27 37 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)(line_width 1)) ) (drawing (rectangle (rect 16 16 80 336)(line_width 1)) ) (flipy) ) (symbol (rect 952 208 984 240) (text "GND" (rect 8 6 29 16)(font "Arial" (font_size 6))) (text "inst2" (rect 3 -1 26 11)(font "Arial" )(invisible)) (port (pt 16 32) (output) (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) (text "1" (rect 18 20 23 32)(font "Courier New" (bold))(invisible)) (line (pt 16 24)(pt 16 32)(line_width 1)) ) (drawing (line (pt 8 24)(pt 16 16)(line_width 1)) (line (pt 16 16)(pt 24 24)(line_width 1)) (line (pt 8 24)(pt 24 24)(line_width 1)) ) (flipx) ) (symbol (rect 984 248 1016 264) (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) (text "inst3" (rect 3 5 26 17)(font "Arial" )(invisible)) (port (pt 16 16) (output) (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) (line (pt 16 16)(pt 16 8)(line_width 1)) ) (drawing (line (pt 8 8)(pt 24 8)(line_width 1)) ) ) (symbol (rect 32 240 128 368) (text "start_circuit" (rect 5 0 72 14)(font "Arial" (font_size 8))) (text "inst6" (rect 8 112 31 124)(font "Arial" )) (port (pt 0 32) (input) (text "HALT" (rect 0 0 31 14)(font "Arial" (font_size 8))) (text "HALT" (rect 21 27 52 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 0 48) (input) (text "CK_C" (rect 0 0 31 14)(font "Arial" (font_size 8))) (text "CK_C" (rect 21 43 52 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port (pt 0 64) (input) (text "CK" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "CK" (rect 21 59 37 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)(line_width 1)) ) (port (pt 0 80) (input) (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) (text "CLR" (rect 21 75 44 89)(font "Arial" (font_size 8))) (line (pt 0 80)(pt 16 80)(line_width 1)) ) (port (pt 96 32) (output) (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "CP" (rect 60 27 75 41)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)(line_width 1)) ) (drawing (rectangle (rect 16 16 80 112)(line_width 1)) ) ) (symbol (rect 160 416 224 464) (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 160 464 224 512) (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) (text "inst15" (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 160 512 224 560) (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 -16 640 32 672) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst18" (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 -16 672 32 704) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst19" (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 848 232 944 456) (text "counter_8b_with_input" (rect -39 0 91 14)(font "Arial" (font_size 8))) (text "PC" (rect 65 208 80 220)(font "Arial" )) (port (pt 96 32) (input) (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D7" (rect 60 27 75 41)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)(line_width 1)) ) (port (pt 96 48) (input) (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D6" (rect 60 43 75 57)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)(line_width 1)) ) (port (pt 96 64) (input) (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D5" (rect 60 59 75 73)(font "Arial" (font_size 8))) (line (pt 96 64)(pt 80 64)(line_width 1)) ) (port (pt 96 80) (input) (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D4" (rect 60 75 75 89)(font "Arial" (font_size 8))) (line (pt 96 80)(pt 80 80)(line_width 1)) ) (port (pt 96 96) (input) (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D3" (rect 60 91 75 105)(font "Arial" (font_size 8))) (line (pt 96 96)(pt 80 96)(line_width 1)) ) (port (pt 96 112) (input) (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D2" (rect 60 107 75 121)(font "Arial" (font_size 8))) (line (pt 96 112)(pt 80 112)(line_width 1)) ) (port (pt 96 128) (input) (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D1" (rect 60 123 75 137)(font "Arial" (font_size 8))) (line (pt 96 128)(pt 80 128)(line_width 1)) ) (port (pt 96 144) (input) (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D0" (rect 60 139 75 153)(font "Arial" (font_size 8))) (line (pt 96 144)(pt 80 144)(line_width 1)) ) (port (pt 96 160) (input) (text "LD" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "LD" (rect 60 155 75 169)(font "Arial" (font_size 8))) (line (pt 96 160)(pt 80 160)(line_width 1)) ) (port (pt 96 176) (input) (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "CP" (rect 60 171 75 185)(font "Arial" (font_size 8))) (line (pt 96 176)(pt 80 176)(line_width 1)) ) (port (pt 96 192) (input) (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) (text "CLR" (rect 52 187 75 201)(font "Arial" (font_size 8))) (line (pt 96 192)(pt 80 192)(line_width 1)) ) (port (pt 0 32) (output) (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 0 48) (output) (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port (pt 0 64) (output) (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)(line_width 1)) ) (port (pt 0 80) (output) (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8))) (line (pt 0 80)(pt 16 80)(line_width 1)) ) (port (pt 0 96) (output) (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8))) (line (pt 0 96)(pt 16 96)(line_width 1)) ) (port (pt 0 112) (output) (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8))) (line (pt 0 112)(pt 16 112)(line_width 1)) ) (port (pt 0 128) (output) (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8))) (line (pt 0 128)(pt 16 128)(line_width 1)) ) (port (pt 0 144) (output) (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8))) (line (pt 0 144)(pt 16 144)(line_width 1)) ) (drawing (rectangle (rect 16 16 80 208)(line_width 1)) ) (flipy) ) (symbol (rect 848 520 944 744) (text "register_8b" (rect 27 0 91 14)(font "Arial" (font_size 8))) (text "MAR" (rect 65 208 88 220)(font "Arial" )) (port (pt 96 32) (input) (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) (text "CLR" (rect 52 27 75 41)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)(line_width 1)) ) (port (pt 96 48) (input) (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "CP" (rect 60 43 75 57)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)(line_width 1)) ) (port (pt 96 64) (input) (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D7" (rect 60 59 75 73)(font "Arial" (font_size 8))) (line (pt 96 64)(pt 80 64)(line_width 1)) ) (port (pt 96 80) (input) (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D6" (rect 60 75 75 89)(font "Arial" (font_size 8))) (line (pt 96 80)(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 60 91 75 105)(font "Arial" (font_size 8))) (line (pt 96 96)(pt 80 96)(line_width 1)) ) (port (pt 96 112) (input) (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D4" (rect 60 107 75 121)(font "Arial" (font_size 8))) (line (pt 96 112)(pt 80 112)(line_width 1)) ) (port (pt 96 128) (input) (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D3" (rect 60 123 75 137)(font "Arial" (font_size 8))) (line (pt 96 128)(pt 80 128)(line_width 1)) ) (port (pt 96 144) (input) (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D2" (rect 60 139 75 153)(font "Arial" (font_size 8))) (line (pt 96 144)(pt 80 144)(line_width 1)) ) (port (pt 96 160) (input) (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D1" (rect 60 155 75 169)(font "Arial" (font_size 8))) (line (pt 96 160)(pt 80 160)(line_width 1)) ) (port (pt 96 176) (input) (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D0" (rect 60 171 75 185)(font "Arial" (font_size 8))) (line (pt 96 176)(pt 80 176)(line_width 1)) ) (port (pt 0 32) (output) (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 0 48) (output) (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port (pt 0 64) (output) (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)(line_width 1)) ) (port (pt 0 80) (output) (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8))) (line (pt 0 80)(pt 16 80)(line_width 1)) ) (port (pt 0 96) (output) (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8))) (line (pt 0 96)(pt 16 96)(line_width 1)) ) (port (pt 0 112) (output) (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8))) (line (pt 0 112)(pt 16 112)(line_width 1)) ) (port (pt 0 128) (output) (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8))) (line (pt 0 128)(pt 16 128)(line_width 1)) ) (port (pt 0 144) (output) (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8))) (line (pt 0 144)(pt 16 144)(line_width 1)) ) (drawing (rectangle (rect 16 16 80 208)(line_width 1)) ) (flipy) ) (symbol (rect 856 960 952 1184) (text "register_8b_with_switch" (rect -51 0 91 14)(font "Arial" (font_size 8))) (text "MBR" (rect 65 208 88 220)(font "Arial" )) (port (pt 96 32) (input) (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "EN" (rect 60 27 75 41)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)(line_width 1)) ) (port (pt 96 48) (input) (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) (text "CLR" (rect 52 43 75 57)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)(line_width 1)) ) (port (pt 96 64) (input) (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "CP" (rect 60 59 75 73)(font "Arial" (font_size 8))) (line (pt 96 64)(pt 80 64)(line_width 1)) ) (port (pt 96 80) (input) (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D7" (rect 60 75 75 89)(font "Arial" (font_size 8))) (line (pt 96 80)(pt 80 80)(line_width 1)) ) (port (pt 96 96) (input) (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D6" (rect 60 91 75 105)(font "Arial" (font_size 8))) (line (pt 96 96)(pt 80 96)(line_width 1)) ) (port (pt 96 112) (input) (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D5" (rect 60 107 75 121)(font "Arial" (font_size 8))) (line (pt 96 112)(pt 80 112)(line_width 1)) ) (port (pt 96 128) (input) (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D4" (rect 60 123 75 137)(font "Arial" (font_size 8))) (line (pt 96 128)(pt 80 128)(line_width 1)) ) (port (pt 96 144) (input) (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D3" (rect 60 139 75 153)(font "Arial" (font_size 8))) (line (pt 96 144)(pt 80 144)(line_width 1)) ) (port (pt 96 160) (input) (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D2" (rect 60 155 75 169)(font "Arial" (font_size 8))) (line (pt 96 160)(pt 80 160)(line_width 1)) ) (port (pt 96 176) (input) (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D1" (rect 60 171 75 185)(font "Arial" (font_size 8))) (line (pt 96 176)(pt 80 176)(line_width 1)) ) (port (pt 96 192) (input) (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "D0" (rect 60 187 75 201)(font "Arial" (font_size 8))) (line (pt 96 192)(pt 80 192)(line_width 1)) ) (port (pt 0 32) (output) (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port (pt 0 48) (output) (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port (pt 0 64) (output) (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)(line_width 1)) ) (port (pt 0 80) (output) (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8))) (line (pt 0 80)(pt 16 80)(line_width 1)) ) (port (pt 0 96) (output) (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8))) (line (pt 0 96)(pt 16 96)(line_width 1)) ) (port (pt 0 112) (output) (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8))) (line (pt 0 112)(pt 16 112)(line_width 1)) ) (port (pt 0 128) (output) (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8))) (line (pt 0 128)(pt 16 128)(line_width 1)) ) (port (pt 0 144) (output) (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) (text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8))) (line (pt 0 144)(pt 16 144)(line_width 1)) ) (drawing (rectangle (rect 16 16 80 208)(line_width 1)) ) (flipy) ) (connector (pt 848 376) (pt 840 376) ) (connector (pt 832 360) (pt 848 360) ) (connector (pt 824 344) (pt 848 344) ) (connector (pt 816 328) (pt 848 328) ) (connector (pt 808 312) (pt 848 312) ) (connector (pt 800 296) (pt 848 296) ) (connector (pt 792 280) (pt 848 280) ) (connector (pt 784 264) (pt 848 264) ) (connector (pt 944 264) (pt 968 264) ) (connector (pt 944 280) (pt 968 280) ) (connector (pt 944 296) (pt 968 296) ) (connector (pt 944 312) (pt 968 312) ) (connector (pt 944 328) (pt 968 328) ) (connector (pt 944 344) (pt 968 344) ) (connector (pt 944 360) (pt 968 360) ) (connector (pt 944 376) (pt 968 376) ) (connector (pt 944 392) (pt 1000 392) ) (connector (pt 1000 392) (pt 1000 264) ) (connector (pt 952 1152) (pt 968 1152) ) (connector (pt 944 696) (pt 968 696) ) (connector (pt 952 1136) (pt 976 1136) ) (connector (pt 944 680) (pt 976 680) ) (connector (pt 952 1120) (pt 984 1120) ) (connector (pt 944 664) (pt 984 664) ) (connector (pt 952 1104) (pt 992 1104) ) (connector (pt 944 648) (pt 992 648) ) (connector (pt 952 1088) (pt 1000 1088) ) (connector (pt 944 632) (pt 1000 632) ) (connector (pt 952 1072) (pt 1008 1072) ) (connector (pt 944 616) (pt 1008 616) ) (connector (pt 952 1056) (pt 1016 1056) ) (connector (pt 944 600) (pt 1016 600) ) (connector (pt 952 1040) (pt 1024 1040) ) (connector (pt 944 584) (pt 1024 584) ) (connector (pt 856 992) (pt 840 992) ) (connector (pt 840 992) (pt 840 800) ) (connector (pt 856 1008) (pt 832 1008) ) (connector (pt 832 1008) (pt 832 816) ) (connector (pt 856 1024) (pt 824 1024) ) (connector (pt 824 1024) (pt 824 832) ) (connector (pt 856 1040) (pt 816 1040) ) (connector (pt 816 1040) (pt 816 848) ) (connector (pt 856 1056) (pt 808 1056) ) (connector (pt 808 1056) (pt 808 864) ) (connector (pt 856 1072) (pt 800 1072) ) (connector (pt 800 1072) (pt 800 880) ) (connector (pt 856 1088) (pt 792 1088) ) (connector (pt 792 1088) (pt 792 896) ) (connector (pt 856 1104) (pt 784 1104) ) (connector (pt 784 1104) (pt 784 912) ) (connector (pt 1088 552) (pt 944 552) ) (connector (pt 952 1008) (pt 1088 1008) ) (connector (pt 968 240) (pt 968 264) ) (connector (pt 968 264) (pt 968 280) ) (connector (pt 968 280) (pt 968 296) ) (connector (pt 968 296) (pt 968 312) ) (connector (pt 968 312) (pt 968 328) ) (connector (pt 968 328) (pt 968 344) ) (connector (pt 968 344) (pt 968 360) ) (connector (pt 968 360) (pt 968 376) ) (connector (pt 1024 584) (pt 1024 800) ) (connector (pt 1024 800) (pt 1024 1040) ) (connector (pt 624 800) (pt 840 800) ) (connector (pt 840 800) (pt 1024 800) ) (connector (pt 1016 600) (pt 1016 816) ) (connector (pt 1016 816) (pt 1016 1056) ) (connector (pt 624 816) (pt 832 816) ) (connector (pt 832 816) (pt 1016 816) ) (connector (pt 1008 616) (pt 1008 832) ) (connector (pt 1008 832) (pt 1008 1072) ) (connector (pt 624 832) (pt 824 832) ) (connector (pt 824 832) (pt 1008 832) ) (connector (pt 944 424) (pt 1088 424) ) (connector (pt 1088 424) (pt 1120 424) ) (connector (pt 1088 424) (pt 1088 552) ) (connector (pt 1088 552) (pt 1088 1008) ) (connector (pt 1000 632) (pt 1000 848) ) (connector (pt 1000 848) (pt 1000 1088) ) (connector (pt 624 848) (pt 816 848) ) (connector (pt 816 848) (pt 1000 848) ) (connector (pt 992 648) (pt 992 864) ) (connector (pt 992 864) (pt 992 1104) ) (connector (pt 624 864) (pt 808 864) ) (connector (pt 808 864) (pt 992 864) ) (connector (pt 984 664) (pt 984 880) ) (connector (pt 984 880) (pt 984 1120) ) (connector (pt 624 880) (pt 800 880) ) (connector (pt 800 880) (pt 984 880) ) (connector (pt 976 680) (pt 976 896) ) (connector (pt 976 896) (pt 976 1136) ) (connector (pt 624 896) (pt 792 896) ) (connector (pt 792 896) (pt 976 896) ) (connector (pt 968 696) (pt 968 912) ) (connector (pt 968 912) (pt 968 1152) ) (connector (pt 624 912) (pt 784 912) ) (connector (pt 784 912) (pt 968 912) ) (connector (pt 32 288) (pt -48 288) ) (connector (pt 32 304) (pt -48 304) ) (connector (pt 832 360) (pt 832 520) ) (connector (pt 824 344) (pt 824 504) ) (connector (pt 816 328) (pt 816 488) ) (connector (pt 808 312) (pt 808 472) ) (connector (pt 800 296) (pt 800 456) ) (connector (pt 792 280) (pt 792 440) ) (connector (pt 784 264) (pt 784 424) ) (connector (pt 840 376) (pt 840 536) ) (connector (pt 656 536) (pt 840 536) ) (connector (pt 656 520) (pt 832 520) ) (connector (pt 656 504) (pt 824 504) ) (connector (pt 656 488) (pt 816 488) ) (connector (pt 656 472) (pt 808 472) ) (connector (pt 656 456) (pt 800 456) ) (connector (pt 656 440) (pt 792 440) ) (connector (pt 656 424) (pt 784 424) ) (connector (pt 656 664) (pt 848 664) ) (connector (pt 656 648) (pt 848 648) ) (connector (pt 656 632) (pt 848 632) ) (connector (pt 656 616) (pt 848 616) ) (connector (pt 656 600) (pt 848 600) ) (connector (pt 656 584) (pt 848 584) ) (connector (pt 656 568) (pt 848 568) ) (connector (pt 656 552) (pt 848 552) ) (connector (pt 504 536) (pt 560 536) ) (connector (pt 504 520) (pt 560 520) ) (connector (pt 504 504) (pt 560 504) ) (connector (pt 504 488) (pt 560 488) ) (connector (pt 504 472) (pt 560 472) ) (connector (pt 504 456) (pt 560 456) ) (connector (pt 504 440) (pt 560 440) ) (connector (pt 504 424) (pt 560 424) ) (connector (pt 32 272) (pt -32 272) ) (connector (pt 32 320) (pt -16 320) ) (connector (pt -16 320) (pt -16 400) ) (connector (pt -48 400) (pt -16 400) ) (connector (pt 944 408) (pt 1016 408) ) (connector (pt 1016 408) (pt 1016 192) ) (connector (pt 1016 192) (pt 256 192) ) (connector (pt -32 272) (pt -32 720) ) (connector (pt -32 720) (pt -48 720) ) (connector (pt 128 272) (pt 144 272) ) (connector (pt 144 272) (pt 144 448) ) (connector (pt 144 448) (pt 144 496) ) (connector (pt 144 496) (pt 144 544) ) (connector (pt -48 432) (pt 160 432) ) (connector (pt 144 448) (pt 160 448) ) (connector (pt -48 480) (pt 160 480) ) (connector (pt 144 496) (pt 160 496) ) (connector (pt -48 528) (pt 160 528) ) (connector (pt 144 544) (pt 160 544) ) (connector (pt 224 440) (pt 256 440) ) (connector (pt 256 192) (pt 256 440) ) (connector (pt 224 488) (pt 272 488) ) (connector (pt 272 488) (pt 272 368) ) (connector (pt 272 368) (pt 728 368) ) (connector (pt 728 368) (pt 728 496) ) (connector (pt 728 496) (pt 960 496) ) (connector (pt 960 496) (pt 960 568) ) (connector (pt 960 568) (pt 944 568) ) (connector (pt 224 536) (pt 272 536) ) (connector (pt 272 536) (pt 272 1200) ) (connector (pt 952 1024) (pt 1032 1024) ) (connector (pt 1032 1024) (pt 1032 1200) ) (connector (pt 1032 1200) (pt 272 1200) ) (connector (pt -48 560) (pt 320 560) ) (connector (pt 320 944) (pt 960 944) ) (connector (pt 320 560) (pt 320 944) ) (connector (pt 960 944) (pt 960 992) ) (connector (pt 960 992) (pt 952 992) ) (connector (pt -48 592) (pt 544 592) ) (connector (pt 544 592) (pt 544 760) ) (connector (pt 544 760) (pt 672 760) ) (connector (pt 672 760) (pt 672 680) ) (connector (pt 672 680) (pt 656 680) ) (connector (pt 656 696) (pt 688 696) ) (connector (pt 688 696) (pt 688 776) ) (connector (pt 688 776) (pt 528 776) ) (connector (pt -48 624) (pt 528 624) ) (connector (pt 528 776) (pt 528 624) ) (connector (pt -48 656) (pt -16 656) ) (connector (pt -48 688) (pt -16 688) ) (connector (pt 32 656) (pt 48 656) ) (connector (pt 32 688) (pt 48 688) ) (junction (pt 968 264)) (junction (pt 968 280)) (junction (pt 968 296)) (junction (pt 968 312)) (junction (pt 968 328)) (junction (pt 968 344)) (junction (pt 968 360)) (junction (pt 840 800)) (junction (pt 1024 800)) (junction (pt 832 816)) (junction (pt 1016 816)) (junction (pt 824 832)) (junction (pt 1008 832)) (junction (pt 816 848)) (junction (pt 808 864)) (junction (pt 800 880)) (junction (pt 792 896)) (junction (pt 784 912)) (junction (pt 1088 552)) (junction (pt 1088 424)) (junction (pt 1000 848)) (junction (pt 992 864)) (junction (pt 984 880)) (junction (pt 976 896)) (junction (pt 968 912)) (junction (pt 144 448)) (junction (pt 144 496))