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

📄 hanshu.bdf

📁 用FPGA做的DDS函数信号发生器
💻 BDF
📖 第 1 页 / 共 3 页
字号:
/*
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 408 208 576 224)
	(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 512 208 600 240))
)
(pin
	(input)
	(rect 464 416 632 432)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "xuanzhe" (rect 5 0 45 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 384 432 472 464))
)
(pin
	(input)
	(rect 168 16 184 184)
	(text "INPUT" (rect 6 133 16 161)(font "Arial" (font_size 6))(vertical))
	(text "m[4..0]" (rect 4 5 16 40)(font "Arial" )(vertical))
	(pt 8 168)
	(drawing
		(line (pt 4 92)(pt 4 117)(line_width 1))
		(line (pt 12 92)(pt 12 117)(line_width 1))
		(line (pt 8 121)(pt 8 168)(line_width 1))
		(line (pt 4 92)(pt 12 92)(line_width 1))
		(line (pt 12 117)(pt 8 121)(line_width 1))
		(line (pt 4 117)(pt 8 121)(line_width 1))
	)
	(rotate270)
	(text "VCC" (rect -1 136 9 156)(font "Arial" (font_size 6))(vertical))
	(annotation_block (location)(rect 72 0 160 88))
)
(pin
	(input)
	(rect 224 -88 240 80)
	(text "INPUT" (rect 6 133 16 161)(font "Arial" (font_size 6))(vertical))
	(text "cp" (rect 4 5 16 16)(font "Arial" )(vertical))
	(pt 8 168)
	(drawing
		(line (pt 4 92)(pt 4 117)(line_width 1))
		(line (pt 12 92)(pt 12 117)(line_width 1))
		(line (pt 8 121)(pt 8 168)(line_width 1))
		(line (pt 4 92)(pt 12 92)(line_width 1))
		(line (pt 12 117)(pt 8 121)(line_width 1))
		(line (pt 4 117)(pt 8 121)(line_width 1))
	)
	(rotate270)
	(text "VCC" (rect -1 136 9 156)(font "Arial" (font_size 6))(vertical))
	(annotation_block (location)(rect 248 -120 336 -88))
)
(pin
	(input)
	(rect 208 -88 224 80)
	(text "INPUT" (rect 6 133 16 161)(font "Arial" (font_size 6))(vertical))
	(text "r" (rect 4 5 16 8)(font "Arial" )(vertical))
	(pt 8 168)
	(drawing
		(line (pt 4 92)(pt 4 117)(line_width 1))
		(line (pt 12 92)(pt 12 117)(line_width 1))
		(line (pt 8 121)(pt 8 168)(line_width 1))
		(line (pt 4 92)(pt 12 92)(line_width 1))
		(line (pt 12 117)(pt 8 121)(line_width 1))
		(line (pt 4 117)(pt 8 121)(line_width 1))
	)
	(rotate270)
	(text "VCC" (rect -1 136 9 156)(font "Arial" (font_size 6))(vertical))
	(annotation_block (location)(rect 120 -104 208 -72))
)
(pin
	(output)
	(rect 808 -16 984 0)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "out[9..0]" (rect 90 0 131 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 840 -192 928 -32))
)
(pin
	(output)
	(rect 872 32 888 208)
	(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
	(text "adc" (rect 0 69 12 86)(font "Arial" )(vertical))
	(pt 8 176)
	(drawing
		(line (pt 8 176)(pt 8 124)(line_width 1))
		(line (pt 4 124)(pt 4 98)(line_width 1))
		(line (pt 12 124)(pt 12 98)(line_width 1))
		(line (pt 12 124)(pt 4 124)(line_width 1))
		(line (pt 4 98)(pt 8 94)(line_width 1))
		(line (pt 8 94)(pt 12 98)(line_width 1))
		(line (pt 12 98)(pt 8 94)(line_width 1))
	)
	(rotate90)
	(annotation_block (location)(rect 840 56 920 88))
)
(pin
	(output)
	(rect 1544 432 1720 448)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "p[19..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 448 72 584 168)
	(text "chuan" (rect 5 0 34 12)(font "Arial" ))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "m[17..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "m[17..0]" (rect 21 27 62 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 136 32)
		(output)
		(text "x[23..0]" (rect 0 0 37 12)(font "Arial" ))
		(text "x[23..0]" (rect 78 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 120 80)(line_width 1))
	)
)
(symbol
	(rect 624 64 784 160)
	(text "JIA" (rect 71 1 92 17)(font "Arial" (font_size 10)))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "dataa[23..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "dataa[23..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 64 40)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "datab[23..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "datab[23..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 64 72)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 4 43 33 57)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 64 56)(line_width 1))
	)
	(port
		(pt 160 56)
		(output)
		(text "result[23..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[23..0]" (rect 100 43 167 57)(font "Arial" (font_size 8)))
		(line (pt 160 56)(pt 96 56)(line_width 3))
	)
	(drawing
		(text "A" (rect 66 34 75 48)(font "Arial" (font_size 8)))
		(text "B" (rect 66 66 74 80)(font "Arial" (font_size 8)))
		(text "A+B" (rect 73 50 97 64)(font "Arial" (font_size 8)))
		(line (pt 64 32)(pt 96 40)(line_width 1))
		(line (pt 96 40)(pt 96 72)(line_width 1))
		(line (pt 96 72)(pt 64 80)(line_width 1))
		(line (pt 64 80)(pt 64 32)(line_width 1))
		(line (pt 64 50)(pt 70 56)(line_width 1))
		(line (pt 70 56)(pt 64 62)(line_width 1))
	)
)
(symbol
	(rect 456 -48 584 48)
	(text "chuan1" (rect 5 0 40 12)(font "Arial" ))
	(text "inst4" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "m[23..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "m[23..0]" (rect 21 27 62 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 128 32)
		(output)
		(text "x[7..0]" (rect 0 0 31 12)(font "Arial" ))
		(text "x[7..0]" (rect 76 27 107 39)(font "Arial" ))
		(line (pt 128 32)(pt 112 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 112 80)(line_width 1))
	)
)
(symbol
	(rect 808 200 856 232)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst7" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 288 224 456 320)
	(text "lpm_mult0" (rect 54 1 124 17)(font "Arial" (font_size 10)))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "dataa[17..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "dataa[17..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 72 40)(line_width 3))
	)
	(port
		(pt 168 56)
		(output)
		(text "result[41..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[41..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
		(line (pt 168 56)(pt 104 56)(line_width 3))
	)
	(drawing
		(text "10000000" (rect 10 59 66 73)(font "Arial" (font_size 8)))
		(text "Unsigned" (rect 105 57 151 69)(font "Arial" ))
		(text "multiplication" (rect 105 67 168 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))
		(line (pt 8 72)(pt 72 72)(line_width 3))
		(circle (rect 72 40 104 72)(line_width 1))
	)
)
(symbol
	(rect 488 232 672 328)
	(text "lpm_divide0" (rect 59 2 138 18)(font "Arial" (font_size 10)))
	(text "inst8" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "numer[41..0]" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "numer[41..0]" (rect 20 18 90 32)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 3))
	)
	(port
		(pt 0 40)
		(input)
		(text "denom[23..0]" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "denom[23..0]" (rect 20 34 93 48)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 3))
	)
	(port
		(pt 184 24)
		(output)
		(text "quotient[41..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "quotient[41..0]" (rect 97 18 177 32)(font "Arial" (font_size 8)))
		(line (pt 184 24)(pt 168 24)(line_width 3))
	)
	(port
		(pt 184 40)
		(output)
		(text "remain[23..0]" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "remain[23..0]" (rect 103 34 176 48)(font "Arial" (font_size 8)))
		(line (pt 184 40)(pt 168 40)(line_width 3))
	)
	(drawing
		(text "Denom is UNSIGNED" (rect 71 68 180 80)(font "Arial" ))
		(text "Numer is UNSIGNED" (rect 73 52 180 64)(font "Arial" ))
		(line (pt 16 16)(pt 16 80)(line_width 1))
		(line (pt 168 16)(pt 168 80)(line_width 1))
		(line (pt 16 16)(pt 168 16)(line_width 1))
		(line (pt 16 80)(pt 168 80)(line_width 1))
	)
)
(symbol
	(rect 360 320 456 416)
	(text "chushu" (rect 5 0 40 12)(font "Arial" ))
	(text "inst10" (rect 8 80 37 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "x" (rect 0 0 5 12)(font "Arial" ))
		(text "x" (rect 21 27 26 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "m1[23..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "m1[23..0]" (rect 28 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 264 72 416 200)
	(text "ADDER4B" (rect 5 0 56 12)(font "Arial" ))
	(text "inst11" (rect 8 112 37 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "cp" (rect 0 0 11 12)(font "Arial" ))
		(text "cp" (rect 21 27 32 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "r" (rect 0 0 3 12)(font "Arial" ))
		(text "r" (rect 21 43 24 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "A18[17..0]" (rect 0 0 50 12)(font "Arial" ))
		(text "A18[17..0]" (rect 21 59 71 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "B18[17..0]" (rect 0 0 50 12)(font "Arial" ))
		(text "B18[17..0]" (rect 21 75 71 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 152 32)
		(bidir)
		(text "S18[17..0]" (rect 0 0 50 12)(font "Arial" ))
		(text "S18[17..0]" (rect 81 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 3))
	)
	(port
		(pt 152 48)
		(bidir)
		(text "CO19" (rect 0 0 28 12)(font "Arial" ))
		(text "CO19" (rect 103 43 131 55)(font "Arial" ))
		(line (pt 152 48)(pt 136 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 136 112)(line_width 1))
	)
)
(symbol
	(rect 824 264 960 392)
	(text "last" (rect 5 0 22 12)(font "Arial" ))
	(text "inst1" (rect 8 112 31 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "xuanzhe" (rect 0 0 40 12)(font "Arial" ))
		(text "xuanzhe" (rect 21 27 61 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "m1[17..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "m1[17..0]" (rect 21 43 68 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "m2[41..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "m2[41..0]" (rect 21 59 68 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "m3" (rect 0 0 15 12)(font "Arial" ))
		(text "m3" (rect 21 75 36 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 136 32)
		(output)
		(text "x[19..0]" (rect 0 0 37 12)(font "Arial" ))
		(text "x[19..0]" (rect 78 27 115 39)(font "Arial" ))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 120 112)(line_width 1))
	)
)
(symbol
	(rect 680 328 800 424)
	(text "last1" (rect 5 0 28 12)(font "Arial" ))
	(text "inst9" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "m2[23..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "m2[23..0]" (rect 21 27 68 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 120 32)
		(output)
		(text "m3" (rect 0 0 15 12)(font "Arial" ))
		(text "m3" (rect 84 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 184 272 280 400)
	(text "M" (rect 0 115 12 123)(font "Arial" )(vertical))
	(text "inst" (rect 80 103 92 120)(font "Arial" )(vertical))
	(port
		(pt 32 128)
		(input)
		(text "m[4..0]" (rect 0 0 35 12)(font "Arial" ))
		(text "m[4..0]" (rect 27 72 39 107)(font "Arial" )(vertical))
		(line (pt 32 128)(pt 32 112)(line_width 3))
	)
	(port
		(pt 32 0)
		(output)
		(text "x[17..0]" (rect 0 0 37 12)(font "Arial" ))
		(text "x[17..0]" (rect 27 21 39 58)(font "Arial" )(vertical))
		(line (pt 32 0)(pt 32 16)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 80 112)(line_width 1))
	)
	(rotate90)
)
(symbol
	(rect 624 -48 784 32)
	(text "sM" (rect 71 1 92 17)(font "Arial" (font_size 10)))

⌨️ 快捷键说明

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