You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1195 lines
26 KiB
1195 lines
26 KiB
/* |
|
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-2013 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 -88 216 80 232) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "ent" (rect 5 0 20 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
(annotation_block (location)(rect -160 208 -104 224)) |
|
) |
|
(pin |
|
(input) |
|
(rect -88 232 80 248) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "clk" (rect 5 0 19 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
(annotation_block (location)(rect -160 224 -104 240)) |
|
) |
|
(pin |
|
(input) |
|
(rect -88 248 80 264) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "clear" (rect 5 0 28 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
(annotation_block (location)(rect -168 240 -104 256)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 168 824 184) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_A" (rect 90 0 147 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)) |
|
) |
|
(annotation_block (location)(rect 824 176 872 192)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 200 824 216) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_B" (rect 90 0 146 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)) |
|
) |
|
(annotation_block (location)(rect 824 208 872 224)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 232 824 248) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_C" (rect 90 0 147 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)) |
|
) |
|
(annotation_block (location)(rect 824 240 880 256)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 264 824 280) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_D" (rect 90 0 147 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)) |
|
) |
|
(annotation_block (location)(rect 824 272 880 288)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 296 824 312) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_E" (rect 90 0 146 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)) |
|
) |
|
(annotation_block (location)(rect 824 304 872 320)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 328 824 344) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_F" (rect 90 0 146 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)) |
|
) |
|
(annotation_block (location)(rect 824 336 872 352)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 360 824 376) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_G" (rect 90 0 147 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)) |
|
) |
|
(annotation_block (location)(rect 824 368 872 384)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 408 824 424) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_A1" (rect 90 0 152 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)) |
|
) |
|
(annotation_block (location)(rect 1472 560 1520 576)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 440 824 456) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_B2" (rect 90 0 152 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)) |
|
) |
|
(annotation_block (location)(rect 1472 592 1520 608)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 472 824 488) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_C3" (rect 90 0 153 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)) |
|
) |
|
(annotation_block (location)(rect 1472 624 1528 640)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 504 824 520) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_D4" (rect 90 0 153 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)) |
|
) |
|
(annotation_block (location)(rect 1472 656 1528 672)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 536 824 552) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_E5" (rect 90 0 152 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)) |
|
) |
|
(annotation_block (location)(rect 1472 688 1520 704)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 568 824 584) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_F6" (rect 90 0 152 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)) |
|
) |
|
(annotation_block (location)(rect 1472 720 1520 736)) |
|
) |
|
(pin |
|
(output) |
|
(rect 648 600 824 616) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_G7" (rect 90 0 153 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)) |
|
) |
|
(annotation_block (location)(rect 1472 752 1520 768)) |
|
) |
|
(symbol |
|
(rect 600 160 648 192) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst" (rect 3 21 20 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 600 192 648 224) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst1" (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 600 224 648 256) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst2" (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 600 256 648 288) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst3" (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 600 288 648 320) |
|
(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 600 320 648 352) |
|
(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 600 352 648 384) |
|
(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)) |
|
) |
|
) |
|
(symbol |
|
(rect 384 184 512 360) |
|
(text "7segment" (rect 5 0 53 12)(font "Arial" )) |
|
(text "inst_" (rect 8 160 31 172)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "i[3..0]" (rect 0 0 28 12)(font "Arial" )) |
|
(text "i[3..0]" (rect 21 27 49 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)(line_width 3)) |
|
) |
|
(port |
|
(pt 128 32) |
|
(output) |
|
(text "a" (rect 0 0 5 12)(font "Arial" )) |
|
(text "a" (rect 103 27 108 39)(font "Arial" )) |
|
(line (pt 128 32)(pt 112 32)) |
|
) |
|
(port |
|
(pt 128 48) |
|
(output) |
|
(text "b" (rect 0 0 5 12)(font "Arial" )) |
|
(text "b" (rect 103 43 108 55)(font "Arial" )) |
|
(line (pt 128 48)(pt 112 48)) |
|
) |
|
(port |
|
(pt 128 64) |
|
(output) |
|
(text "c" (rect 0 0 5 12)(font "Arial" )) |
|
(text "c" (rect 103 59 108 71)(font "Arial" )) |
|
(line (pt 128 64)(pt 112 64)) |
|
) |
|
(port |
|
(pt 128 80) |
|
(output) |
|
(text "d" (rect 0 0 5 12)(font "Arial" )) |
|
(text "d" (rect 103 75 108 87)(font "Arial" )) |
|
(line (pt 128 80)(pt 112 80)) |
|
) |
|
(port |
|
(pt 128 96) |
|
(output) |
|
(text "e" (rect 0 0 5 12)(font "Arial" )) |
|
(text "e" (rect 103 91 108 103)(font "Arial" )) |
|
(line (pt 128 96)(pt 112 96)) |
|
) |
|
(port |
|
(pt 128 112) |
|
(output) |
|
(text "f" (rect 0 0 4 12)(font "Arial" )) |
|
(text "f" (rect 104 107 108 119)(font "Arial" )) |
|
(line (pt 128 112)(pt 112 112)) |
|
) |
|
(port |
|
(pt 128 128) |
|
(output) |
|
(text "g" (rect 0 0 5 12)(font "Arial" )) |
|
(text "g" (rect 103 123 108 135)(font "Arial" )) |
|
(line (pt 128 128)(pt 112 128)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 112 160)) |
|
) |
|
) |
|
(symbol |
|
(rect 120 16 264 96) |
|
(text "sec_cnt" (rect 5 0 43 12)(font "Arial" )) |
|
(text "inst10" (rect 8 64 37 76)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "clk" (rect 0 0 14 12)(font "Arial" )) |
|
(text "clk" (rect 21 27 35 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 144 32) |
|
(output) |
|
(text "second" (rect 0 0 35 12)(font "Arial" )) |
|
(text "second" (rect 94 27 129 39)(font "Arial" )) |
|
(line (pt 144 32)(pt 128 32)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 128 64)) |
|
) |
|
) |
|
(symbol |
|
(rect 168 184 328 296) |
|
(text "dec_count" (rect 5 0 55 12)(font "Arial" )) |
|
(text "inst8" (rect 8 96 31 108)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "enc" (rect 0 0 17 12)(font "Arial" )) |
|
(text "enc" (rect 21 27 38 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 0 48) |
|
(input) |
|
(text "ent" (rect 0 0 15 12)(font "Arial" )) |
|
(text "ent" (rect 21 43 36 55)(font "Arial" )) |
|
(line (pt 0 48)(pt 16 48)) |
|
) |
|
(port |
|
(pt 0 64) |
|
(input) |
|
(text "clk" (rect 0 0 14 12)(font "Arial" )) |
|
(text "clk" (rect 21 59 35 71)(font "Arial" )) |
|
(line (pt 0 64)(pt 16 64)) |
|
) |
|
(port |
|
(pt 0 80) |
|
(input) |
|
(text "clear" (rect 0 0 23 12)(font "Arial" )) |
|
(text "clear" (rect 21 75 44 87)(font "Arial" )) |
|
(line (pt 0 80)(pt 16 80)) |
|
) |
|
(port |
|
(pt 160 32) |
|
(output) |
|
(text "value[3..0]" (rect 0 0 53 12)(font "Arial" )) |
|
(text "value[3..0]" (rect 95 27 148 39)(font "Arial" )) |
|
(line (pt 160 32)(pt 144 32)(line_width 3)) |
|
) |
|
(port |
|
(pt 160 48) |
|
(output) |
|
(text "rco" (rect 0 0 15 12)(font "Arial" )) |
|
(text "rco" (rect 127 43 142 55)(font "Arial" )) |
|
(line (pt 160 48)(pt 144 48)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 144 96)) |
|
) |
|
) |
|
(symbol |
|
(rect 160 424 320 536) |
|
(text "dec_count" (rect 5 0 55 12)(font "Arial" )) |
|
(text "inst11" (rect 8 96 37 108)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "enc" (rect 0 0 17 12)(font "Arial" )) |
|
(text "enc" (rect 21 27 38 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 0 48) |
|
(input) |
|
(text "ent" (rect 0 0 15 12)(font "Arial" )) |
|
(text "ent" (rect 21 43 36 55)(font "Arial" )) |
|
(line (pt 0 48)(pt 16 48)) |
|
) |
|
(port |
|
(pt 0 64) |
|
(input) |
|
(text "clk" (rect 0 0 14 12)(font "Arial" )) |
|
(text "clk" (rect 21 59 35 71)(font "Arial" )) |
|
(line (pt 0 64)(pt 16 64)) |
|
) |
|
(port |
|
(pt 0 80) |
|
(input) |
|
(text "clear" (rect 0 0 23 12)(font "Arial" )) |
|
(text "clear" (rect 21 75 44 87)(font "Arial" )) |
|
(line (pt 0 80)(pt 16 80)) |
|
) |
|
(port |
|
(pt 160 32) |
|
(output) |
|
(text "value[3..0]" (rect 0 0 53 12)(font "Arial" )) |
|
(text "value[3..0]" (rect 95 27 148 39)(font "Arial" )) |
|
(line (pt 160 32)(pt 144 32)(line_width 3)) |
|
) |
|
(port |
|
(pt 160 48) |
|
(output) |
|
(text "rco" (rect 0 0 15 12)(font "Arial" )) |
|
(text "rco" (rect 127 43 142 55)(font "Arial" )) |
|
(line (pt 160 48)(pt 144 48)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 144 96)) |
|
) |
|
) |
|
(symbol |
|
(rect 600 400 648 432) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst12" (rect 3 21 32 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 600 432 648 464) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst7" (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 600 464 648 496) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst13" (rect 3 21 32 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 600 496 648 528) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst14" (rect 3 21 32 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 600 528 648 560) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst15" (rect 3 21 32 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 600 560 648 592) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst16" (rect 3 21 32 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 600 592 648 624) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst17" (rect 3 21 32 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 384 424 512 600) |
|
(text "7segment" (rect 5 0 53 12)(font "Arial" )) |
|
(text "inst_12" (rect 8 160 43 172)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "i[3..0]" (rect 0 0 28 12)(font "Arial" )) |
|
(text "i[3..0]" (rect 21 27 49 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)(line_width 3)) |
|
) |
|
(port |
|
(pt 128 32) |
|
(output) |
|
(text "a" (rect 0 0 5 12)(font "Arial" )) |
|
(text "a" (rect 103 27 108 39)(font "Arial" )) |
|
(line (pt 128 32)(pt 112 32)) |
|
) |
|
(port |
|
(pt 128 48) |
|
(output) |
|
(text "b" (rect 0 0 5 12)(font "Arial" )) |
|
(text "b" (rect 103 43 108 55)(font "Arial" )) |
|
(line (pt 128 48)(pt 112 48)) |
|
) |
|
(port |
|
(pt 128 64) |
|
(output) |
|
(text "c" (rect 0 0 5 12)(font "Arial" )) |
|
(text "c" (rect 103 59 108 71)(font "Arial" )) |
|
(line (pt 128 64)(pt 112 64)) |
|
) |
|
(port |
|
(pt 128 80) |
|
(output) |
|
(text "d" (rect 0 0 5 12)(font "Arial" )) |
|
(text "d" (rect 103 75 108 87)(font "Arial" )) |
|
(line (pt 128 80)(pt 112 80)) |
|
) |
|
(port |
|
(pt 128 96) |
|
(output) |
|
(text "e" (rect 0 0 5 12)(font "Arial" )) |
|
(text "e" (rect 103 91 108 103)(font "Arial" )) |
|
(line (pt 128 96)(pt 112 96)) |
|
) |
|
(port |
|
(pt 128 112) |
|
(output) |
|
(text "f" (rect 0 0 4 12)(font "Arial" )) |
|
(text "f" (rect 104 107 108 119)(font "Arial" )) |
|
(line (pt 128 112)(pt 112 112)) |
|
) |
|
(port |
|
(pt 128 128) |
|
(output) |
|
(text "g" (rect 0 0 5 12)(font "Arial" )) |
|
(text "g" (rect 103 123 108 135)(font "Arial" )) |
|
(line (pt 128 128)(pt 112 128)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 112 160)) |
|
) |
|
) |
|
(connector |
|
(pt 600 176) |
|
(pt 536 176) |
|
) |
|
(connector |
|
(pt 600 208) |
|
(pt 568 208) |
|
) |
|
(connector |
|
(pt 600 240) |
|
(pt 568 240) |
|
) |
|
(connector |
|
(pt 600 272) |
|
(pt 560 272) |
|
) |
|
(connector |
|
(pt 600 304) |
|
(pt 552 304) |
|
) |
|
(connector |
|
(pt 600 336) |
|
(pt 544 336) |
|
) |
|
(connector |
|
(pt 536 176) |
|
(pt 536 216) |
|
) |
|
(connector |
|
(pt 568 208) |
|
(pt 568 232) |
|
) |
|
(connector |
|
(pt 568 240) |
|
(pt 568 248) |
|
) |
|
(connector |
|
(pt 560 272) |
|
(pt 560 264) |
|
) |
|
(connector |
|
(pt 552 304) |
|
(pt 552 280) |
|
) |
|
(connector |
|
(pt 544 336) |
|
(pt 544 296) |
|
) |
|
(connector |
|
(pt 600 368) |
|
(pt 512 368) |
|
) |
|
(connector |
|
(pt 512 368) |
|
(pt 512 312) |
|
) |
|
(connector |
|
(pt 512 216) |
|
(pt 536 216) |
|
) |
|
(connector |
|
(pt 512 232) |
|
(pt 568 232) |
|
) |
|
(connector |
|
(pt 512 248) |
|
(pt 568 248) |
|
) |
|
(connector |
|
(pt 512 264) |
|
(pt 560 264) |
|
) |
|
(connector |
|
(pt 512 280) |
|
(pt 552 280) |
|
) |
|
(connector |
|
(pt 512 296) |
|
(pt 544 296) |
|
) |
|
(connector |
|
(pt 328 232) |
|
(pt 336 232) |
|
) |
|
(connector |
|
(pt 168 216) |
|
(pt 168 208) |
|
) |
|
(connector |
|
(pt 160 232) |
|
(pt 160 224) |
|
) |
|
(connector |
|
(pt 168 232) |
|
(pt 160 232) |
|
) |
|
(connector |
|
(pt 160 248) |
|
(pt 160 240) |
|
) |
|
(connector |
|
(pt 168 248) |
|
(pt 160 248) |
|
) |
|
(connector |
|
(pt 160 264) |
|
(pt 160 256) |
|
) |
|
(connector |
|
(pt 168 264) |
|
(pt 160 264) |
|
) |
|
(connector |
|
(pt 160 256) |
|
(pt 80 256) |
|
) |
|
(connector |
|
(pt 272 144) |
|
(pt 128 144) |
|
) |
|
(connector |
|
(pt 128 208) |
|
(pt 168 208) |
|
) |
|
(connector |
|
(pt 104 48) |
|
(pt 120 48) |
|
) |
|
(connector |
|
(pt 272 48) |
|
(pt 264 48) |
|
) |
|
(connector |
|
(pt 272 144) |
|
(pt 272 48) |
|
) |
|
(connector |
|
(pt 600 416) |
|
(pt 536 416) |
|
) |
|
(connector |
|
(pt 600 576) |
|
(pt 544 576) |
|
) |
|
(connector |
|
(pt 536 416) |
|
(pt 536 456) |
|
) |
|
(connector |
|
(pt 568 448) |
|
(pt 568 472) |
|
) |
|
(connector |
|
(pt 568 480) |
|
(pt 568 488) |
|
) |
|
(connector |
|
(pt 560 512) |
|
(pt 560 504) |
|
) |
|
(connector |
|
(pt 552 544) |
|
(pt 552 520) |
|
) |
|
(connector |
|
(pt 544 576) |
|
(pt 544 536) |
|
) |
|
(connector |
|
(pt 600 608) |
|
(pt 512 608) |
|
) |
|
(connector |
|
(pt 512 608) |
|
(pt 512 552) |
|
) |
|
(connector |
|
(pt 568 448) |
|
(pt 600 448) |
|
) |
|
(connector |
|
(pt 568 480) |
|
(pt 600 480) |
|
) |
|
(connector |
|
(pt 560 512) |
|
(pt 600 512) |
|
) |
|
(connector |
|
(pt 552 544) |
|
(pt 600 544) |
|
) |
|
(connector |
|
(pt 512 456) |
|
(pt 536 456) |
|
) |
|
(connector |
|
(pt 512 472) |
|
(pt 568 472) |
|
) |
|
(connector |
|
(pt 512 488) |
|
(pt 568 488) |
|
) |
|
(connector |
|
(pt 512 504) |
|
(pt 560 504) |
|
) |
|
(connector |
|
(pt 512 520) |
|
(pt 552 520) |
|
) |
|
(connector |
|
(pt 512 536) |
|
(pt 544 536) |
|
) |
|
(connector |
|
(pt 320 456) |
|
(pt 384 456) |
|
(bus) |
|
) |
|
(connector |
|
(pt 104 488) |
|
(pt 160 488) |
|
) |
|
(connector |
|
(pt 80 256) |
|
(pt 80 504) |
|
) |
|
(connector |
|
(pt 80 504) |
|
(pt 160 504) |
|
) |
|
(connector |
|
(pt 336 368) |
|
(pt 336 232) |
|
) |
|
(connector |
|
(pt 336 368) |
|
(pt 160 368) |
|
) |
|
(connector |
|
(pt 160 368) |
|
(pt 160 456) |
|
) |
|
(connector |
|
(pt 80 240) |
|
(pt 104 240) |
|
) |
|
(connector |
|
(pt 104 240) |
|
(pt 160 240) |
|
) |
|
(connector |
|
(pt 104 48) |
|
(pt 104 240) |
|
) |
|
(connector |
|
(pt 104 240) |
|
(pt 104 488) |
|
) |
|
(connector |
|
(pt 328 216) |
|
(pt 384 216) |
|
(bus) |
|
) |
|
(connector |
|
(pt 80 224) |
|
(pt 160 224) |
|
) |
|
(connector |
|
(pt 128 472) |
|
(pt 160 472) |
|
) |
|
(connector |
|
(pt 128 144) |
|
(pt 128 208) |
|
) |
|
(connector |
|
(pt 128 208) |
|
(pt 128 472) |
|
) |
|
(junction (pt 104 240)) |
|
(junction (pt 80 256)) |
|
(junction (pt 128 208))
|
|
|