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.
1199 lines
26 KiB
1199 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 -272 176 -104 192) |
|
(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 -344 168 -288 184)) |
|
) |
|
(pin |
|
(input) |
|
(rect -272 192 -104 208) |
|
(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 -344 184 -288 200)) |
|
) |
|
(pin |
|
(input) |
|
(rect -272 208 -104 224) |
|
(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 -352 200 -288 216)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 128 640 144) |
|
(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 640 136 688 152)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 160 640 176) |
|
(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 640 168 688 184)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 192 640 208) |
|
(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 640 200 696 216)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 224 640 240) |
|
(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 640 232 696 248)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 256 640 272) |
|
(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 640 264 688 280)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 288 640 304) |
|
(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 640 296 688 312)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 320 640 336) |
|
(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 640 328 688 344)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 368 640 384) |
|
(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 1288 520 1336 536)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 400 640 416) |
|
(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 1288 552 1336 568)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 432 640 448) |
|
(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 1288 584 1344 600)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 464 640 480) |
|
(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 1288 616 1344 632)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 496 640 512) |
|
(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 1288 648 1336 664)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 528 640 544) |
|
(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 1288 680 1336 696)) |
|
) |
|
(pin |
|
(output) |
|
(rect 464 560 640 576) |
|
(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 1288 712 1336 728)) |
|
) |
|
(symbol |
|
(rect 416 120 464 152) |
|
(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 416 152 464 184) |
|
(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 416 184 464 216) |
|
(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 416 216 464 248) |
|
(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 416 248 464 280) |
|
(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 416 280 464 312) |
|
(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 416 312 464 344) |
|
(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 200 144 328 320) |
|
(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 -64 -24 80 56) |
|
(text "sec_cnt" (rect 5 0 43 12)(font "Arial" )) |
|
(text "inst9" (rect 8 64 31 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 -16 144 144 256) |
|
(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 -24 384 136 496) |
|
(text "dec_count" (rect 5 0 55 12)(font "Arial" )) |
|
(text "inst10" (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 416 360 464 392) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst11" (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 416 392 464 424) |
|
(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 416 424 464 456) |
|
(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 416 456 464 488) |
|
(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 416 488 464 520) |
|
(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 416 520 464 552) |
|
(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 416 552 464 584) |
|
(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 200 384 328 560) |
|
(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 416 136) |
|
(pt 352 136) |
|
) |
|
(connector |
|
(pt 416 168) |
|
(pt 384 168) |
|
) |
|
(connector |
|
(pt 416 200) |
|
(pt 384 200) |
|
) |
|
(connector |
|
(pt 416 232) |
|
(pt 376 232) |
|
) |
|
(connector |
|
(pt 416 264) |
|
(pt 368 264) |
|
) |
|
(connector |
|
(pt 416 296) |
|
(pt 360 296) |
|
) |
|
(connector |
|
(pt 352 136) |
|
(pt 352 176) |
|
) |
|
(connector |
|
(pt 384 168) |
|
(pt 384 192) |
|
) |
|
(connector |
|
(pt 384 200) |
|
(pt 384 208) |
|
) |
|
(connector |
|
(pt 376 232) |
|
(pt 376 224) |
|
) |
|
(connector |
|
(pt 368 264) |
|
(pt 368 240) |
|
) |
|
(connector |
|
(pt 360 296) |
|
(pt 360 256) |
|
) |
|
(connector |
|
(pt 416 328) |
|
(pt 328 328) |
|
) |
|
(connector |
|
(pt 328 328) |
|
(pt 328 272) |
|
) |
|
(connector |
|
(pt 328 176) |
|
(pt 352 176) |
|
) |
|
(connector |
|
(pt 328 192) |
|
(pt 384 192) |
|
) |
|
(connector |
|
(pt 328 208) |
|
(pt 384 208) |
|
) |
|
(connector |
|
(pt 328 224) |
|
(pt 376 224) |
|
) |
|
(connector |
|
(pt 328 240) |
|
(pt 368 240) |
|
) |
|
(connector |
|
(pt 328 256) |
|
(pt 360 256) |
|
) |
|
(connector |
|
(pt 144 176) |
|
(pt 200 176) |
|
(bus) |
|
) |
|
(connector |
|
(pt 144 192) |
|
(pt 152 192) |
|
) |
|
(connector |
|
(pt -16 176) |
|
(pt -16 168) |
|
) |
|
(connector |
|
(pt -24 192) |
|
(pt -24 184) |
|
) |
|
(connector |
|
(pt -16 192) |
|
(pt -24 192) |
|
) |
|
(connector |
|
(pt -24 208) |
|
(pt -24 200) |
|
) |
|
(connector |
|
(pt -16 208) |
|
(pt -24 208) |
|
) |
|
(connector |
|
(pt -24 224) |
|
(pt -24 216) |
|
) |
|
(connector |
|
(pt -16 224) |
|
(pt -24 224) |
|
) |
|
(connector |
|
(pt -24 216) |
|
(pt -104 216) |
|
) |
|
(connector |
|
(pt 88 104) |
|
(pt -56 104) |
|
) |
|
(connector |
|
(pt -56 104) |
|
(pt -56 168) |
|
) |
|
(connector |
|
(pt -56 168) |
|
(pt -16 168) |
|
) |
|
(connector |
|
(pt -80 8) |
|
(pt -64 8) |
|
) |
|
(connector |
|
(pt 88 8) |
|
(pt 80 8) |
|
) |
|
(connector |
|
(pt 88 104) |
|
(pt 88 8) |
|
) |
|
(connector |
|
(pt -104 200) |
|
(pt -80 200) |
|
) |
|
(connector |
|
(pt -80 200) |
|
(pt -24 200) |
|
) |
|
(connector |
|
(pt 416 376) |
|
(pt 352 376) |
|
) |
|
(connector |
|
(pt 416 536) |
|
(pt 360 536) |
|
) |
|
(connector |
|
(pt 352 376) |
|
(pt 352 416) |
|
) |
|
(connector |
|
(pt 384 408) |
|
(pt 384 432) |
|
) |
|
(connector |
|
(pt 384 440) |
|
(pt 384 448) |
|
) |
|
(connector |
|
(pt 376 472) |
|
(pt 376 464) |
|
) |
|
(connector |
|
(pt 368 504) |
|
(pt 368 480) |
|
) |
|
(connector |
|
(pt 360 536) |
|
(pt 360 496) |
|
) |
|
(connector |
|
(pt 416 568) |
|
(pt 328 568) |
|
) |
|
(connector |
|
(pt 328 568) |
|
(pt 328 512) |
|
) |
|
(connector |
|
(pt 384 408) |
|
(pt 416 408) |
|
) |
|
(connector |
|
(pt 384 440) |
|
(pt 416 440) |
|
) |
|
(connector |
|
(pt 376 472) |
|
(pt 416 472) |
|
) |
|
(connector |
|
(pt 368 504) |
|
(pt 416 504) |
|
) |
|
(connector |
|
(pt 328 416) |
|
(pt 352 416) |
|
) |
|
(connector |
|
(pt 328 432) |
|
(pt 384 432) |
|
) |
|
(connector |
|
(pt 328 448) |
|
(pt 384 448) |
|
) |
|
(connector |
|
(pt 328 464) |
|
(pt 376 464) |
|
) |
|
(connector |
|
(pt 328 480) |
|
(pt 368 480) |
|
) |
|
(connector |
|
(pt 328 496) |
|
(pt 360 496) |
|
) |
|
(connector |
|
(pt 136 416) |
|
(pt 200 416) |
|
(bus) |
|
) |
|
(connector |
|
(pt -80 448) |
|
(pt -24 448) |
|
) |
|
(connector |
|
(pt -80 8) |
|
(pt -80 200) |
|
) |
|
(connector |
|
(pt -80 200) |
|
(pt -80 448) |
|
) |
|
(connector |
|
(pt -104 216) |
|
(pt -104 464) |
|
) |
|
(connector |
|
(pt -104 464) |
|
(pt -24 464) |
|
) |
|
(connector |
|
(pt -24 432) |
|
(pt -64 432) |
|
) |
|
(connector |
|
(pt -64 432) |
|
(pt -64 184) |
|
) |
|
(connector |
|
(pt -24 184) |
|
(pt -64 184) |
|
) |
|
(connector |
|
(pt -64 184) |
|
(pt -104 184) |
|
) |
|
(connector |
|
(pt 152 328) |
|
(pt 152 192) |
|
) |
|
(connector |
|
(pt 152 328) |
|
(pt -24 328) |
|
) |
|
(connector |
|
(pt -24 328) |
|
(pt -24 416) |
|
) |
|
(junction (pt -80 200)) |
|
(junction (pt -104 216)) |
|
(junction (pt -64 184))
|
|
|