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

📄 serialport.bdf

📁 VHDL基础的编程源代码
💻 BDF
📖 第 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-2005 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 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 64 -448 232 -432)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clock_24M" (rect 5 0 56 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 -24 -480 64 -448))
)
(pin
	(input)
	(rect 64 -432 232 -416)
	(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)))
	(annotation_block (location)(rect -24 -416 64 -384))
)
(pin
	(input)
	(rect 80 -160 248 -144)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "rx" (rect 5 0 14 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 -8 -192 80 -160))
)
(pin
	(output)
	(rect 1080 -448 1262 -432)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "row[7..0]" (rect 90 0 132 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 -576 1264 -448))
)
(pin
	(output)
	(rect 1080 -432 1262 -416)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "row_select[7..0]" (rect 90 0 167 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 -416 1264 -288))
)
(symbol
	(rect 880 -472 1056 -248)
	(text "ledarray_drv" (rect 5 0 67 12)(font "Arial" ))
	(text "inst2" (rect 8 208 31 220)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "row0[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row0[7..0]" (rect 21 27 69 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "row1[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row1[7..0]" (rect 21 43 69 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "row2[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row2[7..0]" (rect 21 59 69 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "row3[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row3[7..0]" (rect 21 75 69 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "row4[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row4[7..0]" (rect 21 91 69 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "row5[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row5[7..0]" (rect 21 107 69 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "row6[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row6[7..0]" (rect 21 123 69 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 3))
	)
	(port
		(pt 0 144)
		(input)
		(text "row7[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row7[7..0]" (rect 21 139 69 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 3))
	)
	(port
		(pt 0 160)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 155 46 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 0 176)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 171 45 183)(font "Arial" ))
		(line (pt 0 176)(pt 16 176)(line_width 1))
	)
	(port
		(pt 176 32)
		(output)
		(text "row[7..0]" (rect 0 0 42 12)(font "Arial" ))
		(text "row[7..0]" (rect 113 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(port
		(pt 176 48)
		(output)
		(text "row_select[7..0]" (rect 0 0 77 12)(font "Arial" ))
		(text "row_select[7..0]" (rect 78 43 155 55)(font "Arial" ))
		(line (pt 176 48)(pt 160 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 208)(line_width 1))
	)
)
(symbol
	(rect 312 -104 512 -8)
	(text "baud_div" (rect 5 0 49 12)(font "Arial" ))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "baudrate[3..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "baudrate[3..0]" (rect 21 27 89 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 43 46 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 59 45 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 200 32)
		(bidir)
		(text "baudrate_clock" (rect 0 0 74 12)(font "Arial" ))
		(text "baudrate_clock" (rect 105 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 184 80)(line_width 1))
	)
)
(symbol
	(rect 720 -184 896 -24)
	(text "serialport_rx" (rect 5 0 65 12)(font "Arial" ))
	(text "inst4" (rect 8 144 31 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "rx" (rect 0 0 9 12)(font "Arial" ))
		(text "rx" (rect 21 27 30 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "bitnum[2..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "bitnum[2..0]" (rect 21 43 80 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "has_parity" (rect 0 0 51 12)(font "Arial" ))
		(text "has_parity" (rect 21 59 72 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "parity_type" (rect 0 0 56 12)(font "Arial" ))
		(text "parity_type" (rect 21 75 77 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "stopbits[1..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "stopbits[1..0]" (rect 21 91 85 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 107 46 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 123 45 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 176 32)
		(output)
		(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[7..0]" (rect 108 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(port
		(pt 176 48)
		(output)
		(text "data_ready" (rect 0 0 55 12)(font "Arial" ))
		(text "data_ready" (rect 100 43 155 55)(font "Arial" ))
		(line (pt 176 48)(pt 160 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 160 144)(line_width 1))
	)
)
(symbol
	(rect 608 -472 808 -280)
	(text "charlib8_8" (rect 5 0 54 12)(font "Arial" ))
	(text "inst8" (rect 8 176 31 188)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "ext_char_data[7..0]" (rect 0 0 95 12)(font "Arial" ))
		(text "ext_char_data[7..0]" (rect 21 27 116 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 200 32)
		(output)
		(text "row0[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row0[7..0]" (rect 131 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 3))
	)
	(port
		(pt 200 48)
		(output)
		(text "row1[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row1[7..0]" (rect 131 43 179 55)(font "Arial" ))
		(line (pt 200 48)(pt 184 48)(line_width 3))
	)
	(port
		(pt 200 64)
		(output)
		(text "row2[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row2[7..0]" (rect 131 59 179 71)(font "Arial" ))
		(line (pt 200 64)(pt 184 64)(line_width 3))
	)
	(port
		(pt 200 80)
		(output)
		(text "row3[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row3[7..0]" (rect 131 75 179 87)(font "Arial" ))
		(line (pt 200 80)(pt 184 80)(line_width 3))
	)
	(port
		(pt 200 96)
		(output)
		(text "row4[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "row4[7..0]" (rect 131 91 179 103)(font "Arial" ))
		(line (pt 200 96)(pt 184 96)(line_width 3))
	)
	(port
		(pt 200 112)
		(output)
		(text "row5[7..0]" (rect 0 0 48 12)(font "Arial" ))

⌨️ 快捷键说明

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