📄 main.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 -352 216 -184 232)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk_co" (rect 5 0 36 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 -352 232 -184 248)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "en_co" (rect 5 0 34 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 -352 248 -184 264)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clr_co" (rect 5 0 34 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 -352 264 -184 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "data_co[15..0]" (rect 5 0 75 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 -352 280 -184 296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "wr_co" (rect 5 0 33 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 264 -64 432 -48)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "x8_clk" (rect 5 0 36 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 264 -40 432 -24)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "decode_en" (rect 5 0 58 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 632 184 808 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q" (rect 90 0 95 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 200 808 216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "fail" (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))
)
)
(pin
(output)
(rect 632 216 808 232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ready" (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 632 248 808 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "jo" (rect 90 0 98 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 -136 96 40 112)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "code_q" (rect 5 0 40 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect -136 152 40 168)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "in_busy" (rect 5 0 43 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect -136 136 40 152)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "shift_q" (rect 5 0 39 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(symbol
(rect 168 208 296 336)
(text "code" (rect 5 0 28 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(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 "d" (rect 0 0 5 12)(font "Arial" ))
(text "d" (rect 21 43 26 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 59 35 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "q" (rect 0 0 5 12)(font "Arial" ))
(text "q" (rect 102 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "clk1x" (rect 0 0 25 12)(font "Arial" ))
(text "clk1x" (rect 82 43 107 55)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "clk2x" (rect 0 0 25 12)(font "Arial" ))
(text "clk2x" (rect 82 59 107 71)(font "Arial" ))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "mo_o" (rect 0 0 27 12)(font "Arial" ))
(text "mo_o" (rect 80 75 107 87)(font "Arial" ))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "shift_o[2..0]" (rect 0 0 60 12)(font "Arial" ))
(text "shift_o[2..0]" (rect 47 91 107 103)(font "Arial" ))
(line (pt 128 96)(pt 112 96)(line_width 3))
)
(drawing
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -