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

📄 deb_i2c.bdf

📁 I2C总线的verilog 程序
💻 BDF
字号:
/*
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-2006 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 40 112 208 128)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "pld_CLEAR_n" (rect 5 0 73 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 160 64 176))
)
(pin
	(input)
	(rect 40 96 208 112)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk1" (rect 5 0 25 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 32 64 80 80))
)
(pin
	(output)
	(rect 376 128 552 144)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "HC_CP" (rect 90 0 127 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))
	)
)
(pin
	(output)
	(rect 376 144 552 160)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "HC_SI" (rect 90 0 123 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))
	)
)
(pin
	(bidir)
	(rect 408 96 584 112)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "I2C_sda" (rect 90 0 131 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 616 80 664 96))
)
(pin
	(bidir)
	(rect 408 112 584 128)
	(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
	(text "I2C_clk" (rect 90 0 127 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 624 112 672 128))
)
(symbol
	(rect 224 72 320 200)
	(text "i2c_top" (rect 5 0 40 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 124)(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_n" (rect 0 0 24 12)(font "Arial" ))
		(text "rst_n" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 48)
		(output)
		(text "scl" (rect 0 0 14 12)(font "Arial" ))
		(text "scl" (rect 61 43 75 55)(font "Arial" ))
		(line (pt 96 48)(pt 80 48)(line_width 1))
	)
	(port
		(pt 96 64)
		(output)
		(text "hc_cp" (rect 0 0 29 12)(font "Arial" ))
		(text "hc_cp" (rect 46 59 75 71)(font "Arial" ))
		(line (pt 96 64)(pt 80 64)(line_width 1))
	)
	(port
		(pt 96 80)
		(output)
		(text "hc_si" (rect 0 0 25 12)(font "Arial" ))
		(text "hc_si" (rect 50 75 75 87)(font "Arial" ))
		(line (pt 96 80)(pt 80 80)(line_width 1))
	)
	(port
		(pt 96 32)
		(bidir)
		(text "sda" (rect 0 0 17 12)(font "Arial" ))
		(text "sda" (rect 58 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(parameter
		"IDLE"
		"B\"0000001\""
		""
	)
	(parameter
		"WR_BYTE"
		"B\"0000010\""
		""
	)
	(parameter
		"WR_ACK"
		"B\"0000100\""
		""
	)
	(parameter
		"DELAY"
		"B\"0001000\""
		""
	)
	(parameter
		"RD_BYTE"
		"B\"0010000\""
		""
	)
	(parameter
		"RD_ACK"
		"B\"0100000\""
		""
	)
	(parameter
		"SHOW"
		"B\"1000000\""
		""
	)
	(drawing
		(rectangle (rect 16 16 80 112)(line_width 1))
	)
	(annotation_block (parameter)(rect 320 -40 448 72))
)
(connector
	(pt 224 104)
	(pt 208 104)
)
(connector
	(pt 224 120)
	(pt 208 120)
)
(connector
	(pt 320 120)
	(pt 408 120)
)
(connector
	(pt 320 104)
	(pt 408 104)
)
(connector
	(pt 320 136)
	(pt 376 136)
)
(connector
	(pt 320 152)
	(pt 376 152)
)

⌨️ 快捷键说明

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