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

📄 uart.gdf

📁 FPGA-UART异步通信串行口设计实例
💻 GDF
📖 第 1 页 / 共 2 页
字号:
/*
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 -16 472 152 488)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "CLK" (rect 51 1 74 15)(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 688 336 856 352)
	(text "INPUT" (rect 13 -1 41 9)(font "Arial" (font_size 6)))
	(text "Rx" (rect 97 1 112 15)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 76 12)(pt 51 12)(line_width 1))
		(line (pt 76 4)(pt 51 4)(line_width 1))
		(line (pt 47 8)(pt 0 8)(line_width 1))
		(line (pt 76 12)(pt 76 4)(line_width 1))
		(line (pt 51 4)(pt 47 8)(line_width 1))
		(line (pt 51 12)(pt 47 8)(line_width 1))
	)
	(flipy)
	(text "VCC" (rect 15 7 35 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect -24 352 144 368)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "Di[7..0]" (rect 38 1 76 15)(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 -24 224 144 240)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "RESET" (rect 39 1 76 15)(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
	(output)
	(rect -24 336 152 352)
	(text "OUTPUT" (rect 144 -1 182 9)(font "Arial" (font_size 6)))
	(text "Do[7..0]" (rect 49 0 92 14)(font "Arial" (font_size 8)))
	(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 -48 112 128 128)
	(text "OUTPUT" (rect 144 -1 182 9)(font "Arial" (font_size 6)))
	(text "RCVD" (rect 57 0 91 14)(font "Arial" (font_size 8)))
	(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 -48 128 128 144)
	(text "OUTPUT" (rect 144 -1 182 9)(font "Arial" (font_size 6)))
	(text "SENT" (rect 60 0 90 14)(font "Arial" (font_size 8)))
	(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 -48 96 128 112)
	(text "OUTPUT" (rect 144 -1 182 9)(font "Arial" (font_size 6)))
	(text "INT" (rect 71 0 88 14)(font "Arial" (font_size 8)))
	(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 704 120 880 136)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "Tx" (rect 90 0 104 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 704 136 880 152)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "XOUT[3..0]" (rect 90 0 144 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))
	)
)
(symbol
	(rect 704 432 736 464)
	(text "GND" (rect 8 16 25 25)(font "Arial" (font_size 6)))
	(text "inst1" (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 768 432 800 448)
	(text "VCC" (rect 7 0 24 9)(font "Arial" (font_size 6)))
	(text "inst" (rect 3 5 20 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 472 64 688 296)
	(text "TX" (rect 5 0 16 12)(font "Arial" ))
	(text "5" (rect 16 200 21 212)(font "Arial" ))
	(port
		(pt 0 152)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 144 35 156)(font "Arial" ))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 136)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 128 45 140)(font "Arial" ))
		(line (pt 0 136)(pt 16 136)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "CfgReg[6..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "CfgReg[6..0]" (rect 21 48 85 60)(font "Arial" ))
		(line (pt 0 56)(pt 16 56)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "TxReg[7..0]" (rect 0 0 57 12)(font "Arial" ))
		(text "TxReg[7..0]" (rect 21 80 78 92)(font "Arial" ))
		(line (pt 0 88)(pt 16 88)(line_width 3))
	)
	(port
		(pt 0 40)
		(input)
		(text "DIVISOR[16..0]" (rect 0 0 77 12)(font "Arial" ))
		(text "DIVISOR[16..0]" (rect 21 32 98 44)(font "Arial" ))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 0 104)
		(input)
		(text "TxSTART" (rect 0 0 46 12)(font "Arial" ))
		(text "TxSTART" (rect 21 96 67 108)(font "Arial" ))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 0 120)
		(output)
		(text "TxEND" (rect 32 0 67 12)(font "Arial" ))
		(text "TxEND" (rect 24 112 59 124)(font "Arial" ))
		(line (pt 16 120)(pt 0 120)(line_width 1))
	)
	(port
		(pt 0 72)
		(output)
		(text "TxSTATUS" (rect 32 0 85 12)(font "Arial" ))
		(text "TxSTATUS" (rect 24 64 77 76)(font "Arial" ))
		(line (pt 16 72)(pt 0 72)(line_width 1))
	)
	(port
		(pt 216 64)
		(output)
		(text "TX" (rect 32 0 43 12)(font "Arial" ))
		(text "TX" (rect 184 59 195 71)(font "Arial" ))
		(line (pt 216 64)(pt 200 64)(line_width 1))
	)
	(port
		(pt 216 80)
		(output)
		(text "XOUT[3..0]" (rect 32 0 86 12)(font "Arial" ))
		(text "XOUT[3..0]" (rect 141 75 195 87)(font "Arial" ))
		(line (pt 216 80)(pt 200 80)(line_width 3))
	)
	(parameter
		"FILTER_DEPTH"
		"3"
		""
	)
	(drawing
		(rectangle (rect 16 16 200 216)(line_width 1))
	)
	(annotation_block (parameter)(rect 696 32 808 64))
)
(symbol
	(rect 472 304 672 552)
	(text "Rx" (rect 5 0 19 12)(font "Arial" ))
	(text "4" (rect 16 221 21 233)(font "Arial" ))
	(port
		(pt 0 152)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 29 144 43 156)(font "Arial" ))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 136)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 29 128 53 140)(font "Arial" ))
		(line (pt 0 136)(pt 16 136)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "CfgReg[6..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "CfgReg[6..0]" (rect 29 48 93 60)(font "Arial" ))
		(line (pt 0 56)(pt 16 56)(line_width 3))
	)
	(port
		(pt 0 40)
		(input)
		(text "DIVISOR[16..0]" (rect 0 0 77 12)(font "Arial" ))
		(text "DIVISOR[16..0]" (rect 29 32 106 44)(font "Arial" ))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 0 104)
		(input)
		(text "RxSTART" (rect 0 0 48 12)(font "Arial" ))
		(text "RxSTART" (rect 29 96 77 108)(font "Arial" ))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 200 40)
		(input)
		(text "Rx" (rect 0 0 14 12)(font "Arial" ))
		(text "Rx" (rect 162 32 176 44)(font "Arial" ))
		(line (pt 184 40)(pt 200 40)(line_width 1))
	)
	(port
		(pt 0 120)
		(output)
		(text "RxEND" (rect 0 0 37 12)(font "Arial" ))
		(text "RxEND" (rect 24 112 61 124)(font "Arial" ))
		(line (pt 16 120)(pt 0 120)(line_width 1))
	)
	(port
		(pt 0 88)
		(output)
		(text "RxReg[7..0]" (rect 0 0 60 12)(font "Arial" ))
		(text "RxReg[7..0]" (rect 24 80 84 92)(font "Arial" ))
		(line (pt 16 88)(pt 0 88)(line_width 3))
	)
	(port
		(pt 0 72)
		(output)
		(text "RxStatus[4..0]" (rect 0 0 71 12)(font "Arial" ))
		(text "RxStatus[4..0]" (rect 24 64 95 76)(font "Arial" ))
		(line (pt 16 72)(pt 0 72)(line_width 3))
	)
	(parameter
		"FILTER_DEPTH"
		"3"
		""
	)
	(drawing
		(rectangle (rect 16 16 184 232)(line_width 1))
	)
	(annotation_block (parameter)(rect 696 272 808 304))
)
(symbol
	(rect 144 168 192 200)
	(text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6)))
	(text "inst4" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 12 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))

⌨️ 快捷键说明

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