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

📄 mc8051_test.bdf

📁 mc8051源码
💻 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-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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 128 32 296 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 80 48 128 64))
)
(pin
	(input)
	(rect 128 64 296 80)
	(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 80 80 128 96))
)
(pin
	(output)
	(rect 848 112 1024 128)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "led[7..0]" (rect 90 0 130 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 1024 128 1072 184))
)
(symbol
	(rect 448 88 696 376)
	(text "mc8051_core" (rect 5 0 71 12)(font "Arial" ))
	(text "inst" (rect 8 275 25 287)(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 "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 0 64)
		(input)
		(text "rom_data_i[7..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "rom_data_i[7..0]" (rect 21 59 101 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "ram_data_i[7..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "ram_data_i[7..0]" (rect 21 75 101 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "int0_i[0..0]" (rect 0 0 51 12)(font "Arial" ))
		(text "int0_i[0..0]" (rect 21 91 72 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "int1_i[0..0]" (rect 0 0 51 12)(font "Arial" ))
		(text "int1_i[0..0]" (rect 21 107 72 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "all_t0_i[0..0]" (rect 0 0 60 12)(font "Arial" ))
		(text "all_t0_i[0..0]" (rect 21 123 81 135)(font "Arial" ))
		(line (pt 0 128)(pt 16 128)(line_width 3))
	)
	(port
		(pt 0 144)
		(input)
		(text "all_t1_i[0..0]" (rect 0 0 60 12)(font "Arial" ))
		(text "all_t1_i[0..0]" (rect 21 139 81 151)(font "Arial" ))
		(line (pt 0 144)(pt 16 144)(line_width 3))
	)
	(port
		(pt 0 160)
		(input)
		(text "all_rxd_i[0..0]" (rect 0 0 66 12)(font "Arial" ))
		(text "all_rxd_i[0..0]" (rect 21 155 87 167)(font "Arial" ))
		(line (pt 0 160)(pt 16 160)(line_width 3))
	)
	(port
		(pt 0 176)
		(input)
		(text "p0_i[7..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "p0_i[7..0]" (rect 21 171 67 183)(font "Arial" ))
		(line (pt 0 176)(pt 16 176)(line_width 3))
	)
	(port
		(pt 0 192)
		(input)
		(text "p1_i[7..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "p1_i[7..0]" (rect 21 187 67 199)(font "Arial" ))
		(line (pt 0 192)(pt 16 192)(line_width 3))
	)
	(port
		(pt 0 208)
		(input)
		(text "p2_i[7..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "p2_i[7..0]" (rect 21 203 67 215)(font "Arial" ))
		(line (pt 0 208)(pt 16 208)(line_width 3))
	)
	(port
		(pt 0 224)
		(input)
		(text "p3_i[7..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "p3_i[7..0]" (rect 21 219 67 231)(font "Arial" ))
		(line (pt 0 224)(pt 16 224)(line_width 3))
	)
	(port
		(pt 0 240)
		(input)
		(text "datax_i[7..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "datax_i[7..0]" (rect 21 235 82 247)(font "Arial" ))
		(line (pt 0 240)(pt 16 240)(line_width 3))
	)
	(port
		(pt 248 32)
		(output)
		(text "p0_o[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "p0_o[7..0]" (rect 168 27 217 39)(font "Arial" ))
		(line (pt 248 32)(pt 232 32)(line_width 3))
	)
	(port
		(pt 248 48)
		(output)
		(text "p1_o[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "p1_o[7..0]" (rect 168 43 217 55)(font "Arial" ))
		(line (pt 248 48)(pt 232 48)(line_width 3))
	)
	(port
		(pt 248 64)
		(output)
		(text "p2_o[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "p2_o[7..0]" (rect 168 59 217 71)(font "Arial" ))
		(line (pt 248 64)(pt 232 64)(line_width 3))
	)
	(port
		(pt 248 80)
		(output)
		(text "p3_o[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "p3_o[7..0]" (rect 168 75 217 87)(font "Arial" ))
		(line (pt 248 80)(pt 232 80)(line_width 3))
	)
	(port
		(pt 248 96)
		(output)
		(text "all_rxd_o[0..0]" (rect 0 0 69 12)(font "Arial" ))
		(text "all_rxd_o[0..0]" (rect 139 91 208 103)(font "Arial" ))
		(line (pt 248 96)(pt 232 96)(line_width 3))
	)
	(port
		(pt 248 112)
		(output)
		(text "all_txd_o[0..0]" (rect 0 0 69 12)(font "Arial" ))
		(text "all_txd_o[0..0]" (rect 139 107 208 119)(font "Arial" ))
		(line (pt 248 112)(pt 232 112)(line_width 3))
	)
	(port
		(pt 248 128)
		(output)
		(text "all_rxdwr_o[0..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "all_rxdwr_o[0..0]" (rect 127 123 207 135)(font "Arial" ))
		(line (pt 248 128)(pt 232 128)(line_width 3))
	)
	(port
		(pt 248 144)
		(output)
		(text "rom_adr_o[15..0]" (rect 0 0 83 12)(font "Arial" ))
		(text "rom_adr_o[15..0]" (rect 133 139 216 151)(font "Arial" ))
		(line (pt 248 144)(pt 232 144)(line_width 3))
	)
	(port
		(pt 248 160)
		(output)
		(text "ram_data_o[7..0]" (rect 0 0 83 12)(font "Arial" ))
		(text "ram_data_o[7..0]" (rect 133 155 216 167)(font "Arial" ))
		(line (pt 248 160)(pt 232 160)(line_width 3))
	)
	(port
		(pt 248 176)
		(output)
		(text "ram_adr_o[6..0]" (rect 0 0 77 12)(font "Arial" ))
		(text "ram_adr_o[6..0]" (rect 139 171 216 183)(font "Arial" ))
		(line (pt 248 176)(pt 232 176)(line_width 3))
	)
	(port
		(pt 248 192)
		(output)
		(text "ram_wr_o" (rect 0 0 47 12)(font "Arial" ))
		(text "ram_wr_o" (rect 180 187 227 199)(font "Arial" ))
		(line (pt 248 192)(pt 232 192)(line_width 1))
	)
	(port
		(pt 248 208)
		(output)
		(text "ram_en_o" (rect 0 0 48 12)(font "Arial" ))
		(text "ram_en_o" (rect 180 203 228 215)(font "Arial" ))
		(line (pt 248 208)(pt 232 208)(line_width 1))
	)
	(port
		(pt 248 224)
		(output)
		(text "datax_o[7..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "datax_o[7..0]" (rect 151 219 215 231)(font "Arial" ))
		(line (pt 248 224)(pt 232 224)(line_width 3))
	)
	(port
		(pt 248 240)
		(output)
		(text "adrx_o[15..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "adrx_o[15..0]" (rect 151 235 215 247)(font "Arial" ))
		(line (pt 248 240)(pt 232 240)(line_width 3))
	)
	(port
		(pt 248 256)
		(output)
		(text "wrx_o" (rect 0 0 28 12)(font "Arial" ))
		(text "wrx_o" (rect 198 251 226 263)(font "Arial" ))
		(line (pt 248 256)(pt 232 256)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 232 272)(line_width 1))
	)
)
(symbol
	(rect 312 56 360 88)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst5" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 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))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 72 432 288 568)
	(text "mc8051_ramx" (rect 64 1 160 17)(font "Arial" (font_size 10)))
	(text "inst3" (rect 8 123 31 135)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 4 20 57 34)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 88 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "wren" (rect 4 36 34 50)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 88 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "address[11..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "address[11..0]" (rect 4 52 86 66)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 88 64)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 4 100 33 114)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 144 112)(line_width 1))
	)
	(port
		(pt 216 32)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 164 20 199 34)(font "Arial" (font_size 8)))
		(line (pt 216 32)(pt 160 32)(line_width 3))
	)
	(drawing
		(text "8 bits" (rect 109 45 121 72)(font "Arial" )(vertical))
		(text "4096 words" (rect 121 35 133 90)(font "Arial" )(vertical))
		(text "Block type: AUTO" (rect 41 117 130 129)(font "Arial" ))
		(line (pt 104 24)(pt 136 24)(line_width 1))
		(line (pt 136 24)(pt 136 96)(line_width 1))
		(line (pt 136 96)(pt 104 96)(line_width 1))
		(line (pt 104 96)(pt 104 24)(line_width 1))
		(line (pt 118 58)(pt 123 63)(line_width 1))
		(line (pt 118 62)(pt 123 57)(line_width 1))
		(line (pt 88 27)(pt 96 27)(line_width 1))
		(line (pt 96 27)(pt 96 39)(line_width 1))
		(line (pt 96 39)(pt 88 39)(line_width 1))
		(line (pt 88 39)(pt 88 27)(line_width 1))
		(line (pt 88 34)(pt 90 36)(line_width 1))
		(line (pt 90 36)(pt 88 38)(line_width 1))
		(line (pt 80 36)(pt 88 36)(line_width 1))
		(line (pt 96 32)(pt 104 32)(line_width 3))
		(line (pt 152 27)(pt 160 27)(line_width 1))
		(line (pt 160 27)(pt 160 39)(line_width 1))
		(line (pt 160 39)(pt 152 39)(line_width 1))
		(line (pt 152 39)(pt 152 27)(line_width 1))
		(line (pt 152 34)(pt 154 36)(line_width 1))
		(line (pt 154 36)(pt 152 38)(line_width 1))
		(line (pt 144 36)(pt 152 36)(line_width 1))
		(line (pt 136 32)(pt 152 32)(line_width 3))
		(line (pt 88 43)(pt 96 43)(line_width 1))
		(line (pt 96 43)(pt 96 55)(line_width 1))

⌨️ 快捷键说明

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