/* 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-2004 Altera Corporation Any megafunction design, and related netlist (encrypted or decrypted), support information, device programming or simulation file, and any other associated documentation or information provided by Altera or a partner under Altera's Megafunction Partnership Program may be used only to program PLD devices (but not masked PLD devices) from Altera. Any other use of such megafunction design, netlist, support information, device programming or simulation file, or any other related documentation or information is prohibited for any other purpose, including, but not limited to modification, reverse engineering, de-compiling, or use with any other silicon devices, unless such use is explicitly licensed under a separate agreement with Altera or a megafunction partner. Title to the intellectual property, including patents, copyrights, trademarks, trade secrets, or maskworks, embodied in any such megafunction design, netlist, support information, device programming or simulation file, or any other related documentation or information provided by Altera or a megafunction partner, remains with Altera, the megafunction partner, or their respective licensors. No other licenses, including any licenses needed under any third party's intellectual property, are provided herein. */ (header "graphic" (version "1.3")) (pin (input) (rect 24 48 192 64) (text "INPUT" (rect 133 0 161 9)(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 153 17)(font "Arial" (font_size 6))) ) (pin (input) (rect 24 112 192 128) (text "INPUT" (rect 133 0 161 9)(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 153 17)(font "Arial" (font_size 6))) ) (pin (input) (rect 32 232 200 248) (text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6))) (text "C" (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 153 17)(font "Arial" (font_size 6))) ) (pin (output) (rect 576 224 752 240) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "ALU_B" (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 576 280 752 296) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "PC_B" (rect 90 0 118 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 576 56 752 72) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "R0_B" (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 576 112 752 128) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "R1_B" (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 576 168 752 184) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "R2_B" (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)) ) ) (symbol (rect 232 8 280 40) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst14" (rect 3 21 32 33)(font "Arial" )) (port (pt 0 16) (input) (text "IN" (rect 2 7 12 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 47 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 216 72 264 104) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst15" (rect 3 21 32 33)(font "Arial" )) (port (pt 0 16) (input) (text "IN" (rect 2 7 12 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 47 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 240 200 288 232) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst16" (rect 3 21 32 33)(font "Arial" )) (port (pt 0 16) (input) (text "IN" (rect 2 7 12 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 47 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 488 40 552 88) (text "NAND3" (rect 1 0 28 9)(font "Arial" (font_size 6))) (text "inst" (rect 3 37 20 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 17 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 17 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 17 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 63 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (line (pt 52 24)(pt 64 24)(line_width 1)) ) (drawing (line (pt 16 37)(pt 32 37)(line_width 1)) (line (pt 16 12)(pt 32 12)(line_width 1)) (line (pt 16 36)(pt 16 12)(line_width 1)) (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)(line_width 1)) (circle (rect 44 20 52 28)(line_width 1)) ) ) (symbol (rect 488 96 552 144) (text "NAND3" (rect 1 0 28 9)(font "Arial" (font_size 6))) (text "inst1" (rect 3 37 26 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 17 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 17 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 17 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 63 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (line (pt 52 24)(pt 64 24)(line_width 1)) ) (drawing (line (pt 16 37)(pt 32 37)(line_width 1)) (line (pt 16 12)(pt 32 12)(line_width 1)) (line (pt 16 36)(pt 16 12)(line_width 1)) (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)(line_width 1)) (circle (rect 44 20 52 28)(line_width 1)) ) ) (symbol (rect 488 152 552 200) (text "NAND3" (rect 1 0 28 9)(font "Arial" (font_size 6))) (text "inst2" (rect 3 37 26 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 17 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 17 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 17 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 63 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (line (pt 52 24)(pt 64 24)(line_width 1)) ) (drawing (line (pt 16 37)(pt 32 37)(line_width 1)) (line (pt 16 12)(pt 32 12)(line_width 1)) (line (pt 16 36)(pt 16 12)(line_width 1)) (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)(line_width 1)) (circle (rect 44 20 52 28)(line_width 1)) ) ) (symbol (rect 488 208 552 256) (text "NAND3" (rect 1 0 28 9)(font "Arial" (font_size 6))) (text "inst3" (rect 3 37 26 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 17 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 17 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 17 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 63 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (line (pt 52 24)(pt 64 24)(line_width 1)) ) (drawing (line (pt 16 37)(pt 32 37)(line_width 1)) (line (pt 16 12)(pt 32 12)(line_width 1)) (line (pt 16 36)(pt 16 12)(line_width 1)) (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)(line_width 1)) (circle (rect 44 20 52 28)(line_width 1)) ) ) (symbol (rect 488 264 552 312) (text "NAND3" (rect 1 0 28 9)(font "Arial" (font_size 6))) (text "inst4" (rect 3 37 26 49)(font "Arial" )) (port (pt 0 16) (input) (text "IN1" (rect 2 7 17 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 17 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 17 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 63 27)(font "Courier New" (bold))(invisible)) (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) (line (pt 52 24)(pt 64 24)(line_width 1)) ) (drawing (line (pt 16 37)(pt 32 37)(line_width 1)) (line (pt 16 12)(pt 32 12)(line_width 1)) (line (pt 16 36)(pt 16 12)(line_width 1)) (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)(line_width 1)) (circle (rect 44 20 52 28)(line_width 1)) ) ) (connector (pt 216 240) (pt 216 216) ) (connector (pt 240 216) (pt 216 216) ) (connector (pt 216 56) (pt 216 24) ) (connector (pt 232 24) (pt 216 24) ) (connector (pt 264 88) (pt 312 88) ) (connector (pt 312 64) (pt 488 64) ) (connector (pt 328 72) (pt 488 72) ) (connector (pt 328 216) (pt 288 216) ) (connector (pt 448 24) (pt 280 24) ) (connector (pt 448 112) (pt 488 112) ) (connector (pt 216 88) (pt 216 120) ) (connector (pt 328 128) (pt 488 128) ) (connector (pt 392 168) (pt 488 168) ) (connector (pt 360 176) (pt 488 176) ) (connector (pt 328 184) (pt 488 184) ) (connector (pt 328 72) (pt 328 128) ) (connector (pt 328 128) (pt 328 184) ) (connector (pt 328 184) (pt 328 216) ) (connector (pt 192 56) (pt 216 56) ) (connector (pt 216 56) (pt 392 56) ) (connector (pt 392 56) (pt 488 56) ) (connector (pt 192 120) (pt 216 120) ) (connector (pt 216 120) (pt 360 120) ) (connector (pt 360 120) (pt 488 120) ) (connector (pt 200 240) (pt 216 240) ) (connector (pt 392 224) (pt 488 224) ) (connector (pt 312 232) (pt 488 232) ) (connector (pt 392 56) (pt 392 168) ) (connector (pt 392 168) (pt 392 224) ) (connector (pt 312 64) (pt 312 88) ) (connector (pt 312 88) (pt 312 232) ) (connector (pt 448 280) (pt 488 280) ) (connector (pt 360 288) (pt 488 288) ) (connector (pt 256 296) (pt 488 296) ) (connector (pt 256 240) (pt 256 296) ) (connector (pt 360 120) (pt 360 176) ) (connector (pt 360 176) (pt 360 288) ) (connector (pt 448 24) (pt 448 112) ) (connector (pt 448 112) (pt 448 280) ) (connector (pt 216 240) (pt 256 240) ) (connector (pt 256 240) (pt 488 240) ) (connector (pt 552 64) (pt 576 64) ) (connector (pt 552 120) (pt 576 120) ) (connector (pt 552 176) (pt 576 176) ) (connector (pt 552 232) (pt 576 232) ) (connector (pt 552 288) (pt 576 288) ) (junction (pt 216 56)) (junction (pt 216 120)) (junction (pt 328 128)) (junction (pt 328 184)) (junction (pt 392 168)) (junction (pt 392 56)) (junction (pt 312 88)) (junction (pt 216 240)) (junction (pt 448 112)) (junction (pt 360 176)) (junction (pt 360 120)) (junction (pt 256 240))