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

📄 i2c_altera.bdf

📁 AV视频信号输入后
💻 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 160 1528 328 1544)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "SYSCLK" (rect 9 0 52 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 64 1544 160 1576))
)
(pin
	(input)
	(rect 192 1080 360 1096)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "RST" (rect 9 0 30 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 104 1096 200 1128))
)
(pin
	(input)
	(rect 1680 832 1848 848)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "PCLK" (rect 5 0 33 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 1536 816 1632 848))
)
(pin
	(input)
	(rect 1680 880 1848 896)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "PDATA[7..0]" (rect 5 0 66 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 1584 896 1672 1024))
)
(pin
	(input)
	(rect 1680 920 1848 936)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "VD_HS" (rect 5 0 41 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 1592 928 1688 960))
)
(pin
	(input)
	(rect 1680 960 1848 976)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "VD_VS" (rect 5 0 40 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 1584 944 1680 976))
)
(pin
	(output)
	(rect 400 832 576 848)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "LEDG[3..0]" (rect 90 0 145 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 576 848 672 920))
)
(pin
	(bidir)
	(rect 1632 1208 1808 1224)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "SCL" (rect 90 0 111 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 56 4)(pt 78 4)(line_width 1))
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 56 12)(pt 78 12)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
		(line (pt 56 4)(pt 52 8)(line_width 1))
		(line (pt 52 8)(pt 56 12)(line_width 1))
	)
	(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 1808 1224 1896 1256))
)
(pin
	(bidir)
	(rect 1632 1192 1808 1208)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "SDA" (rect 90 0 112 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 56 4)(pt 78 4)(line_width 1))
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 56 12)(pt 78 12)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
		(line (pt 56 4)(pt 52 8)(line_width 1))
		(line (pt 52 8)(pt 56 12)(line_width 1))
	)
	(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 1808 1208 1896 1240))
)
(symbol
	(rect 264 808 360 904)
	(text "Led_run" (rect 5 0 43 12)(font "Arial" ))
	(text "inst21" (rect 8 80 37 92)(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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "led[3..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "led[3..0]" (rect 35 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 936 1504 1032 1600)
	(text "clk_gen" (rect 5 0 42 12)(font "Arial" ))
	(text "inst19" (rect 8 80 37 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clkin" (rect 0 0 22 12)(font "Arial" ))
		(text "clkin" (rect 21 27 43 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "clkout" (rect 0 0 29 12)(font "Arial" ))
		(text "clkout" (rect 46 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 856 1024 1056 1184)
	(text "i2c_cmd" (rect 5 0 46 12)(font "Arial" ))
	(text "inst" (rect 8 144 25 156)(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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "busy" (rect 0 0 24 12)(font "Arial" ))
		(text "busy" (rect 21 59 45 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "rom_data[7..0]" (rect 0 0 71 12)(font "Arial" ))
		(text "rom_data[7..0]" (rect 21 75 92 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 200 32)
		(output)
		(text "cmd_stop" (rect 0 0 48 12)(font "Arial" ))
		(text "cmd_stop" (rect 131 27 179 39)(font "Arial" ))
		(line (pt 200 32)(pt 184 32)(line_width 1))
	)
	(port
		(pt 200 48)
		(output)
		(text "cmd_start" (rect 0 0 49 12)(font "Arial" ))
		(text "cmd_start" (rect 130 43 179 55)(font "Arial" ))
		(line (pt 200 48)(pt 184 48)(line_width 1))
	)
	(port
		(pt 200 64)
		(output)
		(text "cmd_send" (rect 0 0 50 12)(font "Arial" ))
		(text "cmd_send" (rect 129 59 179 71)(font "Arial" ))
		(line (pt 200 64)(pt 184 64)(line_width 1))
	)
	(port
		(pt 200 80)
		(output)
		(text "execute" (rect 0 0 38 12)(font "Arial" ))
		(text "execute" (rect 141 75 179 87)(font "Arial" ))
		(line (pt 200 80)(pt 184 80)(line_width 1))
	)
	(port
		(pt 200 96)
		(output)
		(text "i2c_w_finish" (rect 0 0 60 12)(font "Arial" ))
		(text "i2c_w_finish" (rect 119 91 179 103)(font "Arial" ))
		(line (pt 200 96)(pt 184 96)(line_width 1))
	)
	(port
		(pt 200 112)
		(output)
		(text "rom_addr[6..0]" (rect 0 0 71 12)(font "Arial" ))
		(text "rom_addr[6..0]" (rect 108 107 179 119)(font "Arial" ))
		(line (pt 200 112)(pt 184 112)(line_width 3))
	)
	(port
		(pt 200 128)
		(output)
		(text "i2c_data_t[7..0]" (rect 0 0 76 12)(font "Arial" ))
		(text "i2c_data_t[7..0]" (rect 103 123 179 135)(font "Arial" ))
		(line (pt 200 128)(pt 184 128)(line_width 3))
	)
	(parameter
		"GEN_S"
		"32'b00000000000000000000000000000001"
		""
	)
	(parameter
		"S_WAIT"
		"32'b00000000000000000000000000000010"
		""
	)
	(parameter
		"SUBADDR"
		"32'b00000000000000000000000000000101"
		""
	)
	(parameter
		"SUBADDR_ACK"
		"32'b00000000000000000000000000000110"
		""
	)
	(parameter
		"DATA"
		"32'b00000000000000000000000000000111"
		""
	)
	(parameter
		"DATA_ACK"
		"32'b00000000000000000000000000001000"
		""
	)
	(parameter
		"GEN_P"
		"32'b00000000000000000000000000001001"
		""
	)
	(parameter
		"P_WAIT"
		"32'b00000000000000000000000000001010"
		""
	)
	(parameter
		"IDLE"
		"32'b00000000000000000000000000001011"
		""
	)
	(parameter
		"I2C_W_OK"
		"32'b00000000000000000000000000001100"
		""
	)
	(parameter
		"HALT"
		"32'b00000000000000000000000000001101"
		""
	)
	(parameter
		"CREATE_CHIP_RST"
		"32'b00000000000000000000000000001110"
		""
	)
	(drawing
		(rectangle (rect 16 16 184 144)(line_width 1))
	)
	(annotation_block (parameter)(rect 1240 1520 1560 1704))
)
(symbol
	(rect 1272 1032 1304 1048)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst4" (rect 3 5 26 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 1232 1304 1264 1336)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst6" (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 1336 1072 1504 1296)
	(text "I2C" (rect 5 0 22 12)(font "Arial" ))
	(text "inst1" (rect 8 208 31 220)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sysclk" (rect 0 0 33 12)(font "Arial" ))
		(text "sysclk" (rect 21 27 54 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "clk_en" (rect 0 0 31 12)(font "Arial" ))
		(text "clk_en" (rect 21 43 52 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "/reset" (rect 0 0 28 12)(font "Arial" ))
		(text "/reset" (rect 21 59 49 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "Din[7..0]" (rect 0 0 42 12)(font "Arial" ))
		(text "Din[7..0]" (rect 21 75 63 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "Ack_tx" (rect 0 0 34 12)(font "Arial" ))
		(text "Ack_tx" (rect 21 91 55 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)

⌨️ 快捷键说明

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