/* 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-2010 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 "graphic" (version "1.4")) (pin (input) (rect 64 128 232 144) (text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) (text "W" (rect 61 1 72 15)(font "Arial" (font_size 8))) (pt 168 8) (drawing (line (pt 92 12)(pt 117 12)) (line (pt 92 4)(pt 117 4)) (line (pt 121 8)(pt 168 8)) (line (pt 92 12)(pt 92 4)) (line (pt 117 4)(pt 121 8)) (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) ) (pin (input) (rect 72 336 240 352) (text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) (text "X" (rect 64 1 72 15)(font "Arial" (font_size 8))) (pt 168 8) (drawing (line (pt 92 12)(pt 117 12)) (line (pt 92 4)(pt 117 4)) (line (pt 121 8)(pt 168 8)) (line (pt 92 12)(pt 92 4)) (line (pt 117 4)(pt 121 8)) (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) ) (pin (input) (rect 80 504 248 520) (text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6))) (text "Y" (rect 63 1 72 15)(font "Arial" (font_size 8))) (pt 168 8) (drawing (line (pt 92 12)(pt 117 12)) (line (pt 92 4)(pt 117 4)) (line (pt 121 8)(pt 168 8)) (line (pt 92 12)(pt 92 4)) (line (pt 117 4)(pt 121 8)) (line (pt 117 12)(pt 121 8)) ) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) ) (pin (output) (rect 728 336 904 352) (text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6))) (text "Z" (rect 90 0 98 14)(font "Arial" (font_size 8))) (pt 0 8) (drawing (line (pt 0 8)(pt 52 8)) (line (pt 52 4)(pt 78 4)) (line (pt 52 12)(pt 78 12)) (line (pt 52 12)(pt 52 4)) (line (pt 78 4)(pt 82 8)) (line (pt 82 8)(pt 78 12)) (line (pt 78 12)(pt 82 8)) ) ) (symbol (rect 464 120 528 168) (text "AND3" (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 16 16)) ) (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)) ) (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)) ) (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)) ) (drawing (line (pt 16 12)(pt 31 12)) (line (pt 16 37)(pt 31 37)) (line (pt 16 12)(pt 16 37)) (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)) ) ) (symbol (rect 472 320 536 368) (text "AND3" (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 16 16)) ) (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)) ) (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)) ) (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)) ) (drawing (line (pt 16 12)(pt 31 12)) (line (pt 16 37)(pt 31 37)) (line (pt 16 12)(pt 16 37)) (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)) ) ) (symbol (rect 512 520 576 568) (text "AND3" (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 16 16)) ) (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)) ) (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)) ) (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)) ) (drawing (line (pt 16 12)(pt 31 12)) (line (pt 16 37)(pt 31 37)) (line (pt 16 12)(pt 16 37)) (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)) ) ) (symbol (rect 648 320 712 368) (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)) ) (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)) ) (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)) ) (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)) ) (drawing (line (pt 14 13)(pt 25 13)) (line (pt 14 36)(pt 25 36)) (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)) (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)) (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)) ) ) (symbol (rect 280 328 328 360) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) (text "inst4" (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)) ) (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)) ) (drawing (line (pt 13 25)(pt 13 7)) (line (pt 13 7)(pt 31 16)) (line (pt 13 25)(pt 31 16)) (circle (rect 31 12 39 20)) ) ) (symbol (rect 288 120 336 152) (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)) ) (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)) ) (drawing (line (pt 13 25)(pt 13 7)) (line (pt 13 7)(pt 31 16)) (line (pt 13 25)(pt 31 16)) (circle (rect 31 12 39 20)) ) ) (symbol (rect 288 496 336 528) (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)) ) (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)) ) (drawing (line (pt 13 25)(pt 13 7)) (line (pt 13 7)(pt 31 16)) (line (pt 13 25)(pt 31 16)) (circle (rect 31 12 39 20)) ) ) (connector (pt 336 136) (pt 464 136) ) (connector (pt 360 144) (pt 464 144) ) (connector (pt 240 344) (pt 264 344) ) (connector (pt 264 344) (pt 280 344) ) (connector (pt 336 512) (pt 392 512) ) (connector (pt 392 152) (pt 464 152) ) (connector (pt 328 344) (pt 472 344) ) (connector (pt 272 200) (pt 440 200) ) (connector (pt 232 136) (pt 272 136) ) (connector (pt 272 136) (pt 288 136) ) (connector (pt 392 352) (pt 472 352) ) (connector (pt 440 536) (pt 512 536) ) (connector (pt 440 336) (pt 472 336) ) (connector (pt 360 544) (pt 512 544) ) (connector (pt 264 296) (pt 360 296) ) (connector (pt 272 552) (pt 512 552) ) (connector (pt 248 512) (pt 272 512) ) (connector (pt 272 512) (pt 288 512) ) (connector (pt 528 144) (pt 608 144) ) (connector (pt 576 544) (pt 608 544) ) (connector (pt 264 344) (pt 264 296) ) (connector (pt 272 200) (pt 272 136) ) (connector (pt 392 512) (pt 392 352) ) (connector (pt 392 352) (pt 392 152) ) (connector (pt 440 536) (pt 440 336) ) (connector (pt 440 336) (pt 440 200) ) (connector (pt 360 544) (pt 360 296) ) (connector (pt 360 296) (pt 360 144) ) (connector (pt 272 552) (pt 272 512) ) (connector (pt 608 352) (pt 608 544) ) (connector (pt 608 144) (pt 608 336) ) (connector (pt 608 336) (pt 648 336) ) (connector (pt 712 344) (pt 728 344) ) (connector (pt 536 344) (pt 648 344) ) (connector (pt 608 352) (pt 648 352) ) (junction (pt 264 344)) (junction (pt 272 136)) (junction (pt 392 352)) (junction (pt 440 336)) (junction (pt 360 296)) (junction (pt 272 512))