uart_top.bsf

来自「FPGA Cycloneii 系列的」· BSF 代码 · 共 121 行

BSF
121
字号
/*
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 "symbol" (version "1.1"))
(symbol
	(rect 16 16 240 176)
	(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))
	)
)

⌨️ 快捷键说明

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