📄 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 -136 16 32 32)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 20 14)(font "Arial" (font_size 8)))
(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 -136 32 32 48)
(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)))
)
(pin
(input)
(rect -136 384 32 400)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "rxd" (rect 5 0 23 14)(font "Arial" (font_size 8)))
(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 -144 184 24 200)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "xmit_cmd_p_in" (rect 5 0 88 14)(font "Arial" (font_size 8)))
(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 -144 200 24 216)
(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)))
)
(pin
(output)
(rect 640 352 816 368)
(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))
)
)
(pin
(output)
(rect 640 152 816 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "txd_ou" (rect 90 0 128 14)(font "Arial" (font_size 8)))
(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 640 168 816 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "txd_done_out" (rect 90 0 167 14)(font "Arial" (font_size 8)))
(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 640 368 816 384)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rec_buf[7..0]" (rect 90 0 163 14)(font "Arial" (font_size 8)))
(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 152 -8 248 88)
(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 352 328 480 424)
(text "reciever" (rect 5 0 45 12)(font "Arial" ))
(text "inst1" (rect 8 80 35 94)(font "Arial" (font_size 8)))
(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 480 296 584 328))
)
(symbol
(rect 352 128 512 256)
(text "transfer" (rect 5 0 43 12)(font "Arial" ))
(text "inst2" (rect 8 112 35 126)(font "Arial" (font_size 8)))
(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 512 96 616 128))
)
(connector
(pt 32 24)
(pt 152 24)
)
(connector
(pt 32 40)
(pt 112 40)
)
(connector
(pt 112 40)
(pt 152 40)
)
(connector
(pt 112 176)
(pt 352 176)
)
(connector
(pt 112 40)
(pt 112 176)
)
(connector
(pt 112 176)
(pt 112 376)
)
(connector
(pt 112 376)
(pt 352 376)
)
(connector
(pt 248 24)
(pt 312 24)
)
(connector
(pt 312 160)
(pt 352 160)
)
(connector
(pt 312 360)
(pt 352 360)
)
(connector
(pt 312 24)
(pt 312 160)
)
(connector
(pt 312 160)
(pt 312 360)
)
(connector
(pt 32 392)
(pt 352 392)
)
(connector
(pt 480 376)
(pt 640 376)
(bus)
)
(connector
(pt 352 208)
(pt 24 208)
(bus)
)
(connector
(pt 480 360)
(pt 640 360)
)
(connector
(pt 24 192)
(pt 352 192)
)
(connector
(pt 512 160)
(pt 640 160)
)
(connector
(pt 512 176)
(pt 640 176)
)
(junction (pt 112 40))
(junction (pt 112 176))
(junction (pt 312 160))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -