📄 din5.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-2006 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 0 120 168 136)
(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 -48 136 0 152))
)
(pin
(output)
(rect 496 120 672 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clk2M" (rect 90 0 118 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 480 160 656 176)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clk4M" (rect 90 0 118 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 656 176 704 192))
)
(pin
(output)
(rect 320 40 496 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clk8M" (rect 90 0 118 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 496 56 544 72))
)
(pin
(output)
(rect 528 424 704 440)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "I_out[11..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 776 472 824 584))
)
(pin
(output)
(rect 536 520 712 536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Q_out[11..0]" (rect 90 0 151 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 720 576 768 688))
)
(pin
(output)
(rect 632 376 808 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "qp[11..0]" (rect 90 0 133 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 216 96 312 192)
(text "div5" (rect 5 0 26 12)(font "Arial" ))
(text "inst1" (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 96 32)
(output)
(text "div5" (rect 0 0 21 12)(font "Arial" ))
(text "div5" (rect 54 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 88 192 232 256)
(text "conter" (rect 54 1 96 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 48 31 60)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 26 55 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 144 40)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 95 34 130 48)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "up counter" (rect 84 17 135 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 48)(line_width 1))
(line (pt 128 48)(pt 16 48)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 16 26)(pt 22 32)(line_width 1))
(line (pt 22 32)(pt 16 38)(line_width 1))
)
)
(symbol
(rect 688 232 840 328)
(text "xor_add" (rect 5 0 43 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 "din[11..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din[11..0]" (rect 21 43 67 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 152 32)
(output)
(text "dout[11..0]" (rect 0 0 53 12)(font "Arial" ))
(text "dout[11..0]" (rect 78 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 976 232 1120 424)
(text "move" (rect 5 0 35 14)(font "Arial" (font_size 8)))
(text "inst7" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "in[11..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "in[11..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(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 "clr" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "clr" (rect 21 59 35 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "qa[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qa[11..0]" (rect 74 27 123 41)(font "Arial" (font_size 8)))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(port
(pt 144 48)
(output)
(text "qb[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qb[11..0]" (rect 74 43 123 57)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 3))
)
(port
(pt 144 64)
(output)
(text "qc[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qc[11..0]" (rect 74 59 123 73)(font "Arial" (font_size 8)))
(line (pt 144 64)(pt 128 64)(line_width 3))
)
(port
(pt 144 80)
(output)
(text "qd[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qd[11..0]" (rect 74 75 123 89)(font "Arial" (font_size 8)))
(line (pt 144 80)(pt 128 80)(line_width 3))
)
(port
(pt 144 96)
(output)
(text "qe[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qe[11..0]" (rect 74 91 123 105)(font "Arial" (font_size 8)))
(line (pt 144 96)(pt 128 96)(line_width 3))
)
(port
(pt 144 112)
(output)
(text "qf[11..0]" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "qf[11..0]" (rect 76 107 123 121)(font "Arial" (font_size 8)))
(line (pt 144 112)(pt 128 112)(line_width 3))
)
(port
(pt 144 128)
(output)
(text "qg[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qg[11..0]" (rect 74 123 123 137)(font "Arial" (font_size 8)))
(line (pt 144 128)(pt 128 128)(line_width 3))
)
(port
(pt 144 144)
(output)
(text "qh[11..0]" (rect 0 0 49 14)(font "Arial" (font_size 8)))
(text "qh[11..0]" (rect 74 139 123 153)(font "Arial" (font_size 8)))
(line (pt 144 144)(pt 128 144)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 176)(line_width 1))
)
)
(symbol
(rect 72 376 208 504)
(text "I5" (rect 5 0 14 12)(font "Arial" ))
(text "inst8" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "i2[11..0]" (rect 0 0 40 12)(font "Arial" ))
(text "i2[11..0]" (rect 21 27 61 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "i4[11..0]" (rect 0 0 40 12)(font "Arial" ))
(text "i4[11..0]" (rect 21 43 61 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "i6[11..0]" (rect 0 0 40 12)(font "Arial" ))
(text "i6[11..0]" (rect 21 59 61 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "i8[11..0]" (rect 0 0 40 12)(font "Arial" ))
(text "i8[11..0]" (rect 21 75 61 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 136 32)
(output)
(text "i5[11..0]" (rect 0 0 40 12)(font "Arial" ))
(text "i5[11..0]" (rect 75 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
)
(symbol
(rect 408 408 472 488)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -