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

📄 lab4.bdf

📁 Altare公司训练新人的练习题下载.rar FPGA/CPLD
💻 BDF
字号:
//WARNING: Do NOT edit this file in a text editor! File corruption is VERY likely to occur.
/*
Copyright (C) 1988-1999 Altera Corporation
Any megafunction design, and related net list (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, net list, 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,
net list, 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.1"))
(pin (input)(rect 32 200 200 216)(text "INPUT"(rect 133 -1 157 9)(font "Arial"(font_size 6)))(text "datab[3..0]"(rect 20 1 71 15)(font "Arial"(font_size 8)))(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 153 17)(font "Arial"(font_size 6))))
(pin (input)(rect 32 112 200 128)(text "INPUT"(rect 133 -1 157 9)(font "Arial"(font_size 6)))(text "dataa[3..0]"(rect 20 1 71 15)(font "Arial"(font_size 8)))(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 153 17)(font "Arial"(font_size 6))))
(pin (input)(rect 48 40 216 56)(text "INPUT"(rect 133 -1 157 9)(font "Arial"(font_size 6)))(text "clk2"(rect 52 1 71 15)(font "Arial"(font_size 8)))(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 153 17)(font "Arial"(font_size 6))))
(pin (input)(rect 32 216 200 232)(text "INPUT"(rect 133 -1 157 9)(font "Arial"(font_size 6)))(text "clk1"(rect 52 1 71 15)(font "Arial"(font_size 8)))(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 153 17)(font "Arial"(font_size 6))))
(pin (output)(rect 760 88 936 104)(text "OUTPUT"(rect 1 -1 34 9)(font "Arial"(font_size 6)))(text "clk2_out[7..0]"(rect 90 0 154 14)(font "Arial"(font_size 8)))(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 760 184 936 200)(text "OUTPUT"(rect 1 -1 34 9)(font "Arial"(font_size 6)))(text "clk1_out[7..0]"(rect 90 0 154 14)(font "Arial"(font_size 8)))(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 224 184 288 264)(text "DFF"(rect 1 -1 17 9)(font "Arial"(font_size 6)))(text "4"(rect 1 70 5 80)(font "Arial"(font_size 6)))
	(port (pt 32 80)(input)(text "CLRN"(rect 21 59 26 71)(font "Courier New"(bold)))(text "CLRN"(rect 21 59 41 71)(font "Courier New"(bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1)))
	(port (pt 0 40)(input)(text "CLK"(rect 3 29 8 41)(font "Courier New"(bold))(invisible))(text "CLK"(rect 3 29 18 41)(font "Courier New"(bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1)))
	(port (pt 0 24)(input)(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1)))
	(port (pt 32 0)(input)(text "PRN"(rect 24 13 29 25)(font "Courier New"(bold)))(text "PRN"(rect 24 13 39 25)(font "Courier New"(bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1)))
	(port (pt 64 24)(output)(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1)))
	(drawing 
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))(circle (rect 28 4 36 12)(line_width 1))(circle (rect 28 68 36 76)(line_width 1))))
(symbol (rect 224 96 288 176)(text "DFF"(rect 1 -1 17 9)(font "Arial"(font_size 6)))(text "17"(rect 1 70 9 80)(font "Arial"(font_size 6)))
	(port (pt 32 80)(input)(text "CLRN"(rect 21 59 26 71)(font "Courier New"(bold)))(text "CLRN"(rect 21 59 41 71)(font "Courier New"(bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1)))
	(port (pt 0 40)(input)(text "CLK"(rect 3 29 8 41)(font "Courier New"(bold))(invisible))(text "CLK"(rect 3 29 18 41)(font "Courier New"(bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1)))
	(port (pt 0 24)(input)(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1)))
	(port (pt 32 0)(input)(text "PRN"(rect 24 13 29 25)(font "Courier New"(bold)))(text "PRN"(rect 24 13 39 25)(font "Courier New"(bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1)))
	(port (pt 64 24)(output)(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1)))
	(drawing 
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))(circle (rect 28 4 36 12)(line_width 1))(circle (rect 28 68 36 76)(line_width 1))))
(symbol (rect 680 72 744 152)(text "DFF"(rect 1 -1 17 9)(font "Arial"(font_size 6)))(text "11"(rect 1 70 9 80)(font "Arial"(font_size 6)))
	(port (pt 32 80)(input)(text "CLRN"(rect 21 59 26 71)(font "Courier New"(bold)))(text "CLRN"(rect 21 59 41 71)(font "Courier New"(bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1)))
	(port (pt 0 40)(input)(text "CLK"(rect 3 29 8 41)(font "Courier New"(bold))(invisible))(text "CLK"(rect 3 29 18 41)(font "Courier New"(bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1)))
	(port (pt 0 24)(input)(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1)))
	(port (pt 32 0)(input)(text "PRN"(rect 24 13 29 25)(font "Courier New"(bold)))(text "PRN"(rect 24 13 39 25)(font "Courier New"(bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1)))
	(port (pt 64 24)(output)(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1)))
	(drawing 
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))(circle (rect 28 4 36 12)(line_width 1))(circle (rect 28 68 36 76)(line_width 1))))
(symbol (rect 680 168 744 248)(text "DFF"(rect 1 -1 17 9)(font "Arial"(font_size 6)))(text "12"(rect 1 70 9 80)(font "Arial"(font_size 6)))
	(port (pt 32 80)(input)(text "CLRN"(rect 21 59 26 71)(font "Courier New"(bold)))(text "CLRN"(rect 21 59 41 71)(font "Courier New"(bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1)))
	(port (pt 0 40)(input)(text "CLK"(rect 3 29 8 41)(font "Courier New"(bold))(invisible))(text "CLK"(rect 3 29 18 41)(font "Courier New"(bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1)))
	(port (pt 0 24)(input)(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))(text "D"(rect 14 20 19 32)(font "Courier New"(bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1)))
	(port (pt 32 0)(input)(text "PRN"(rect 24 13 29 25)(font "Courier New"(bold)))(text "PRN"(rect 24 13 39 25)(font "Courier New"(bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1)))
	(port (pt 64 24)(output)(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))(text "Q"(rect 45 20 50 32)(font "Courier New"(bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1)))
	(drawing 
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))(circle (rect 28 4 36 12)(line_width 1))(circle (rect 28 68 36 76)(line_width 1))))
(symbol (rect 368 136 536 232)(text "mymult"(rect 63 1 106 17)(font "Arial"(font_size 10)))(text "inst1"(rect 8 80 28 92)(font "Arial"))
	(port (pt 0 40)(input)(text "dataa[3..0]"(rect 0 0 51 14)(font "Arial"(font_size 8)))(text "dataa[3..0]"(rect 4 27 55 41)(font "Arial"(font_size 8)))
		(line (pt 0 40)(pt 72 40)(line_width 3)))
	(port (pt 0 72)(input)(text "datab[3..0]"(rect 0 0 51 14)(font "Arial"(font_size 8)))(text "datab[3..0]"(rect 4 59 55 73)(font "Arial"(font_size 8)))
		(line (pt 0 72)(pt 72 72)(line_width 3)))
	(port (pt 168 56)(output)(text "result[7..0]"(rect 0 0 51 14)(font "Arial"(font_size 8)))(text "result[7..0]"(rect 114 43 165 57)(font "Arial"(font_size 8)))
		(line (pt 168 56)(pt 104 56)(line_width 3)))
	(drawing (text "Unsigned"(rect 105 57 144 69)(font "Arial"))(text "multiplication"(rect 105 67 159 79)(font "Arial"))
		(line (pt 82 50)(pt 94 62)(line_width 3))
		(line (pt 82 62)(pt 94 50)(line_width 3))
		(line (pt 72 40)(pt 77 45)(line_width 3))
		(line (pt 72 72)(pt 77 67)(line_width 3))(circle (rect 72 40 104 72)(line_width 1))))
(connector (pt 600 208)(pt 680 208))
(connector (pt 624 192)(pt 680 192)(bus))
(connector (text "result[7..0]"(rect 560 176 608 192)(font "Arial"(font_size 8)))(pt 536 192)(pt 624 192)(bus))
(connector (pt 624 96)(pt 680 96)(bus))
(connector (pt 744 96)(pt 760 96)(bus))
(connector (pt 744 192)(pt 760 192)(bus))
(connector (pt 208 304)(pt 600 304))
(connector (pt 200 224)(pt 208 224))
(connector (pt 208 224)(pt 224 224))
(connector (text "datab_reg[3..0]"(rect 288 192 360 208)(font "Arial"(font_size 8)))(pt 288 208)(pt 368 208)(bus))
(connector (pt 200 208)(pt 224 208)(bus))
(connector (pt 200 120)(pt 224 120)(bus))
(connector (pt 208 136)(pt 224 136))
(connector (pt 352 176)(pt 368 176)(bus))
(connector (text "dataa_reg[3..0]"(rect 288 104 360 120)(font "Arial"(font_size 8)))(pt 288 120)(pt 352 120)(bus))
(connector (pt 536 112)(pt 680 112))
(connector (pt 216 48)(pt 536 48))
(connector (pt 624 192)(pt 624 96)(bus))
(connector (pt 600 304)(pt 600 208))
(connector (pt 208 304)(pt 208 224))
(connector (pt 208 224)(pt 208 136))
(connector (pt 352 176)(pt 352 120)(bus))
(connector (pt 536 112)(pt 536 48))
(junction (pt 624 192))
(junction (pt 208 224))

⌨️ 快捷键说明

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