📄 one.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 200 432 368 448)
(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 160 448 200 464))
)
(pin
(input)
(rect 200 448 368 464)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "k1" (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 160 464 200 480))
)
(pin
(input)
(rect 200 464 368 480)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "k2" (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 160 480 200 496))
)
(pin
(input)
(rect 200 480 368 496)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "k3" (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 160 496 200 512))
)
(pin
(input)
(rect 408 -8 576 8)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk2" (rect 5 0 25 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 368 8 408 24))
)
(pin
(input)
(rect 160 80 328 96)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk_50M" (rect 5 0 45 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 120 96 160 112))
)
(pin
(output)
(rect 1328 600 1504 616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ledout[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))
)
(annotation_block (location)(rect 1504 616 1552 728))
)
(pin
(output)
(rect 1440 792 1616 808)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led_b[7..0]" (rect 90 0 141 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 1616 808 1664 920))
)
(symbol
(rect 888 432 1032 528)
(text "latch_16" (rect 5 0 46 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "din[27..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din[27..0]" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "load" (rect 0 0 20 12)(font "Arial" ))
(text "load" (rect 21 43 41 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "qo[27..0]" (rect 0 0 43 12)(font "Arial" ))
(text "qo[27..0]" (rect 80 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 1064 736 1216 864)
(text "ledout" (rect 5 0 34 12)(font "Arial" ))
(text "inst3" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "a[27..0]" (rect 0 0 37 12)(font "Arial" ))
(text "a[27..0]" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "k[1..0]" (rect 0 0 31 12)(font "Arial" ))
(text "k[1..0]" (rect 21 75 52 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 152 32)
(output)
(text "led_out[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "led_out[7..0]" (rect 70 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(port
(pt 152 48)
(output)
(text "led_b[7..0]" (rect 0 0 51 12)(font "Arial" ))
(text "led_b[7..0]" (rect 80 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 112)(line_width 1))
)
)
(symbol
(rect 408 56 504 152)
(text "fp50HZ" (rect 5 0 42 12)(font "Arial" ))
(text "inst11" (rect 8 80 37 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 408 392 520 520)
(text "ctr" (rect 5 0 17 12)(font "Arial" ))
(text "inst" (rect 8 112 25 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 "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 43 33 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "k1" (rect 0 0 11 12)(font "Arial" ))
(text "k1" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "k2" (rect 0 0 11 12)(font "Arial" ))
(text "k2" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "k3" (rect 0 0 11 12)(font "Arial" ))
(text "k3" (rect 21 91 32 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "count_en" (rect 0 0 44 12)(font "Arial" ))
(text "count_en" (rect 47 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 1))
)
(port
(pt 112 48)
(output)
(text "count_clr" (rect 0 0 44 12)(font "Arial" ))
(text "count_clr" (rect 47 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(port
(pt 112 64)
(output)
(text "load" (rect 0 0 20 12)(font "Arial" ))
(text "load" (rect 71 59 91 71)(font "Arial" ))
(line (pt 112 64)(pt 96 64)(line_width 1))
)
(port
(pt 112 80)
(output)
(text "gz2[1..0]" (rect 0 0 42 12)(font "Arial" ))
(text "gz2[1..0]" (rect 49 75 91 87)(font "Arial" ))
(line (pt 112 80)(pt 96 80)(line_width 3))
)
(drawing
(rectangle (rect 16 16 96 112)(line_width 1))
)
)
(symbol
(rect 680 16 792 112)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 680 184 792 280)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst4" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 664 344 776 440)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst5" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 672 512 784 608)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst6" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 664 664 776 760)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst7" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 664 816 776 912)
(text "count10" (rect 5 0 43 12)(font "Arial" ))
(text "inst8" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "out[3..0]" (rect 0 0 41 12)(font "Arial" ))
(text "out[3..0]" (rect 50 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "cout" (rect 0 0 21 12)(font "Arial" ))
(text "cout" (rect 70 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -