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

📄 buffer422.bdf

📁 一个同步422接口控制器的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 -136 88 32 104)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk_in" (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 -184 104 -136 120))
)
(pin
	(input)
	(rect -136 72 32 88)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "data_in" (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 -184 88 -136 104))
)
(pin
	(input)
	(rect -136 24 32 40)
	(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 -184 40 -136 56))
)
(pin
	(input)
	(rect -136 8 32 24)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "rst" (rect 5 0 17 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 -184 24 -136 40))
)
(pin
	(output)
	(rect 640 160 816 176)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "clk_out" (rect 90 0 125 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 816 176 864 192))
)
(pin
	(output)
	(rect 640 144 816 160)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "data_out" (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 816 160 864 176))
)
(pin
	(output)
	(rect 640 128 816 144)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "rdreq" (rect 90 0 114 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 832 112 880 128))
)
(symbol
	(rect 112 88 144 104)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst2" (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 152 48 312 216)
	(text "lpm_fifo0" (rect 55 1 115 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 8 152 31 164)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[0]" (rect 0 0 38 14)(font "Arial" (font_size 8)))
		(text "data[0]" (rect 20 26 58 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "wrreq" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "wrreq" (rect 20 50 55 64)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "wrclk" (rect 0 0 31 14)(font "Arial" (font_size 8)))
		(text "wrclk" (rect 26 66 57 80)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "rdreq" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "rdreq" (rect 20 98 50 112)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "rdclk" (rect 0 0 27 14)(font "Arial" (font_size 8)))
		(text "rdclk" (rect 26 114 53 128)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 16 120)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "aclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
		(text "aclr" (rect 20 138 41 152)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 160 96)
		(output)
		(text "q[0]" (rect 0 0 21 14)(font "Arial" (font_size 8)))
		(text "q[0]" (rect 123 90 144 104)(font "Arial" (font_size 8)))
		(line (pt 160 96)(pt 144 96)(line_width 1))
	)
	(port
		(pt 160 120)
		(output)
		(text "rdusedw[16..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "rdusedw[16..0]" (rect 67 114 154 128)(font "Arial" (font_size 8)))
		(line (pt 160 120)(pt 144 120)(line_width 3))
	)
	(drawing
		(text "1 bit x 131072 words" (rect 58 140 159 152)(font "Arial" ))
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 144 16)(pt 144 152)(line_width 1))
		(line (pt 144 152)(pt 16 152)(line_width 1))
		(line (pt 16 152)(pt 16 16)(line_width 1))
		(line (pt 16 84)(pt 144 84)(line_width 1))
		(line (pt 16 132)(pt 144 132)(line_width 1))
		(line (pt 16 66)(pt 22 72)(line_width 1))
		(line (pt 22 72)(pt 16 78)(line_width 1))
		(line (pt 16 114)(pt 22 120)(line_width 1))
		(line (pt 22 120)(pt 16 126)(line_width 1))
	)
)
(symbol
	(rect 400 88 552 248)
	(text "buff_control" (rect 5 0 65 12)(font "Arial" ))
	(text "inst" (rect 8 144 25 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 27 33 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 43 35 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "tdin" (rect 0 0 17 12)(font "Arial" ))
		(text "tdin" (rect 21 59 38 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "rdusedw[16..0]" (rect 0 0 71 12)(font "Arial" ))
		(text "rdusedw[16..0]" (rect 21 75 92 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "data_in" (rect 0 0 35 12)(font "Arial" ))
		(text "data_in" (rect 21 91 56 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "clk_in" (rect 0 0 28 12)(font "Arial" ))
		(text "clk_in" (rect 21 107 49 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 152 32)
		(output)
		(text "aclr" (rect 0 0 17 12)(font "Arial" ))
		(text "aclr" (rect 114 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 1))
	)
	(port
		(pt 152 48)
		(output)
		(text "rdreq" (rect 0 0 24 12)(font "Arial" ))
		(text "rdreq" (rect 107 43 131 55)(font "Arial" ))
		(line (pt 152 48)(pt 136 48)(line_width 1))
	)
	(port
		(pt 152 64)
		(output)
		(text "dout" (rect 0 0 21 12)(font "Arial" ))
		(text "dout" (rect 110 59 131 71)(font "Arial" ))
		(line (pt 152 64)(pt 136 64)(line_width 1))
	)
	(port
		(pt 152 80)
		(output)
		(text "clout" (rect 0 0 23 12)(font "Arial" ))
		(text "clout" (rect 108 75 131 87)(font "Arial" ))
		(line (pt 152 80)(pt 136 80)(line_width 1))
	)
	(port
		(pt 152 96)
		(output)
		(text "rdclk" (rect 0 0 23 12)(font "Arial" ))
		(text "rdclk" (rect 108 91 131 103)(font "Arial" ))
		(line (pt 152 96)(pt 136 96)(line_width 1))
	)
	(port
		(pt 152 112)
		(output)
		(text "data" (rect 0 0 21 12)(font "Arial" ))
		(text "data" (rect 110 107 131 119)(font "Arial" ))
		(line (pt 152 112)(pt 136 112)(line_width 1))
	)
	(port
		(pt 152 128)
		(output)
		(text "wrclk" (rect 0 0 24 12)(font "Arial" ))
		(text "wrclk" (rect 107 123 131 135)(font "Arial" ))
		(line (pt 152 128)(pt 136 128)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 136 144)(line_width 1))
	)
)
(connector
	(pt 312 144)
	(pt 328 144)
)
(connector
	(pt 328 144)
	(pt 328 152)
)
(connector
	(pt 328 152)
	(pt 400 152)
)
(connector
	(pt 400 136)
	(pt 344 136)
)
(connector
	(pt 400 120)
	(pt 360 120)
)
(connector
	(pt 152 168)
	(pt 136 168)
)
(connector
	(pt 152 152)
	(pt 120 152)
)
(connector
	(pt 152 192)
	(pt 104 192)
)
(connector
	(pt 152 104)
	(pt 128 104)
)
(connector
	(pt 104 192)
	(pt 104 288)
)
(connector
	(pt 120 152)
	(pt 120 272)
)
(connector
	(pt 136 168)
	(pt 136 256)
)
(connector
	(pt 360 304)
	(pt 360 184)
)
(connector
	(pt 360 184)
	(pt 400 184)
)
(connector
	(pt 400 200)
	(pt 376 200)
)
(connector
	(pt 376 200)
	(pt 376 320)
)
(connector
	(pt 344 136)
	(pt 344 32)
)
(connector
	(pt 32 32)
	(pt 344 32)
)
(connector
	(pt 360 120)
	(pt 360 16)
)
(connector
	(pt 32 16)
	(pt 360 16)
)
(connector
	(pt 152 80)
	(pt 104 80)
)
(connector
	(pt 104 104)
	(pt 104 80)
)
(connector
	(pt 152 120)
	(pt 88 120)
)
(connector
	(pt 104 104)
	(pt 72 104)
)
(connector
	(pt 360 304)
	(pt 56 304)
)
(connector
	(pt 56 304)
	(pt 56 80)
)
(connector
	(pt 32 80)
	(pt 56 80)
)
(connector
	(pt 376 320)
	(pt 40 320)
)
(connector
	(pt 32 96)
	(pt 40 96)
)
(connector
	(pt 40 96)
	(pt 40 320)
)
(connector
	(pt 88 336)
	(pt 88 120)
)
(connector
	(pt 624 120)
	(pt 624 288)
)
(connector
	(pt 104 288)
	(pt 624 288)
)
(connector
	(pt 608 136)
	(pt 608 272)
)
(connector
	(pt 120 272)
	(pt 608 272)
)
(connector
	(pt 136 256)
	(pt 592 256)
)
(connector
	(pt 88 336)
	(pt 560 336)
)
(connector
	(pt 576 352)
	(pt 72 352)
)
(connector
	(pt 72 352)
	(pt 72 104)
)
(connector
	(pt 312 168)
	(pt 400 168)
	(bus)
)
(connector
	(pt 552 152)
	(pt 640 152)
)
(connector
	(pt 552 120)
	(pt 624 120)
)
(connector
	(pt 552 136)
	(pt 608 136)
)
(connector
	(pt 608 136)
	(pt 640 136)
)
(connector
	(pt 560 216)
	(pt 560 336)
)
(connector
	(pt 560 216)
	(pt 552 216)
)
(connector
	(pt 576 200)
	(pt 576 352)
)
(connector
	(pt 576 200)
	(pt 552 200)
)
(connector
	(pt 552 168)
	(pt 640 168)
)
(connector
	(pt 552 184)
	(pt 592 184)
)
(connector
	(pt 592 184)
	(pt 592 256)
)
(junction (pt 608 136))

⌨️ 快捷键说明

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