📄 led7.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-2004 Altera Corporation
Any megafunction design, and related netlist (encrypted or decrypted),
support information, device programming or simulation file, and any other
associated documentation or information provided by Altera or a partner
under Altera's Megafunction Partnership Program may be used only
to program PLD devices (but not masked PLD devices) from Altera. Any
other use of such megafunction design, netlist, support information,
device programming or simulation file, or any other related documentation
or information is prohibited for any other purpose, including, but not
limited to modification, reverse engineering, de-compiling, or use with
any other silicon devices, unless such use is explicitly licensed under
a separate agreement with Altera or a megafunction partner. Title to the
intellectual property, including patents, copyrights, trademarks, trade
secrets, or maskworks, embodied in any such megafunction design, netlist,
support information, device programming or simulation file, or any other
related documentation or information provided by Altera or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect 32 224 200 240)
(text "INPUT" (rect 133 0 161 9)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 208 200 224)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "sl[3..0]" (rect 5 0 39 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 192 200 208)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "sh[3..0]" (rect 5 0 42 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 176 200 192)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "ml[3..0]" (rect 5 0 42 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 160 200 176)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "mh[3..0]" (rect 5 0 46 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 144 200 160)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "hl[3..0]" (rect 5 0 39 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 128 200 144)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "hh[3..0]" (rect 5 0 42 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 464 32 640 48)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "sa" (rect 90 0 101 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 464 72 640 88)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "sb" (rect 90 0 101 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 472 104 648 120)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "sc" (rect 90 0 101 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 632 176 808 192)
(text "OUTPUT" (rect 1 0 34 9)(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))
)
)
(symbol
(rect 416 152 600 248)
(text "led_vhdl" (rect 5 0 46 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "data_in[3..0]" (rect 21 27 82 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "EN" (rect 0 0 15 12)(font "Arial" ))
(text "EN" (rect 21 43 36 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 184 32)
(output)
(text "data_out[6..0]" (rect 0 0 68 12)(font "Arial" ))
(text "data_out[6..0]" (rect 95 27 163 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 80)(line_width 1))
)
)
(symbol
(rect 128 288 160 320)
(text "GND" (rect 8 16 25 25)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 384 264 416 280)
(text "VCC" (rect 8 7 25 16)(font "Arial" (font_size 6)))
(text "inst4" (rect 6 -1 29 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 8 8)(line_width 1))
)
(rotate180)
)
(symbol
(rect 216 104 376 296)
(text "dd" (rect 5 0 16 12)(font "Arial" ))
(text "inst6" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "hh[3..0]" (rect 0 0 37 12)(font "Arial" ))
(text "hh[3..0]" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "hl[3..0]" (rect 0 0 34 12)(font "Arial" ))
(text "hl[3..0]" (rect 21 43 55 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "mh[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "mh[3..0]" (rect 21 59 62 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "ml[3..0]" (rect 0 0 37 12)(font "Arial" ))
(text "ml[3..0]" (rect 21 75 58 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "sh[3..0]" (rect 0 0 37 12)(font "Arial" ))
(text "sh[3..0]" (rect 21 91 58 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "sl[3..0]" (rect 0 0 34 12)(font "Arial" ))
(text "sl[3..0]" (rect 21 107 55 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 123 35 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "rsl" (rect 0 0 11 12)(font "Arial" ))
(text "rsl" (rect 21 139 32 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "sa" (rect 0 0 11 12)(font "Arial" ))
(text "sa" (rect 128 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(port
(pt 160 48)
(output)
(text "sb" (rect 0 0 11 12)(font "Arial" ))
(text "sb" (rect 128 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 1))
)
(port
(pt 160 64)
(output)
(text "sc" (rect 0 0 11 12)(font "Arial" ))
(text "sc" (rect 128 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 1))
)
(port
(pt 160 80)
(output)
(text "dataout[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "dataout[3..0]" (rect 77 75 139 87)(font "Arial" ))
(line (pt 160 80)(pt 144 80)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 176)(line_width 1))
)
)
(connector
(pt 376 184)
(pt 416 184)
(bus)
)
(connector
(pt 216 136)
(pt 200 136)
(bus)
)
(connector
(pt 216 152)
(pt 200 152)
(bus)
)
(connector
(pt 216 168)
(pt 200 168)
(bus)
)
(connector
(pt 216 184)
(pt 200 184)
(bus)
)
(connector
(pt 216 200)
(pt 200 200)
(bus)
)
(connector
(pt 216 216)
(pt 200 216)
(bus)
)
(connector
(pt 216 232)
(pt 200 232)
)
(connector
(pt 632 184)
(pt 600 184)
(bus)
)
(connector
(pt 376 168)
(pt 416 168)
)
(connector
(pt 376 152)
(pt 408 152)
)
(connector
(pt 408 152)
(pt 408 80)
)
(connector
(pt 408 80)
(pt 464 80)
)
(connector
(pt 376 136)
(pt 392 136)
)
(connector
(pt 392 136)
(pt 392 40)
)
(connector
(pt 392 40)
(pt 464 40)
)
(connector
(pt 216 248)
(pt 144 248)
)
(connector
(pt 144 248)
(pt 144 288)
)
(connector
(pt 416 200)
(pt 400 200)
)
(connector
(pt 400 200)
(pt 400 264)
)
(connector
(pt 416 168)
(pt 416 112)
)
(connector
(pt 416 112)
(pt 472 112)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -