/* 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 104 80 272 96) (text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6))) (text "D[1]" (rect 5 0 26 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 104 96 272 112) (text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6))) (text "D[0]" (rect 5 0 26 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 568 88 744 104) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "Y[3]" (rect 90 0 111 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 568 152 744 168) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "Y[2]" (rect 90 0 111 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 560 240 736 256) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "Y[1]" (rect 90 0 111 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 560 304 736 320) (text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6))) (text "Y[0]" (rect 90 0 111 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 400 72 464 120) (text "AND2" (rect 1 0 22 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 14 16)(line_width 1)) ) (port (pt 0 32) (input) (text "IN2" (rect 2 23 17 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 63 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 400 136 464 184) (text "AND2" (rect 1 0 22 9)(font "Arial" (font_size 6))) (text "inst6" (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 14 16)(line_width 1)) ) (port (pt 0 32) (input) (text "IN2" (rect 2 23 17 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 63 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 400 224 464 272) (text "AND2" (rect 1 0 22 9)(font "Arial" (font_size 6))) (text "inst7" (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 14 16)(line_width 1)) ) (port (pt 0 32) (input) (text "IN2" (rect 2 23 17 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 63 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 392 288 456 336) (text "AND2" (rect 1 0 22 9)(font "Arial" (font_size 6))) (text "inst8" (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 14 16)(line_width 1)) ) (port (pt 0 32) (input) (text "IN2" (rect 2 23 17 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 63 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 320 32 368 64) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst9" (rect 3 21 26 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 312 152 360 184) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst10" (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 496 296 544 328) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst1" (rect 3 21 26 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 496 232 544 264) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst2" (rect 3 21 26 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 144 536 176) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst3" (rect 3 21 26 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 496 80 544 112) (text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6))) (text "inst4" (rect 3 21 26 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)) ) ) (connector (pt 296 168) (pt 312 168) ) (connector (pt 320 48) (pt 288 48) ) (connector (pt 288 88) (pt 288 48) ) (connector (pt 272 88) (pt 288 88) ) (connector (pt 368 48) (pt 376 48) ) (connector (pt 376 304) (pt 392 304) ) (connector (pt 392 320) (pt 368 320) ) (connector (pt 368 320) (pt 368 168) ) (connector (pt 360 168) (pt 368 168) ) (connector (pt 368 168) (pt 400 168) ) (connector (pt 272 104) (pt 296 104) ) (connector (pt 296 104) (pt 400 104) ) (connector (pt 400 152) (pt 384 152) ) (connector (pt 384 88) (pt 384 152) ) (connector (pt 288 88) (pt 384 88) ) (connector (pt 384 88) (pt 400 88) ) (connector (pt 376 48) (pt 376 240) ) (connector (pt 376 240) (pt 376 304) ) (connector (pt 296 104) (pt 296 168) ) (connector (pt 296 168) (pt 296 256) ) (connector (pt 376 240) (pt 400 240) ) (connector (pt 296 256) (pt 400 256) ) (connector (pt 456 312) (pt 496 312) ) (connector (pt 544 312) (pt 560 312) ) (connector (pt 464 248) (pt 496 248) ) (connector (pt 544 248) (pt 560 248) ) (connector (pt 464 160) (pt 488 160) ) (connector (pt 536 160) (pt 568 160) ) (connector (pt 464 96) (pt 496 96) ) (connector (pt 544 96) (pt 568 96) ) (junction (pt 296 168)) (junction (pt 288 88)) (junction (pt 376 240)) (junction (pt 368 168)) (junction (pt 296 104)) (junction (pt 384 88))