pipemult.bdf

来自「使用Quartus II 5.0开发指导手册」· BDF 代码 · 共 288 行

BDF
288
字号
/*
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 320 328 488 344)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "wraddress[4..0]" (rect 5 0 80 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)))
)
(pin
	(input)
	(rect 320 344 488 360)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "rdaddress[4..0]" (rect 5 0 79 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)))
)
(pin
	(input)
	(rect 320 360 488 376)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "wren" (rect 5 0 27 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)))
)
(pin
	(input)
	(rect 56 120 224 136)
	(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)))
)
(pin
	(input)
	(rect 56 144 224 160)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "dataa[7..0]" (rect 5 0 58 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)))
)
(pin
	(input)
	(rect 56 176 224 192)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "datab[7..0]" (rect 5 0 58 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)))
)
(pin
	(output)
	(rect 688 296 864 312)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "q[15..0]" (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))
	)
)
(symbol
	(rect 240 96 408 208)
	(text "mult" (rect 72 1 101 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 96 25 108)(font "Arial" ))
	(port
		(pt 0 56)
		(input)
		(text "dataa[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "dataa[7..0]" (rect 4 43 64 57)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 72 56)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "datab[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "datab[7..0]" (rect 4 75 64 89)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 72 88)(line_width 3))
	)
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 4 19 33 33)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 88 32)(line_width 1))
	)
	(port
		(pt 168 72)
		(output)
		(text "result[15..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[15..0]" (rect 108 59 175 73)(font "Arial" (font_size 8)))
		(line (pt 168 72)(pt 104 72)(line_width 3))
	)
	(drawing
		(text "Unsigned" (rect 105 73 151 85)(font "Arial" ))
		(text "multiplication" (rect 105 83 168 95)(font "Arial" ))
		(line (pt 82 66)(pt 94 78)(line_width 3))
		(line (pt 82 78)(pt 94 66)(line_width 3))
		(line (pt 72 56)(pt 77 61)(line_width 3))
		(line (pt 72 88)(pt 77 83)(line_width 3))
		(line (pt 88 32)(pt 88 56)(line_width 1))
		(circle (rect 72 56 104 88)(line_width 1))
	)
)
(symbol
	(rect 504 272 672 400)
	(text "ram" (rect 5 0 23 12)(font "Arial" ))
	(text "inst1" (rect 8 112 31 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "data[15..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "data[15..0]" (rect 21 43 74 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "wraddress[4..0]" (rect 0 0 75 12)(font "Arial" ))
		(text "wraddress[4..0]" (rect 21 59 96 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "rdaddress[4..0]" (rect 0 0 74 12)(font "Arial" ))
		(text "rdaddress[4..0]" (rect 21 75 95 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "wren" (rect 0 0 22 12)(font "Arial" ))
		(text "wren" (rect 21 91 43 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 168 32)
		(output)
		(text "q[15..0]" (rect 0 0 37 12)(font "Arial" ))
		(text "q[15..0]" (rect 110 27 147 39)(font "Arial" ))
		(line (pt 168 32)(pt 152 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 152 112)(line_width 1))
	)
)
(connector
	(pt 224 152)
	(pt 240 152)
	(bus)
)
(connector
	(pt 224 184)
	(pt 240 184)
	(bus)
)
(connector
	(pt 688 304)
	(pt 672 304)
	(bus)
)
(connector
	(pt 488 336)
	(pt 504 336)
	(bus)
)
(connector
	(pt 488 352)
	(pt 504 352)
	(bus)
)
(connector
	(pt 488 368)
	(pt 504 368)
)
(connector
	(pt 408 168)
	(pt 456 168)
	(bus)
)
(connector
	(pt 456 168)
	(pt 456 320)
	(bus)
)
(connector
	(pt 456 320)
	(pt 504 320)
	(bus)
)
(connector
	(pt 232 128)
	(pt 232 304)
)
(connector
	(pt 232 304)
	(pt 504 304)
)
(connector
	(pt 224 128)
	(pt 232 128)
)
(connector
	(pt 232 128)
	(pt 240 128)
)
(junction (pt 232 128))

⌨️ 快捷键说明

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