📄 led.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-2007 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 from 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect -64 288 104 304)
(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 -136 272 -88 288))
)
(pin
(input)
(rect 0 424 168 440)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clr" (rect 5 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)))
(annotation_block (location)(rect -72 408 -16 424))
)
(pin
(input)
(rect 0 440 168 456)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "en" (rect 5 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)))
(annotation_block (location)(rect -56 488 0 504))
)
(pin
(output)
(rect 360 512 536 528)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "full" (rect 90 0 105 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 536 528 592 544))
)
(pin
(output)
(rect 688 416 864 432)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "output[7..0]" (rect 90 0 146 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 864 432 928 544))
)
(symbol
(rect 504 376 600 504)
(text "trans" (rect 5 0 29 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "a" (rect 0 0 5 12)(font "Arial" ))
(text "a" (rect 21 27 26 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "b" (rect 0 0 5 12)(font "Arial" ))
(text "b" (rect 21 43 26 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 5 12)(font "Arial" ))
(text "c" (rect 21 59 26 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "d" (rect 0 0 5 12)(font "Arial" ))
(text "d" (rect 21 75 26 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "qout[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "qout[7..0]" (rect 28 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 80 112)(line_width 1))
)
)
(symbol
(rect 232 384 328 480)
(text "count" (rect 5 0 32 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 "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 43 32 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "q[3..0]" (rect 0 0 31 12)(font "Arial" ))
(text "q[3..0]" (rect 44 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 3))
)
(port
(pt 96 48)
(output)
(text "full" (rect 0 0 15 12)(font "Arial" ))
(text "full" (rect 60 43 75 55)(font "Arial" ))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 128 264 224 360)
(text "div" (rect 5 0 20 12)(font "Arial" ))
(text "inst2" (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))
)
)
(connector
(text "P[3..0]" (rect 338 400 371 412)(font "Arial" ))
(pt 328 416)
(pt 368 416)
(bus)
)
(connector
(text "P[0]" (rect 466 392 486 404)(font "Arial" ))
(pt 504 408)
(pt 456 408)
(bus)
)
(connector
(text "P[1]" (rect 466 408 486 420)(font "Arial" ))
(pt 504 424)
(pt 456 424)
(bus)
)
(connector
(text "P[2]" (rect 466 424 486 436)(font "Arial" ))
(pt 504 440)
(pt 456 440)
(bus)
)
(connector
(text "P[3]" (rect 466 440 486 452)(font "Arial" ))
(pt 504 456)
(pt 456 456)
(bus)
)
(connector
(pt 600 408)
(pt 688 408)
(bus)
)
(connector
(pt 688 408)
(pt 688 424)
(bus)
)
(connector
(pt 232 432)
(pt 168 432)
)
(connector
(pt 168 448)
(pt 232 448)
)
(connector
(pt 328 432)
(pt 352 432)
)
(connector
(pt 352 432)
(pt 352 520)
)
(connector
(pt 352 520)
(pt 360 520)
)
(connector
(pt 104 296)
(pt 128 296)
)
(connector
(pt 224 296)
(pt 232 296)
)
(connector
(pt 232 296)
(pt 232 416)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -