⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uart_test.bdf

📁 基于MAXII的RS232串口通信程序.还有使用VB编写的上位机串口通信软件。
💻 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-2004 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 32 136 200 152)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "clk" (rect 5 0 22 15)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 152 200 168)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "rst_n" (rect 5 0 38 15)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 168 200 184)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "sel[2..0]" (rect 5 0 55 15)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 184 200 200)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "rxd" (rect 5 0 23 15)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 32 200 200 216)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "txd_startH" (rect 5 0 69 15)(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 544 136 720 152)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "rxd_readyH" (rect 90 0 163 15)(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 544 168 720 184)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "txd_doneH" (rect 90 0 159 15)(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 544 184 720 200)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "txd" (rect 90 0 107 15)(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 520 384 717 400)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "seven_seg[7..0]" (rect 90 0 192 15)(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 520 400 696 416)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "dig4" (rect 90 0 118 15)(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 520 416 696 432)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "dig3" (rect 90 0 118 15)(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 520 432 697 448)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "dig2" (rect 90 0 118 15)(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 520 448 697 464)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "dig1" (rect 90 0 118 15)(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 288 112 496 256)
	(text "uart" (rect 5 0 29 15)(font "Arial" ))
	(text "inst" (rect 5 127 22 139)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk" (rect 0 0 17 15)(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 "rst_n" (rect 0 0 33 15)(font "Arial" ))
		(text "rst_n" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "sel[2..0]" (rect 0 0 50 15)(font "Arial" ))
		(text "sel[2..0]" (rect 21 59 61 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "rxd" (rect 0 0 18 15)(font "Arial" ))
		(text "rxd" (rect 21 75 36 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "txd_startH" (rect 0 0 64 15)(font "Arial" ))
		(text "txd_startH" (rect 21 91 72 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "DBUS[7..0]" (rect 0 0 70 15)(font "Arial" ))
		(text "DBUS[7..0]" (rect 21 107 77 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 208 32)
		(output)
		(text "rxd_readyH" (rect 0 0 73 15)(font "Arial" ))
		(text "rxd_readyH" (rect 114 27 171 39)(font "Arial" ))
		(line (pt 208 32)(pt 192 32)(line_width 1))
	)
	(port
		(pt 208 48)
		(output)
		(text "rxd_data[7..0]" (rect 0 0 86 15)(font "Arial" ))
		(text "rxd_data[7..0]" (rect 101 43 169 55)(font "Arial" ))
		(line (pt 208 48)(pt 192 48)(line_width 3))
	)
	(port
		(pt 208 64)
		(output)
		(text "txd_doneH" (rect 0 0 69 15)(font "Arial" ))
		(text "txd_doneH" (rect 118 59 171 71)(font "Arial" ))
		(line (pt 208 64)(pt 192 64)(line_width 1))
	)
	(port
		(pt 208 80)
		(output)
		(text "txd" (rect 0 0 17 15)(font "Arial" ))
		(text "txd" (rect 170 75 185 87)(font "Arial" ))
		(line (pt 208 80)(pt 192 80)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 192 125)(line_width 1))
	)
)
(symbol
	(rect 336 280 456 344)
	(text "clk_div" (rect 5 0 40 12)(font "Arial" ))
	(text "inst1" (rect 6 51 29 63)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk_in" (rect 0 0 28 12)(font "Arial" ))
		(text "clk_in" (rect 21 27 49 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 120 32)
		(output)
		(text "clk_out1" (rect 0 0 41 12)(font "Arial" ))
		(text "clk_out1" (rect 58 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 48)(line_width 1))
	)
)
(symbol
	(rect 296 360 496 488)
	(text "scan" (rect 5 0 28 12)(font "Arial" ))
	(text "inst6" (rect 8 112 31 124)(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 "clk_scan" (rect 0 0 43 12)(font "Arial" ))
		(text "clk_scan" (rect 21 43 64 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 59 33 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "rxd_readyH" (rect 0 0 57 12)(font "Arial" ))
		(text "rxd_readyH" (rect 21 75 78 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "rxd_data[7..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "rxd_data[7..0]" (rect 21 91 89 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 200 32)
		(output)
		(text "seven_seg[7..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "seven_seg[7..0]" (rect 99 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 3))
	)
	(port
		(pt 200 48)
		(output)
		(text "com_mten" (rect 0 0 51 12)(font "Arial" ))
		(text "com_mten" (rect 128 43 179 55)(font "Arial" ))
		(line (pt 200 48)(pt 184 48)(line_width 1))
	)
	(port
		(pt 200 64)
		(output)
		(text "com_mone" (rect 0 0 54 12)(font "Arial" ))
		(text "com_mone" (rect 125 59 179 71)(font "Arial" ))
		(line (pt 200 64)(pt 184 64)(line_width 1))
	)
	(port
		(pt 200 80)
		(output)
		(text "com_sten" (rect 0 0 48 12)(font "Arial" ))
		(text "com_sten" (rect 131 75 179 87)(font "Arial" ))
		(line (pt 200 80)(pt 184 80)(line_width 1))
	)
	(port
		(pt 200 96)
		(output)
		(text "com_sone" (rect 0 0 50 12)(font "Arial" ))
		(text "com_sone" (rect 129 91 179 103)(font "Arial" ))
		(line (pt 200 96)(pt 184 96)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 184 112)(line_width 1))
	)
)
(connector
	(pt 200 176)
	(pt 288 176)
	(bus)
)
(connector
	(pt 200 192)
	(pt 288 192)
)
(connector
	(pt 200 208)
	(pt 288 208)
)
(connector
	(pt 288 224)
	(pt 272 224)
	(bus)
)
(connector
	(pt 496 160)
	(pt 512 160)
	(bus)
)
(connector
	(pt 272 224)
	(pt 272 272)
	(bus)
)
(connector
	(text "DATA[7..0]" (rect 362 256 416 268)(font "Arial" ))
	(pt 512 272)
	(pt 272 272)
	(bus)
)
(connector
	(pt 512 160)
	(pt 512 272)
	(bus)
)
(connector
	(pt 200 144)
	(pt 248 144)
)
(connector
	(pt 248 144)
	(pt 288 144)
)
(connector
	(pt 248 312)
	(pt 336 312)
)
(connector
	(pt 264 352)
	(pt 512 352)
)
(connector
	(pt 512 312)
	(pt 512 352)
)
(connector
	(pt 456 312)
	(pt 512 312)
)
(connector
	(pt 496 144)
	(pt 544 144)
)
(connector
	(pt 496 176)
	(pt 544 176)
)
(connector
	(pt 496 192)
	(pt 544 192)
)
(connector
	(pt 232 160)
	(pt 232 424)
)
(connector
	(pt 264 352)
	(pt 264 408)
)
(connector
	(pt 200 160)
	(pt 232 160)
)
(connector
	(pt 232 160)
	(pt 288 160)
)
(connector
	(pt 248 144)
	(pt 248 312)
)
(connector
	(pt 248 312)
	(pt 248 392)
)
(connector
	(pt 248 392)
	(pt 296 392)
)
(connector
	(pt 264 408)
	(pt 296 408)
)
(connector
	(pt 232 424)
	(pt 296 424)
)
(connector
	(text "rxd_readyH" (rect 184 424 241 436)(font "Arial" ))
	(pt 176 440)
	(pt 296 440)
)
(connector
	(text "DATA[7..0]" (rect 184 440 238 452)(font "Arial" ))
	(pt 176 456)
	(pt 296 456)
	(bus)
)
(connector
	(pt 496 392)
	(pt 520 392)
	(bus)
)
(connector
	(pt 496 408)
	(pt 520 408)
)
(connector
	(pt 496 424)
	(pt 520 424)
)
(connector
	(pt 496 440)
	(pt 520 440)
)
(connector
	(pt 496 456)
	(pt 520 456)
)
(junction (pt 248 144))
(junction (pt 232 160))
(junction (pt 248 312))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -