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

📄 pipemult.bdf

📁 该源码实现了一个8*8位的乘法器
💻 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-2005 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect -16 144 152 160)
	(text "INPUT" (rect 133 0 161 9)(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 -16 168 152 184)
	(text "INPUT" (rect 133 0 161 9)(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 -16 200 152 216)
	(text "INPUT" (rect 133 0 161 9)(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
	(input)
	(rect -16 264 152 280)
	(text "INPUT" (rect 133 0 161 9)(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 -16 304 152 320)
	(text "INPUT" (rect 133 0 161 9)(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 -16 280 152 296)
	(text "INPUT" (rect 133 0 161 9)(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
	(output)
	(rect 768 304 944 320)
	(text "OUTPUT" (rect 1 0 34 9)(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 168 120 336 232)
	(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))
	)
	(parameter
		"LPM_PIPELINE"
		"2"
		"Output latency in clock cycles.requires use of optional"
	)
	(drawing
		(text "Unsigned" (rect 105 73 144 85)(font "Arial" ))
		(text "multiplication" (rect 105 83 159 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))
	)
	(annotation_block (parameter)(rect 336 88 448 120))
)
(symbol
	(rect 480 224 736 368)
	(text "lpm_ram_dp0" (rect 89 1 181 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 8 128 31 140)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "data[15..0]" (rect 4 19 64 33)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 112 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "wraddress[4..0]" (rect 0 0 92 14)(font "Arial" (font_size 8)))
		(text "wraddress[4..0]" (rect 4 35 96 49)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 112 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "wren" (rect 4 51 34 65)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 112 64)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "rdaddress[4..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "rdaddress[4..0]" (rect 4 75 91 89)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 112 88)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 4 99 33 113)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 104 112)(line_width 1))
	)
	(port
		(pt 256 88)
		(output)
		(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[15..0]" (rect 217 75 259 89)(font "Arial" (font_size 8)))
		(line (pt 256 88)(pt 168 88)(line_width 3))
	)
	(drawing
		(text "512 Bit(s)" (rect 136 40 148 80)(font "Arial" )(vertical))
		(text "RAM" (rect 149 50 161 70)(font "Arial" )(vertical))
		(text "Block Type: AUTO" (rect 41 124 119 136)(font "Arial" ))
		(line (pt 128 24)(pt 168 24)(line_width 1))
		(line (pt 168 24)(pt 168 96)(line_width 1))
		(line (pt 168 96)(pt 128 96)(line_width 1))
		(line (pt 128 96)(pt 128 24)(line_width 1))
		(line (pt 112 27)(pt 120 27)(line_width 1))
		(line (pt 120 27)(pt 120 39)(line_width 1))
		(line (pt 120 39)(pt 112 39)(line_width 1))
		(line (pt 112 39)(pt 112 27)(line_width 1))
		(line (pt 112 34)(pt 114 36)(line_width 1))
		(line (pt 114 36)(pt 112 38)(line_width 1))
		(line (pt 104 36)(pt 112 36)(line_width 1))
		(line (pt 120 32)(pt 128 32)(line_width 3))
		(line (pt 112 43)(pt 120 43)(line_width 1))
		(line (pt 120 43)(pt 120 55)(line_width 1))
		(line (pt 120 55)(pt 112 55)(line_width 1))
		(line (pt 112 55)(pt 112 43)(line_width 1))
		(line (pt 112 50)(pt 114 52)(line_width 1))
		(line (pt 114 52)(pt 112 54)(line_width 1))
		(line (pt 104 52)(pt 112 52)(line_width 1))
		(line (pt 120 48)(pt 128 48)(line_width 3))
		(line (pt 112 59)(pt 120 59)(line_width 1))
		(line (pt 120 59)(pt 120 71)(line_width 1))
		(line (pt 120 71)(pt 112 71)(line_width 1))
		(line (pt 112 71)(pt 112 59)(line_width 1))
		(line (pt 112 66)(pt 114 68)(line_width 1))
		(line (pt 114 68)(pt 112 70)(line_width 1))
		(line (pt 104 68)(pt 112 68)(line_width 1))
		(line (pt 120 64)(pt 128 64)(line_width 1))
		(line (pt 112 83)(pt 120 83)(line_width 1))
		(line (pt 120 83)(pt 120 95)(line_width 1))
		(line (pt 120 95)(pt 112 95)(line_width 1))
		(line (pt 112 95)(pt 112 83)(line_width 1))
		(line (pt 112 90)(pt 114 92)(line_width 1))
		(line (pt 114 92)(pt 112 94)(line_width 1))
		(line (pt 104 92)(pt 112 92)(line_width 1))
		(line (pt 120 88)(pt 128 88)(line_width 3))
		(line (pt 104 36)(pt 104 113)(line_width 1))
	)
)
(connector
	(pt 152 208)
	(pt 168 208)
	(bus)
)
(connector
	(pt 336 192)
	(pt 456 192)
	(bus)
)
(connector
	(pt 456 192)
	(pt 456 256)
	(bus)
)
(connector
	(pt 456 256)
	(pt 480 256)
	(bus)
)
(connector
	(pt 152 272)
	(pt 480 272)
	(bus)
)
(connector
	(pt 152 312)
	(pt 480 312)
	(bus)
)
(connector
	(pt 152 288)
	(pt 480 288)
)
(connector
	(pt 736 312)
	(pt 768 312)
	(bus)
)
(connector
	(pt 480 336)
	(pt 160 336)
)
(connector
	(pt 152 176)
	(pt 168 176)
	(bus)
)
(connector
	(pt 160 152)
	(pt 160 336)
)
(connector
	(pt 152 152)
	(pt 160 152)
)
(connector
	(pt 160 152)
	(pt 168 152)
)
(junction (pt 160 152))

⌨️ 快捷键说明

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