?? clkscan3.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 16 16 184 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 -72 32 16 64))
)
(pin
(input)
(rect 16 256 184 272)
(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 -80 272 8 304))
)
(pin
(input)
(rect 16 352 184 368)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "start" (rect 5 0 27 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 -80 368 8 400))
)
(pin
(output)
(rect 536 392 712 408)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "out[7..0]" (rect 90 0 131 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 712 408 800 536))
)
(pin
(output)
(rect 728 40 904 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "scan_en[8..1]" (rect 90 0 157 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 904 56 992 184))
)
(symbol
(rect 200 -8 296 88)
(text "clkdiv" (rect 5 0 34 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clkin" (rect 0 0 22 12)(font "Arial" ))
(text "clkin" (rect 21 27 43 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "clkout" (rect 0 0 29 12)(font "Arial" ))
(text "clkout" (rect 46 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 200 104 296 200)
(text "clkdiv1ms" (rect 5 0 55 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clkin" (rect 0 0 22 12)(font "Arial" ))
(text "clkin" (rect 21 27 43 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "clkout" (rect 0 0 29 12)(font "Arial" ))
(text "clkout" (rect 46 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 352 48 480 176)
(text "timer" (rect 5 0 29 12)(font "Arial" ))
(text "inst6" (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 "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 "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 59 43 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "sec[7..0]" (rect 0 0 43 12)(font "Arial" ))
(text "sec[7..0]" (rect 64 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(port
(pt 128 48)
(output)
(text "min[7..0]" (rect 0 0 43 12)(font "Arial" ))
(text "min[7..0]" (rect 64 43 107 55)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 3))
)
(port
(pt 128 64)
(output)
(text "hour[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "hour[7..0]" (rect 60 59 107 71)(font "Arial" ))
(line (pt 128 64)(pt 112 64)(line_width 3))
)
(port
(pt 128 80)
(output)
(text "day" (rect 0 0 18 12)(font "Arial" ))
(text "day" (rect 89 75 107 87)(font "Arial" ))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 112)(line_width 1))
)
)
(symbol
(rect 512 16 696 144)
(text "clkscan" (rect 5 0 42 12)(font "Arial" ))
(text "inst7" (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 "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 "second[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "second[7..0]" (rect 21 59 82 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "minute[7..0]" (rect 0 0 59 12)(font "Arial" ))
(text "minute[7..0]" (rect 21 75 80 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "hour[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "hour[7..0]" (rect 21 91 68 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "scan_en[8..1]" (rect 0 0 67 12)(font "Arial" ))
(text "scan_en[8..1]" (rect 96 27 163 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(port
(pt 184 48)
(output)
(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[3..0]" (rect 116 43 163 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 112)(line_width 1))
)
)
(symbol
(rect 536 192 688 288)
(text "p7segment" (rect 5 0 59 12)(font "Arial" ))
(text "inst8" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "datain[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "datain[3..0]" (rect 21 27 76 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 152 32)
(output)
(text "out[7..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[7..0]" (rect 90 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 224 312 336 408)
(text "button" (rect 5 0 35 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 "phn" (rect 0 0 17 12)(font "Arial" ))
(text "phn" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "cnt[6..0]" (rect 0 0 41 12)(font "Arial" ))
(text "cnt[6..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "signal" (rect 0 0 28 12)(font "Arial" ))
(text "signal" (rect 63 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(port
(pt 112 64)
(output)
(text "enable" (rect 0 0 31 12)(font "Arial" ))
(text "enable" (rect 60 59 91 71)(font "Arial" ))
(line (pt 112 64)(pt 96 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 216 216 328 312)
(text "button" (rect 5 0 35 12)(font "Arial" ))
(text "inst9" (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 "phn" (rect 0 0 17 12)(font "Arial" ))
(text "phn" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "cnt[6..0]" (rect 0 0 41 12)(font "Arial" ))
(text "cnt[6..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "signal" (rect 0 0 28 12)(font "Arial" ))
(text "signal" (rect 63 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(port
(pt 112 64)
(output)
(text "enable" (rect 0 0 31 12)(font "Arial" ))
(text "enable" (rect 60 59 91 71)(font "Arial" ))
(line (pt 112 64)(pt 96 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(connector
(pt 184 24)
(pt 200 24)
)
(connector
(pt 184 24)
(pt 184 136)
)
(connector
(pt 184 136)
(pt 200 136)
)
(connector
(pt 296 136)
(pt 312 136)
)
(connector
(pt 312 208)
(pt 200 208)
)
(connector
(pt 200 248)
(pt 216 248)
)
(connector
(pt 184 264)
(pt 216 264)
)
(connector
(pt 200 208)
(pt 200 248)
)
(connector
(pt 200 248)
(pt 200 344)
)
(connector
(pt 344 112)
(pt 352 112)
)
(connector
(pt 480 80)
(pt 512 80)
(bus)
)
(connector
(pt 480 96)
(pt 512 96)
(bus)
)
(connector
(pt 480 112)
(pt 512 112)
(bus)
)
(connector
(pt 496 64)
(pt 512 64)
)
(connector
(pt 296 24)
(pt 328 24)
)
(connector
(pt 328 24)
(pt 328 80)
)
(connector
(pt 328 80)
(pt 352 80)
)
(connector
(pt 312 0)
(pt 312 136)
)
(connector
(pt 312 136)
(pt 312 208)
)
(connector
(pt 312 0)
(pt 496 0)
)
(connector
(pt 496 0)
(pt 496 48)
)
(connector
(pt 496 48)
(pt 512 48)
)
(connector
(pt 512 168)
(pt 512 224)
(bus)
)
(connector
(pt 512 224)
(pt 536 224)
(bus)
)
(connector
(pt 688 224)
(pt 712 224)
(bus)
)
(connector
(pt 712 224)
(pt 712 312)
(bus)
)
(connector
(pt 712 312)
(pt 512 312)
(bus)
)
(connector
(pt 696 48)
(pt 728 48)
(bus)
)
(connector
(pt 728 168)
(pt 728 64)
(bus)
)
(connector
(pt 512 168)
(pt 728 168)
(bus)
)
(connector
(pt 696 64)
(pt 728 64)
(bus)
)
(connector
(pt 512 400)
(pt 536 400)
(bus)
)
(connector
(pt 512 312)
(pt 512 400)
(bus)
)
(connector
(pt 344 360)
(pt 344 112)
)
(connector
(pt 344 360)
(pt 336 360)
)
(connector
(pt 336 96)
(pt 352 96)
)
(connector
(pt 336 264)
(pt 336 96)
)
(connector
(pt 328 264)
(pt 336 264)
)
(connector
(pt 336 264)
(pt 496 264)
)
(connector
(pt 496 64)
(pt 496 264)
)
(connector
(pt 224 344)
(pt 200 344)
)
(connector
(pt 224 360)
(pt 184 360)
)
(junction (pt 184 24))
(junction (pt 200 248))
(junction (pt 312 136))
(junction (pt 336 264))
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -