serial_uart_top.bdf
来自「FPGA Cycloneii 系列的」· BDF 代码 · 共 829 行 · 第 1/2 页
BDF
829 行
/*
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.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect 56 216 72 384)
(text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical))
(text "RXD" (rect 0 112 12 134)(font "Arial" )(vertical))
(pt 8 0)
(drawing
(line (pt 12 76)(pt 12 51)(line_width 1))
(line (pt 4 76)(pt 4 51)(line_width 1))
(line (pt 8 47)(pt 8 0)(line_width 1))
(line (pt 12 76)(pt 4 76)(line_width 1))
(line (pt 4 51)(pt 8 47)(line_width 1))
(line (pt 12 51)(pt 8 47)(line_width 1))
)
(rotate90)
(text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical))
(annotation_block (location)(rect 8 384 56 400))
)
(pin
(input)
(rect 0 32 168 48)
(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 -32 16 16 32))
)
(pin
(output)
(rect 440 -24 616 -8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "recv" (rect 90 0 112 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 616 -8 664 8))
)
(pin
(output)
(rect 1000 336 1176 352)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "data_led_1[6..0]" (rect 90 0 169 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 1176 352 1224 456))
)
(pin
(output)
(rect 1000 352 1176 368)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "data_led_2[6..0]" (rect 90 0 169 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 1176 368 1224 472))
)
(pin
(output)
(rect 976 520 1152 536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "data_led_3[6..0]" (rect 90 0 169 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 1216 520 1264 624))
)
(pin
(output)
(rect 976 536 1152 552)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "data_led_4[6..0]" (rect 90 0 169 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 1216 536 1264 640))
)
(pin
(output)
(rect 808 248 984 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "dataout2[7..0]" (rect 90 0 158 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 984 264 1040 376))
)
(symbol
(rect -64 -40 -32 -24)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect -72 128 -40 160)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect -104 128 -72 160)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 184 -40 408 120)
(text "uart_top" (rect 5 0 52 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "send" (rect 0 0 28 14)(font "Arial" (font_size 8)))
(text "send" (rect 21 27 49 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "send_bus[7..0]" (rect 0 0 84 14)(font "Arial" (font_size 8)))
(text "send_bus[7..0]" (rect 21 43 105 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "RXD" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "RXD" (rect 21 59 45 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "reset_n" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "reset_n" (rect 21 91 64 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "parity_rule" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "parity_rule" (rect 21 107 81 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 224 32)
(output)
(text "send_over" (rect 0 0 61 14)(font "Arial" (font_size 8)))
(text "send_over" (rect 142 27 203 41)(font "Arial" (font_size 8)))
(line (pt 224 32)(pt 208 32)(line_width 1))
)
(port
(pt 224 48)
(output)
(text "recv" (rect 0 0 25 14)(font "Arial" (font_size 8)))
(text "recv" (rect 178 43 203 57)(font "Arial" (font_size 8)))
(line (pt 224 48)(pt 208 48)(line_width 1))
)
(port
(pt 224 64)
(output)
(text "recv_bus[7..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
(text "recv_bus[7..0]" (rect 121 59 203 73)(font "Arial" (font_size 8)))
(line (pt 224 64)(pt 208 64)(line_width 3))
)
(port
(pt 224 80)
(output)
(text "recv_error" (rect 0 0 61 14)(font "Arial" (font_size 8)))
(text "recv_error" (rect 142 75 203 89)(font "Arial" (font_size 8)))
(line (pt 224 80)(pt 208 80)(line_width 1))
)
(port
(pt 224 96)
(output)
(text "TXD" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "TXD" (rect 180 91 203 105)(font "Arial" (font_size 8)))
(line (pt 224 96)(pt 208 96)(line_width 1))
)
(port
(pt 224 112)
(output)
(text "new_data" (rect 0 0 57 14)(font "Arial" (font_size 8)))
(text "new_data" (rect 146 107 203 121)(font "Arial" (font_size 8)))
(line (pt 224 112)(pt 208 112)(line_width 1))
)
(port
(pt 224 128)
(output)
(text "bd_clk" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "bd_clk" (rect 167 123 203 137)(font "Arial" (font_size 8)))
(line (pt 224 128)(pt 208 128)(line_width 1))
)
(drawing
(rectangle (rect 16 16 208 144)(line_width 1))
)
)
(symbol
(rect 808 312 1000 408)
(text "deal" (rect 5 0 25 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "datain[7..0]" (rect 0 0 55 12)(font "Arial" ))
(text "datain[7..0]" (rect 21 27 76 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 192 32)
(output)
(text "data_led_1[6..0]" (rect 0 0 79 12)(font "Arial" ))
(text "data_led_1[6..0]" (rect 92 27 171 39)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(port
(pt 192 48)
(output)
(text "data_led_2[6..0]" (rect 0 0 79 12)(font "Arial" ))
(text "data_led_2[6..0]" (rect 92 43 171 55)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 80)(line_width 1))
)
)
(symbol
(rect 472 264 696 584)
(text "instruc2main" (rect 5 0 67 12)(font "Arial" ))
(text "inst6" (rect 8 304 31 316)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "datain1[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain1[7..0]" (rect 21 27 82 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "datain2[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain2[7..0]" (rect 21 43 82 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "datain3[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain3[7..0]" (rect 21 59 82 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "datain4[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain4[7..0]" (rect 21 75 82 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "datain5[7..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain5[7..0]" (rect 21 91 82 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "recv_over" (rect 0 0 50 12)(font "Arial" ))
(text "recv_over" (rect 21 107 71 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 224 32)
(output)
(text "doppler_step[13..0]" (rect 0 0 94 12)(font "Arial" ))
(text "doppler_step[13..0]" (rect 109 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(port
(pt 224 48)
(output)
(text "Gauss_P[7..0]" (rect 0 0 70 12)(font "Arial" ))
(text "Gauss_P[7..0]" (rect 133 43 203 55)(font "Arial" ))
(line (pt 224 48)(pt 208 48)(line_width 3))
)
(port
(pt 224 64)
(output)
(text "Rayleigh_MP[5..0]" (rect 0 0 90 12)(font "Arial" ))
(text "Rayleigh_MP[5..0]" (rect 113 59 203 71)(font "Arial" ))
(line (pt 224 64)(pt 208 64)(line_width 3))
)
(port
(pt 224 80)
(output)
(text "Lognormal[4..0]" (rect 0 0 76 12)(font "Arial" ))
(text "Lognormal[4..0]" (rect 127 75 203 87)(font "Arial" ))
(line (pt 224 80)(pt 208 80)(line_width 3))
)
(port
(pt 224 96)
(output)
(text "Row_dis_delay[11..0]" (rect 0 0 106 12)(font "Arial" ))
(text "Row_dis_delay[11..0]" (rect 97 91 203 103)(font "Arial" ))
(line (pt 224 96)(pt 208 96)(line_width 3))
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?