/* 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. */ //#pragma file_not_in_maxplusii_format (header "graphic" (version "1.3")) (pin (input) (rect -16 16 152 32) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "SW[0..9]" (rect 5 0 48 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))) (annotation_block (location)(rect -88 0 -32 280)) ) (pin (input) (rect -16 80 152 96) (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) (text "KEY[0..3]" (rect 5 0 53 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))) (annotation_block (location)(rect -16 288 40 400)) ) (pin (output) (rect 424 72 600 88) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "LEDR[0..9]" (rect 90 0 145 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)) ) (annotation_block (location)(rect 600 88 656 368)) ) (pin (output) (rect 432 152 608 168) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "LEDG[0..7]" (rect 90 0 145 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)) ) (annotation_block (location)(rect 608 168 664 392)) ) (pin (output) (rect 424 200 600 216) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "HEX0[0..6]" (rect 90 0 143 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)) ) (annotation_block (location)(rect 600 216 648 376)) ) (pin (output) (rect 424 240 600 256) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "HEX1[0..6]" (rect 90 0 143 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)) ) (annotation_block (location)(rect 600 256 648 456)) ) (pin (output) (rect 424 272 600 288) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "HEX2[0..6]" (rect 90 0 143 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)) ) (annotation_block (location)(rect 600 288 648 488)) ) (pin (output) (rect 424 304 600 320) (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) (text "HEX3[0..6]" (rect 90 0 143 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)) ) (annotation_block (location)(rect 600 320 648 520)) ) (symbol (rect 200 176 344 272) (text "hex2_7seg" (rect 5 0 58 12)(font "Arial" )) (text "inst" (rect 8 80 25 92)(font "Arial" )) (port (pt 0 32) (input) (text "hex[3..0]" (rect 0 0 43 12)(font "Arial" )) (text "hex[3..0]" (rect 21 27 64 39)(font "Arial" )) (line (pt 0 32)(pt 16 32)(line_width 3)) ) (port (pt 144 32) (output) (text "leds[0..6]" (rect 0 0 46 12)(font "Arial" )) (text "leds[0..6]" (rect 77 27 123 39)(font "Arial" )) (line (pt 144 32)(pt 128 32)(line_width 3)) ) (drawing (rectangle (rect 16 16 128 80)(line_width 1)) ) ) (symbol (rect 56 176 176 272) (text "gray2hex" (rect 5 0 51 12)(font "Arial" )) (text "inst1" (rect 8 80 31 92)(font "Arial" )) (port (pt 0 32) (input) (text "g[3..0]" (rect 0 0 31 12)(font "Arial" )) (text "g[3..0]" (rect 21 27 52 39)(font "Arial" )) (line (pt 0 32)(pt 16 32)(line_width 3)) ) (port (pt 120 32) (output) (text "h[3..0]" (rect 0 0 31 12)(font "Arial" )) (text "h[3..0]" (rect 68 27 99 39)(font "Arial" )) (line (pt 120 32)(pt 104 32)(line_width 3)) ) (drawing (rectangle (rect 16 16 104 80)(line_width 1)) ) ) (connector (pt 152 24) (pt 184 24) (bus) ) (connector (pt 152 88) (pt 176 88) (bus) ) (connector (pt 424 80) (pt 400 80) (bus) ) (connector (pt 432 160) (pt 376 160) (bus) ) (connector (pt 424 248) (pt 376 248) (bus) ) (connector (pt 424 280) (pt 376 280) (bus) ) (connector (pt 424 312) (pt 376 312) (bus) ) (connector (pt 344 208) (pt 424 208) (bus) ) (connector (pt 200 208) (pt 176 208) (bus) ) (connector (text "SW[3..0]" (rect -15 184 28 196)(font "Arial" )) (pt 16 208) (pt 56 208) (bus) )