📄 guangshanchi.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 64 104 232 120)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A" (rect 9 0 16 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 64 136 232 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "B" (rect 9 0 16 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 64 120 232 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 9 0 30 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 64 40 232 56)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "SCLR" (rect 9 0 38 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 64 296 232 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "OutSel[1]" (rect 9 0 55 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 64 312 232 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "OutSel[0]" (rect 9 0 55 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 1008 104 1184 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Cnt8b[7..0]" (rect 90 0 145 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 848 208 1024 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "cnt[23..0]" (rect 90 0 137 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 328 80 440 240)
(text "SubDir" (rect 5 0 42 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "A" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "A" (rect 21 27 30 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "B" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "B" (rect 21 59 29 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "AU" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "AU" (rect 74 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32)(line_width 1))
)
(port
(pt 112 48)
(output)
(text "AD" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "AD" (rect 74 43 91 57)(font "Arial" (font_size 8)))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(port
(pt 112 64)
(output)
(text "BU" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "BU" (rect 75 59 91 73)(font "Arial" (font_size 8)))
(line (pt 112 64)(pt 96 64)(line_width 1))
)
(port
(pt 112 80)
(output)
(text "BD" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "BD" (rect 75 75 91 89)(font "Arial" (font_size 8)))
(line (pt 112 80)(pt 96 80)(line_width 1))
)
(port
(pt 112 96)
(output)
(text "DirCntA" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "DirCntA" (rect 48 91 91 105)(font "Arial" (font_size 8)))
(line (pt 112 96)(pt 96 96)(line_width 1))
)
(port
(pt 112 112)
(output)
(text "DirCntB" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "DirCntB" (rect 49 107 91 121)(font "Arial" (font_size 8)))
(line (pt 112 112)(pt 96 112)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 144)(line_width 1))
)
)
(symbol
(rect 848 56 992 152)
(text "lpm_dff1" (rect 48 1 104 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 26 41 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[7..0]" (rect 20 42 73 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 58 55 72)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[7..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 16 58)(pt 22 64)(line_width 1))
(line (pt 22 64)(pt 16 70)(line_width 1))
)
)
(symbol
(rect 616 72 784 200)
(text "CntOut" (rect 5 0 43 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "Sclr" (rect 0 0 22 14)(font "Arial" (font_size 8)))
(text "Sclr" (rect 21 27 43 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "DirCntB" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "DirCntB" (rect 21 43 63 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "DirCntA" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "DirCntA" (rect 21 59 64 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "OutSel[1]" (rect 0 0 51 14)(font "Arial" (font_size 8)))
(text "OutSel[1]" (rect 21 75 72 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "OutSel[0]" (rect 0 0 51 14)(font "Arial" (font_size 8)))
(text "OutSel[0]" (rect 21 91 72 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 168 32)
(output)
(text "Cnt8b[7..0]" (rect 0 0 61 14)(font "Arial" (font_size 8)))
(text "Cnt8b[7..0]" (rect 86 27 147 41)(font "Arial" (font_size 8)))
(line (pt 168 32)(pt 152 32)(line_width 3))
)
(port
(pt 168 48)
(output)
(text "cnt[23..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "cnt[23..0]" (rect 94 43 147 57)(font "Arial" (font_size 8)))
(line (pt 168 48)(pt 152 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 152 112)(line_width 1))
)
)
(connector
(pt 232 112)
(pt 328 112)
)
(connector
(pt 232 128)
(pt 328 128)
)
(connector
(pt 232 144)
(pt 328 144)
)
(connector
(pt 440 192)
(pt 536 192)
)
(connector
(pt 440 176)
(pt 552 176)
)
(connector
(pt 232 304)
(pt 576 304)
)
(connector
(pt 232 320)
(pt 600 320)
)
(connector
(pt 848 88)
(pt 832 88)
)
(connector
(pt 832 48)
(pt 832 88)
)
(connector
(pt 848 120)
(pt 840 120)
)
(connector
(pt 840 120)
(pt 840 160)
)
(connector
(text "CLK" (rect 812 144 833 156)(font "Arial" ))
(pt 808 160)
(pt 840 160)
)
(connector
(pt 992 112)
(pt 1008 112)
(bus)
)
(connector
(pt 536 48)
(pt 536 104)
)
(connector
(pt 536 104)
(pt 616 104)
)
(connector
(pt 536 192)
(pt 536 120)
)
(connector
(pt 536 120)
(pt 616 120)
)
(connector
(pt 552 176)
(pt 552 136)
)
(connector
(pt 552 136)
(pt 616 136)
)
(connector
(pt 576 304)
(pt 576 152)
)
(connector
(pt 576 152)
(pt 616 152)
)
(connector
(pt 600 320)
(pt 600 168)
)
(connector
(pt 600 168)
(pt 616 168)
)
(connector
(pt 232 48)
(pt 536 48)
)
(connector
(pt 536 48)
(pt 832 48)
)
(connector
(pt 784 104)
(pt 848 104)
(bus)
)
(connector
(pt 800 120)
(pt 784 120)
(bus)
)
(connector
(pt 800 216)
(pt 800 120)
(bus)
)
(connector
(pt 848 216)
(pt 800 216)
(bus)
)
(junction (pt 536 48))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -