📄 uart.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 -32 72 136 88)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk32mhz" (rect 5 0 51 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 -80 64 -32 80))
)
(pin
(input)
(rect -32 88 136 104)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 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 -80 104 -32 120))
)
(pin
(input)
(rect -72 240 96 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "xmit_cmd_p_in" (rect 5 0 79 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 224 -72 240))
)
(pin
(input)
(rect -72 176 96 192)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "rxd" (rect 5 0 20 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 192 -72 208))
)
(pin
(input)
(rect -72 256 96 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "txdbuf_in[7..0]" (rect 5 0 76 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 272 -72 384))
)
(pin
(output)
(rect 512 72 688 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rec_ready" (rect 90 0 139 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 688 88 736 104))
)
(pin
(output)
(rect 512 88 688 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rec_buf[7..0]" (rect 90 0 153 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 688 104 736 216))
)
(pin
(output)
(rect 520 208 696 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "txd_out" (rect 90 0 126 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 696 224 744 240))
)
(pin
(output)
(rect 520 224 696 240)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "txd_down_out" (rect 90 0 157 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 696 240 744 256))
)
(symbol
(rect 152 48 248 144)
(text "baud" (rect 5 0 28 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 "resetb" (rect 0 0 30 12)(font "Arial" ))
(text "resetb" (rect 21 43 51 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "bclk" (rect 0 0 20 12)(font "Arial" ))
(text "bclk" (rect 55 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 312 48 440 144)
(text "reciever" (rect 5 0 45 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "bclkr" (rect 0 0 23 12)(font "Arial" ))
(text "bclkr" (rect 21 27 44 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "resetr" (rect 0 0 28 12)(font "Arial" ))
(text "resetr" (rect 21 43 49 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "rxdr" (rect 0 0 18 12)(font "Arial" ))
(text "rxdr" (rect 21 59 39 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "r_ready" (rect 0 0 37 12)(font "Arial" ))
(text "r_ready" (rect 70 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "rbuf[7..0]" (rect 0 0 46 12)(font "Arial" ))
(text "rbuf[7..0]" (rect 61 43 107 55)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 3))
)
(parameter
"framlenr"
"8"
""
)
(drawing
(rectangle (rect 16 16 112 80)(line_width 1))
)
(annotation_block (parameter)(rect 440 16 544 48))
)
(symbol
(rect 312 184 472 312)
(text "transfer" (rect 5 0 43 12)(font "Arial" ))
(text "inst2" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "bclkt" (rect 0 0 23 12)(font "Arial" ))
(text "bclkt" (rect 21 27 44 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "resett" (rect 0 0 28 12)(font "Arial" ))
(text "resett" (rect 21 43 49 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "xmit_cmd_p" (rect 0 0 60 12)(font "Arial" ))
(text "xmit_cmd_p" (rect 21 59 81 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "txdbuf[7..0]" (rect 0 0 57 12)(font "Arial" ))
(text "txdbuf[7..0]" (rect 21 75 78 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "txd" (rect 0 0 15 12)(font "Arial" ))
(text "txd" (rect 124 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(port
(pt 160 48)
(output)
(text "txd_done" (rect 0 0 44 12)(font "Arial" ))
(text "txd_done" (rect 95 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 1))
)
(parameter
"framlent"
"8"
""
)
(drawing
(rectangle (rect 16 16 144 112)(line_width 1))
)
(annotation_block (parameter)(rect 472 152 576 184))
)
(connector
(pt 136 80)
(pt 152 80)
)
(connector
(pt 312 96)
(pt 264 96)
)
(connector
(pt 264 96)
(pt 264 168)
)
(connector
(pt 264 168)
(pt 144 168)
)
(connector
(pt 136 96)
(pt 144 96)
)
(connector
(pt 144 96)
(pt 152 96)
)
(connector
(pt 312 232)
(pt 144 232)
)
(connector
(pt 144 96)
(pt 144 168)
)
(connector
(pt 144 168)
(pt 144 232)
)
(connector
(pt 312 216)
(pt 256 216)
)
(connector
(pt 256 216)
(pt 256 80)
)
(connector
(pt 312 80)
(pt 256 80)
)
(connector
(pt 256 80)
(pt 248 80)
)
(connector
(pt 312 112)
(pt 280 112)
)
(connector
(pt 280 112)
(pt 280 184)
)
(connector
(pt 280 184)
(pt 96 184)
)
(connector
(pt 96 248)
(pt 312 248)
)
(connector
(pt 312 264)
(pt 96 264)
(bus)
)
(connector
(pt 440 80)
(pt 512 80)
)
(connector
(pt 440 96)
(pt 512 96)
(bus)
)
(connector
(pt 472 216)
(pt 520 216)
)
(connector
(pt 472 232)
(pt 520 232)
)
(junction (pt 144 96))
(junction (pt 144 168))
(junction (pt 256 80))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -