📄 clkscan2.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 -8 24 160 40)
(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)))
)
(pin
(input)
(rect -8 256 160 272)
(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)))
)
(pin
(input)
(rect -8 352 160 368)
(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)))
)
(pin
(output)
(rect 568 24 744 40)
(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))
)
)
(pin
(output)
(rect 432 296 608 312)
(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))
)
)
(symbol
(rect 208 0 304 96)
(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 208 104 304 200)
(text "clkdiv1ms" (rect 5 0 55 12)(font "Arial" ))
(text "inst3" (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 384 0 528 96)
(text "clkscan" (rect 5 0 42 12)(font "Arial" ))
(text "inst6" (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 "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 43 43 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 144 32)
(output)
(text "scan_en[8..1]" (rect 0 0 67 12)(font "Arial" ))
(text "scan_en[8..1]" (rect 56 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(port
(pt 144 48)
(output)
(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[3..0]" (rect 76 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))
)
)
(symbol
(rect 392 144 544 240)
(text "p7segment" (rect 5 0 59 12)(font "Arial" ))
(text "inst7" (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 208 224 312 296)
(text "button" (rect 0 0 30 12)(font "Arial" ))
(text "inst2" (rect 0 56 23 68)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "clkin" (rect 0 -8 22 4)(font "Arial" ))
(text "clkin" (rect 21 19 43 31)(font "Arial" ))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "phn" (rect 0 -8 17 4)(font "Arial" ))
(text "phn" (rect 21 35 38 47)(font "Arial" ))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 104 24)
(output)
(text "signal" (rect -16 -8 12 4)(font "Arial" ))
(text "signal" (rect 56 16 84 28)(font "Arial" ))
(line (pt 104 24)(pt 88 24)(line_width 1))
)
(port
(pt 104 40)
(output)
(text "enable" (rect -16 -8 15 4)(font "Arial" ))
(text "enable" (rect 56 32 87 44)(font "Arial" ))
(line (pt 104 40)(pt 88 40)(line_width 1))
)
(drawing
(rectangle (rect 16 8 88 56)(line_width 1))
)
)
(symbol
(rect 208 320 312 392)
(text "button" (rect 0 0 30 12)(font "Arial" ))
(text "inst4" (rect 0 56 23 68)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "clkin" (rect 0 -8 22 4)(font "Arial" ))
(text "clkin" (rect 21 19 43 31)(font "Arial" ))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "phn" (rect 0 -8 17 4)(font "Arial" ))
(text "phn" (rect 21 35 38 47)(font "Arial" ))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 104 24)
(output)
(text "signal" (rect -16 -8 12 4)(font "Arial" ))
(text "signal" (rect 56 16 84 28)(font "Arial" ))
(line (pt 104 24)(pt 88 24)(line_width 1))
)
(port
(pt 104 40)
(output)
(text "enable" (rect -16 -8 15 4)(font "Arial" ))
(text "enable" (rect 56 32 87 44)(font "Arial" ))
(line (pt 104 40)(pt 88 40)(line_width 1))
)
(drawing
(rectangle (rect 16 8 88 56)(line_width 1))
)
)
(connector
(pt 176 32)
(pt 176 136)
)
(connector
(pt 160 32)
(pt 176 32)
)
(connector
(pt 176 32)
(pt 208 32)
)
(connector
(pt 176 136)
(pt 208 136)
)
(connector
(pt 304 136)
(pt 320 136)
)
(connector
(pt 320 136)
(pt 320 208)
)
(connector
(pt 320 208)
(pt 176 208)
)
(connector
(pt 176 248)
(pt 208 248)
)
(connector
(pt 176 208)
(pt 176 248)
)
(connector
(pt 176 248)
(pt 176 344)
)
(connector
(pt 176 344)
(pt 208 344)
)
(connector
(pt 160 264)
(pt 208 264)
)
(connector
(pt 160 360)
(pt 208 360)
)
(connector
(pt 336 248)
(pt 336 48)
)
(connector
(pt 336 48)
(pt 384 48)
)
(connector
(pt 384 64)
(pt 352 64)
)
(connector
(pt 352 64)
(pt 352 344)
)
(connector
(pt 304 32)
(pt 384 32)
)
(connector
(pt 528 32)
(pt 568 32)
(bus)
)
(connector
(pt 528 48)
(pt 552 48)
(bus)
)
(connector
(pt 552 48)
(pt 552 120)
(bus)
)
(connector
(pt 552 120)
(pt 368 120)
(bus)
)
(connector
(pt 368 120)
(pt 368 176)
(bus)
)
(connector
(pt 368 176)
(pt 392 176)
(bus)
)
(connector
(pt 544 176)
(pt 552 176)
(bus)
)
(connector
(pt 552 176)
(pt 552 272)
(bus)
)
(connector
(pt 368 272)
(pt 368 304)
(bus)
)
(connector
(pt 368 272)
(pt 552 272)
(bus)
)
(connector
(pt 336 248)
(pt 312 248)
)
(connector
(pt 352 344)
(pt 312 344)
)
(connector
(pt 432 304)
(pt 368 304)
(bus)
)
(junction (pt 176 32))
(junction (pt 176 248))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -