📄 miaobiao.bdf
字号:
/*
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-2005 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 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.3"))
(pin
(input)
(rect 0 40 168 56)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 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 56 -8 88))
)
(pin
(input)
(rect 0 56 168 72)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 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 72 -8 104))
)
(pin
(input)
(rect 0 72 168 88)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "set" (rect 5 0 20 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 88 -8 120))
)
(pin
(input)
(rect -24 120 144 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clkdsp" (rect 5 0 36 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 -96 136 -8 168))
)
(pin
(output)
(rect 656 256 832 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sel[2..0]" (rect 90 0 130 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 832 272 920 344))
)
(pin
(output)
(rect 864 160 1040 176)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led[6..0]" (rect 90 0 130 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 1040 176 1128 304))
)
(pin
(output)
(rect 688 40 864 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lamp[2..0]" (rect 90 0 139 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 760 -32 840 40))
)
(pin
(output)
(rect 688 72 864 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "daout[3..0]" (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 872 24 960 112))
)
(symbol
(rect 464 136 632 264)
(text "zhishi" (rect 5 0 32 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk1" (rect 0 0 20 12)(font "Arial" ))
(text "clk1" (rect 21 27 41 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "msec[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "msec[6..0]" (rect 21 59 74 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "sec[6..0]" (rect 0 0 43 12)(font "Arial" ))
(text "sec[6..0]" (rect 21 75 64 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "minute[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "minute[6..0]" (rect 21 91 80 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 168 32)
(output)
(text "daout[3..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[3..0]" (rect 94 27 147 39)(font "Arial" ))
(line (pt 168 32)(pt 152 32)(line_width 3))
)
(port
(pt 168 48)
(output)
(text "sel[2..0]" (rect 0 0 40 12)(font "Arial" ))
(text "sel[2..0]" (rect 107 43 147 55)(font "Arial" ))
(line (pt 168 48)(pt 152 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 152 112)(line_width 1))
)
)
(symbol
(rect 192 344 320 440)
(text "minute" (rect 5 0 38 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(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)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "daout[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[6..0]" (rect 54 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80)(line_width 1))
)
)
(symbol
(rect 472 16 624 112)
(text "alert" (rect 5 0 26 12)(font "Arial" ))
(text "inst4" (rect 8 80 31 92)(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)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "dain[6..0]" (rect 0 0 46 12)(font "Arial" ))
(text "dain[6..0]" (rect 21 43 67 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 152 32)
(output)
(text "lamp[2..0]" (rect 0 0 49 12)(font "Arial" ))
(text "lamp[2..0]" (rect 82 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
)
(symbol
(rect 672 136 816 232)
(text "deled" (rect 5 0 30 12)(font "Arial" ))
(text "inst5" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "num[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "num[3..0]" (rect 21 27 68 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 144 32)
(output)
(text "led[6..0]" (rect 0 0 40 12)(font "Arial" ))
(text "led[6..0]" (rect 83 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 200 16 352 112)
(text "msecond" (rect 5 0 49 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(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)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "setmsec" (rect 0 0 42 12)(font "Arial" ))
(text "setmsec" (rect 21 59 63 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "ensec" (rect 0 0 29 12)(font "Arial" ))
(text "ensec" (rect 102 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(port
(pt 152 48)
(output)
(text "daout[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[6..0]" (rect 78 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
)
(symbol
(rect 200 168 344 296)
(text "second" (rect 5 0 40 12)(font "Arial" ))
(text "inst2" (rect 8 112 31 124)(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)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk1" (rect 0 0 20 12)(font "Arial" ))
(text "clk1" (rect 21 43 41 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "setsec" (rect 0 0 33 12)(font "Arial" ))
(text "setsec" (rect 21 75 54 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "enmin" (rect 0 0 29 12)(font "Arial" ))
(text "enmin" (rect 94 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(port
(pt 144 48)
(output)
(text "daout[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[6..0]" (rect 70 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 112)(line_width 1))
)
)
(connector
(pt 376 328)
(pt 184 328)
)
(connector
(pt 376 200)
(pt 344 200)
)
(connector
(pt 376 328)
(pt 376 200)
)
(connector
(pt 424 200)
(pt 464 200)
(bus)
)
(connector
(pt 464 232)
(pt 424 232)
(bus)
)
(connector
(pt 424 8)
(pt 424 48)
)
(connector
(pt 424 8)
(pt 184 8)
)
(connector
(pt 440 64)
(pt 440 216)
(bus)
)
(connector
(pt 344 216)
(pt 440 216)
(bus)
)
(connector
(pt 440 216)
(pt 464 216)
(bus)
)
(connector
(pt 200 232)
(pt 176 232)
)
(connector
(pt 176 64)
(pt 176 232)
)
(connector
(pt 464 184)
(pt 456 184)
)
(connector
(pt 456 184)
(pt 456 448)
)
(connector
(pt 456 448)
(pt 176 448)
)
(connector
(pt 192 144)
(pt 192 200)
)
(connector
(pt 200 200)
(pt 192 200)
)
(connector
(pt 200 216)
(pt 184 216)
)
(connector
(pt 184 8)
(pt 184 48)
)
(connector
(pt 184 48)
(pt 184 216)
)
(connector
(pt 464 168)
(pt 456 168)
)
(connector
(pt 200 248)
(pt 168 248)
)
(connector
(pt 168 248)
(pt 168 80)
)
(connector
(pt 632 184)
(pt 656 184)
(bus)
)
(connector
(pt 656 184)
(pt 656 264)
(bus)
)
(connector
(pt 424 200)
(pt 424 64)
(bus)
)
(connector
(pt 168 80)
(pt 200 80)
)
(connector
(pt 168 48)
(pt 184 48)
)
(connector
(pt 184 48)
(pt 200 48)
)
(connector
(pt 168 64)
(pt 176 64)
)
(connector
(pt 176 64)
(pt 200 64)
)
(connector
(pt 192 144)
(pt 368 144)
)
(connector
(pt 352 64)
(pt 424 64)
(bus)
)
(connector
(pt 352 48)
(pt 368 48)
)
(connector
(pt 368 48)
(pt 368 144)
)
(connector
(pt 424 48)
(pt 472 48)
)
(connector
(pt 440 64)
(pt 472 64)
(bus)
)
(connector
(pt 144 128)
(pt 456 128)
)
(connector
(pt 456 128)
(pt 456 168)
)
(connector
(pt 184 328)
(pt 184 376)
)
(connector
(pt 184 376)
(pt 192 376)
)
(connector
(pt 424 232)
(pt 424 376)
(bus)
)
(connector
(pt 176 392)
(pt 192 392)
)
(connector
(pt 176 232)
(pt 176 392)
)
(connector
(pt 176 392)
(pt 176 448)
)
(connector
(pt 320 376)
(pt 424 376)
(bus)
)
(connector
(pt 632 168)
(pt 656 168)
(bus)
)
(connector
(pt 656 168)
(pt 672 168)
(bus)
)
(connector
(pt 656 80)
(pt 656 168)
(bus)
)
(connector
(pt 624 48)
(pt 688 48)
(bus)
)
(connector
(pt 688 80)
(pt 656 80)
(bus)
)
(connector
(pt 816 168)
(pt 864 168)
(bus)
)
(junction (pt 184 48))
(junction (pt 440 216))
(junction (pt 176 64))
(junction (pt 176 232))
(junction (pt 176 392))
(junction (pt 168 80))
(junction (pt 656 168))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -