miba.bdf
来自「VHDL语言设计的秒表」· BDF 代码 · 共 546 行
BDF
546 行
/*
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 32 160 200 176)
(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 -56 176 24 208))
)
(pin
(input)
(rect 32 144 200 160)
(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 -56 160 24 192))
)
(pin
(input)
(rect -104 16 64 32)
(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 -192 32 -112 64))
)
(pin
(output)
(rect 880 256 1056 272)
(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 1056 272 1144 400))
)
(pin
(output)
(rect 704 376 880 392)
(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 880 392 968 464))
)
(symbol
(rect 224 104 376 200)
(text "msecond" (rect 5 0 49 12)(font "Arial" ))
(text "inst" (rect 8 80 25 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[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[7..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 224 440 368 536)
(text "minute" (rect 5 0 38 12)(font "Arial" ))
(text "inst2" (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 "setmin" (rect 0 0 33 12)(font "Arial" ))
(text "setmin" (rect 21 59 54 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "daout[6..0]" (rect 0 0 53 12)(font "Arial" ))
(text "daout[6..0]" (rect 70 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 712 232 856 328)
(text "deled" (rect 5 0 30 12)(font "Arial" ))
(text "inst3" (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 512 232 680 360)
(text "zhishi" (rect 5 0 32 12)(font "Arial" ))
(text "inst4" (rect 8 112 31 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[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "msec[7..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 104 -8 200 88)
(text "fenpin" (rect 5 0 35 12)(font "Arial" ))
(text "inst10" (rect 8 80 37 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 96 32)
(output)
(text "newclk" (rect 0 0 33 12)(font "Arial" ))
(text "newclk" (rect 42 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 224 280 368 376)
(text "second" (rect 5 0 40 12)(font "Arial" ))
(text "inst5" (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 "setsec" (rect 0 0 33 12)(font "Arial" ))
(text "setsec" (rect 21 59 54 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(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 80)(line_width 1))
)
)
(connector
(pt 376 136)
(pt 392 136)
)
(connector
(pt 392 256)
(pt 392 136)
)
(connector
(pt 480 152)
(pt 376 152)
(bus)
)
(connector
(pt 368 472)
(pt 480 472)
(bus)
)
(connector
(pt 224 328)
(pt 216 328)
)
(connector
(pt 224 488)
(pt 216 488)
)
(connector
(pt 184 256)
(pt 392 256)
)
(connector
(pt 208 344)
(pt 224 344)
)
(connector
(pt 184 472)
(pt 224 472)
)
(connector
(pt 184 472)
(pt 184 432)
)
(connector
(pt 184 432)
(pt 392 432)
)
(connector
(pt 224 504)
(pt 208 504)
)
(connector
(pt 504 544)
(pt 216 544)
)
(connector
(pt 480 152)
(pt 480 296)
(bus)
)
(connector
(pt 480 296)
(pt 512 296)
(bus)
)
(connector
(pt 480 472)
(pt 480 328)
(bus)
)
(connector
(pt 480 328)
(pt 512 328)
(bus)
)
(connector
(pt 504 280)
(pt 512 280)
)
(connector
(pt 504 544)
(pt 504 280)
)
(connector
(pt 680 264)
(pt 712 264)
(bus)
)
(connector
(pt 688 280)
(pt 680 280)
(bus)
)
(connector
(pt 688 280)
(pt 688 384)
(bus)
)
(connector
(pt 856 264)
(pt 880 264)
(bus)
)
(connector
(pt 688 384)
(pt 704 384)
(bus)
)
(connector
(pt 496 264)
(pt 512 264)
)
(connector
(pt 200 152)
(pt 216 152)
)
(connector
(pt 216 152)
(pt 224 152)
)
(connector
(pt 200 168)
(pt 208 168)
)
(connector
(pt 208 168)
(pt 224 168)
)
(connector
(pt 208 168)
(pt 208 344)
)
(connector
(pt 208 344)
(pt 208 504)
)
(connector
(pt 216 152)
(pt 216 328)
)
(connector
(pt 216 328)
(pt 216 488)
)
(connector
(pt 216 488)
(pt 216 544)
)
(connector
(pt 200 24)
(pt 208 24)
)
(connector
(pt 208 24)
(pt 208 136)
)
(connector
(pt 208 136)
(pt 224 136)
)
(connector
(pt 496 -24)
(pt 496 264)
)
(connector
(pt 496 -24)
(pt 88 -24)
)
(connector
(pt 88 -24)
(pt 88 24)
)
(connector
(pt 104 24)
(pt 88 24)
)
(connector
(pt 88 24)
(pt 64 24)
)
(connector
(pt 392 312)
(pt 392 432)
)
(connector
(pt 392 312)
(pt 368 312)
)
(connector
(pt 368 328)
(pt 440 328)
(bus)
)
(connector
(pt 440 328)
(pt 440 312)
(bus)
)
(connector
(pt 440 312)
(pt 512 312)
(bus)
)
(connector
(pt 184 256)
(pt 184 312)
)
(connector
(pt 184 312)
(pt 224 312)
)
(junction (pt 216 328))
(junction (pt 216 152))
(junction (pt 208 344))
(junction (pt 208 168))
(junction (pt 216 488))
(junction (pt 88 24))
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?