/* 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 8 232 176 248) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "X3" (rect 5 0 16 12)(font "Arial" )) (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 8 248 176 264) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "Y3" (rect 5 0 19 12)(font "Arial" )) (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 8 312 176 328) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "X2" (rect 5 0 16 12)(font "Arial" )) (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 8 328 176 344) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "Y2" (rect 5 0 19 12)(font "Arial" )) (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 8 392 176 408) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "X1" (rect 5 0 16 12)(font "Arial" )) (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 8 408 176 424) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "Y1" (rect 5 0 19 12)(font "Arial" )) (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 8 472 176 488) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "X0" (rect 5 0 16 12)(font "Arial" )) (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 8 488 176 504) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "Y0" (rect 5 0 19 12)(font "Arial" )) (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 8 504 176 520) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "Ci" (rect 5 0 15 12)(font "Arial" )) (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 712 232 888 248) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "S3" (rect 90 0 102 12)(font "Arial" )) (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)) ) ) (pin (output) (rect 712 248 888 264) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "Co" (rect 90 0 104 12)(font "Arial" )) (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)) ) ) (pin (output) (rect 712 184 888 200) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "S2" (rect 90 0 102 12)(font "Arial" )) (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)) ) ) (pin (output) (rect 712 168 888 184) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "S1" (rect 90 0 102 12)(font "Arial" )) (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)) ) ) (pin (output) (rect 712 152 888 168) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "S0" (rect 90 0 102 12)(font "Arial" )) (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 584 208 680 304) (text "full_adder" (rect 5 0 61 14)(font "Arial" (font_size 8))) (text "inst" (rect 8 80 25 92)(font "Arial" )) (port (pt 0 32) (input) (text "X" (rect 0 0 8 14)(font "Arial" (font_size 8))) (text "X" (rect 21 27 29 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)) ) (port (pt 0 48) (input) (text "Y" (rect 0 0 9 14)(font "Arial" (font_size 8))) (text "Y" (rect 21 43 30 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)) ) (port (pt 0 64) (input) (text "Ci" (rect 0 0 10 14)(font "Arial" (font_size 8))) (text "Ci" (rect 21 59 31 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)) ) (port (pt 96 32) (output) (text "SUM" (rect 0 0 25 14)(font "Arial" (font_size 8))) (text "SUM" (rect 56 24 81 38)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)) ) (port (pt 96 48) (output) (text "Co" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "Co" (rect 64 40 79 54)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)) ) (drawing (rectangle (rect 16 16 80 80)) ) ) (symbol (rect 448 288 544 384) (text "full_adder" (rect 5 0 61 14)(font "Arial" (font_size 8))) (text "inst6" (rect 8 80 31 92)(font "Arial" )) (port (pt 0 32) (input) (text "X" (rect 0 0 8 14)(font "Arial" (font_size 8))) (text "X" (rect 21 27 29 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)) ) (port (pt 0 48) (input) (text "Y" (rect 0 0 9 14)(font "Arial" (font_size 8))) (text "Y" (rect 21 43 30 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)) ) (port (pt 0 64) (input) (text "Ci" (rect 0 0 10 14)(font "Arial" (font_size 8))) (text "Ci" (rect 21 59 31 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)) ) (port (pt 96 32) (output) (text "SUM" (rect 0 0 25 14)(font "Arial" (font_size 8))) (text "SUM" (rect 56 24 81 38)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)) ) (port (pt 96 48) (output) (text "Co" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "Co" (rect 64 40 79 54)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)) ) (drawing (rectangle (rect 16 16 80 80)) ) ) (symbol (rect 320 368 416 464) (text "full_adder" (rect 5 0 61 14)(font "Arial" (font_size 8))) (text "inst7" (rect 8 80 31 92)(font "Arial" )) (port (pt 0 32) (input) (text "X" (rect 0 0 8 14)(font "Arial" (font_size 8))) (text "X" (rect 21 27 29 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)) ) (port (pt 0 48) (input) (text "Y" (rect 0 0 9 14)(font "Arial" (font_size 8))) (text "Y" (rect 21 43 30 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)) ) (port (pt 0 64) (input) (text "Ci" (rect 0 0 10 14)(font "Arial" (font_size 8))) (text "Ci" (rect 21 59 31 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)) ) (port (pt 96 32) (output) (text "SUM" (rect 0 0 25 14)(font "Arial" (font_size 8))) (text "SUM" (rect 56 24 81 38)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)) ) (port (pt 96 48) (output) (text "Co" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "Co" (rect 64 40 79 54)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)) ) (drawing (rectangle (rect 16 16 80 80)) ) ) (symbol (rect 192 448 288 544) (text "full_adder" (rect 5 0 61 14)(font "Arial" (font_size 8))) (text "inst8" (rect 8 80 31 92)(font "Arial" )) (port (pt 0 32) (input) (text "X" (rect 0 0 8 14)(font "Arial" (font_size 8))) (text "X" (rect 21 27 29 41)(font "Arial" (font_size 8))) (line (pt 0 32)(pt 16 32)) ) (port (pt 0 48) (input) (text "Y" (rect 0 0 9 14)(font "Arial" (font_size 8))) (text "Y" (rect 21 43 30 57)(font "Arial" (font_size 8))) (line (pt 0 48)(pt 16 48)) ) (port (pt 0 64) (input) (text "Ci" (rect 0 0 10 14)(font "Arial" (font_size 8))) (text "Ci" (rect 21 59 31 73)(font "Arial" (font_size 8))) (line (pt 0 64)(pt 16 64)) ) (port (pt 96 32) (output) (text "SUM" (rect 0 0 25 14)(font "Arial" (font_size 8))) (text "SUM" (rect 56 24 81 38)(font "Arial" (font_size 8))) (line (pt 96 32)(pt 80 32)) ) (port (pt 96 48) (output) (text "Co" (rect 0 0 15 14)(font "Arial" (font_size 8))) (text "Co" (rect 64 40 79 54)(font "Arial" (font_size 8))) (line (pt 96 48)(pt 80 48)) ) (drawing (rectangle (rect 16 16 80 80)) ) ) (connector (pt 176 480) (pt 192 480) ) (connector (pt 176 496) (pt 192 496) ) (connector (pt 176 512) (pt 192 512) ) (connector (pt 288 480) (pt 296 480) ) (connector (pt 288 496) (pt 312 496) ) (connector (pt 176 400) (pt 320 400) ) (connector (pt 176 416) (pt 320 416) ) (connector (pt 312 432) (pt 320 432) ) (connector (pt 312 496) (pt 312 432) ) (connector (pt 416 416) (pt 440 416) ) (connector (pt 416 400) (pt 424 400) ) (connector (pt 176 320) (pt 448 320) ) (connector (pt 176 336) (pt 448 336) ) (connector (pt 440 352) (pt 448 352) ) (connector (pt 440 416) (pt 440 352) ) (connector (pt 544 320) (pt 552 320) ) (connector (pt 544 336) (pt 576 336) ) (connector (pt 176 240) (pt 584 240) ) (connector (pt 176 256) (pt 584 256) ) (connector (pt 576 272) (pt 584 272) ) (connector (pt 576 336) (pt 576 272) ) (connector (pt 680 240) (pt 712 240) ) (connector (pt 680 256) (pt 712 256) ) (connector (pt 424 400) (pt 424 176) ) (connector (pt 424 176) (pt 712 176) ) (connector (pt 552 320) (pt 552 192) ) (connector (pt 552 192) (pt 712 192) ) (connector (pt 296 480) (pt 296 160) ) (connector (pt 296 160) (pt 712 160) )