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

📄 sin_gen1.bdf

📁 用DE2板子实现的正选信号发生器,需安装quartus2软件,硬件需要DE2的开发板
💻 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 32 120 200 136)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk100M" (rect 9 0 49 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 -16 136 32 152))
)
(pin
	(input)
	(rect -56 528 112 544)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "key" (rect 9 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)))
	(annotation_block (location)(rect -112 544 -56 560))
)
(pin
	(output)
	(rect 672 120 848 136)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "am_out[17..0]" (rect 90 0 158 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 208 80 412 208)
	(text "NCO_sin" (rect 5 0 49 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "phi_inc_i[31..0]" (rect 0 0 74 12)(font "Arial" ))
		(text "phi_inc_i[31..0]" (rect 21 27 95 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(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 "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 59 45 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "clken" (rect 0 0 25 12)(font "Arial" ))
		(text "clken" (rect 21 75 46 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 204 32)
		(output)
		(text "fsin_o[7..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "fsin_o[7..0]" (rect 123 27 179 39)(font "Arial" ))
		(line (pt 204 32)(pt 188 32)(line_width 3))
	)
	(port
		(pt 204 48)
		(output)
		(text "data_ready" (rect 0 0 55 12)(font "Arial" ))
		(text "data_ready" (rect 133 43 188 55)(font "Arial" ))
		(line (pt 204 48)(pt 188 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 188 112)(line_width 1))
	)
)
(symbol
	(rect 288 344 448 424)
	(text "lpm_rom0" (rect 52 1 119 17)(font "Arial" (font_size 10)))
	(text "inst4" (rect 8 64 31 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "address[9..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[9..0]" (rect 20 26 95 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 160 40)
		(output)
		(text "q[5..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[5..0]" (rect 111 34 146 48)(font "Arial" (font_size 8)))
		(line (pt 160 40)(pt 144 40)(line_width 3))
	)
	(drawing
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 144 16)(pt 144 64)(line_width 1))
		(line (pt 144 64)(pt 16 64)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 16 42)(pt 22 48)(line_width 1))
		(line (pt 22 48)(pt 16 54)(line_width 1))
	)
)
(symbol
	(rect 96 344 240 440)
	(text "cnt1000" (rect 5 0 43 12)(font "Arial" ))
	(text "inst10" (rect 8 80 37 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk1M" (rect 0 0 28 12)(font "Arial" ))
		(text "clk1M" (rect 21 27 49 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 144 32)
		(output)
		(text "add_out[9..0]" (rect 0 0 64 12)(font "Arial" ))
		(text "add_out[9..0]" (rect 59 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 128 80)(line_width 1))
	)
)
(symbol
	(rect 112 488 288 584)
	(text "am_adjust" (rect 5 0 55 12)(font "Arial" ))
	(text "inst11" (rect 8 80 37 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "keyclk" (rect 0 0 33 12)(font "Arial" ))
		(text "keyclk" (rect 21 27 54 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "key" (rect 0 0 18 12)(font "Arial" ))
		(text "key" (rect 21 43 39 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 176 32)
		(output)
		(text "am_adj_coefi[3..0]" (rect 0 0 92 12)(font "Arial" ))
		(text "am_adj_coefi[3..0]" (rect 63 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 80)(line_width 1))
	)
)
(symbol
	(rect -112 344 40 440)
	(text "multi_clk" (rect 5 0 52 14)(font "Arial" (font_size 8)))
	(text "inst12" (rect 8 80 37 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk100M" (rect 0 0 46 14)(font "Arial" (font_size 8)))
		(text "clk100M" (rect 21 27 67 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 152 32)
		(output)
		(text "clk1M" (rect 0 0 31 14)(font "Arial" (font_size 8)))
		(text "clk1M" (rect 100 27 131 41)(font "Arial" (font_size 8)))
		(line (pt 152 32)(pt 136 32)(line_width 1))
	)
	(port
		(pt 152 48)
		(output)
		(text "keyclk25" (rect 0 0 49 14)(font "Arial" (font_size 8)))
		(text "keyclk25" (rect 82 43 131 57)(font "Arial" (font_size 8)))
		(line (pt 152 48)(pt 136 48)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 136 80)(line_width 1))
	)
)
(symbol
	(rect 480 344 648 440)
	(text "lpm_mult0" (rect 54 1 124 17)(font "Arial" (font_size 10)))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "dataa[5..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "dataa[5..0]" (rect 4 27 64 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 60 14)(font "Arial" (font_size 8)))
		(text "datab[3..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 72 72)(line_width 3))
	)
	(port
		(pt 168 56)
		(output)
		(text "result[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "result[9..0]" (rect 114 43 174 57)(font "Arial" (font_size 8)))
		(line (pt 168 56)(pt 104 56)(line_width 3))
	)
	(drawing
		(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))
		(circle (rect 72 40 104 72)(line_width 1))
	)
)
(symbol
	(rect 696 328 856 424)
	(text "lpm_add_sub0" (rect 38 1 137 17)(font "Arial" (font_size 10)))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 72)
		(input)
		(text "datab[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "datab[9..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 64 72)(line_width 3))
	)
	(port
		(pt 160 56)
		(output)
		(text "result[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "result[9..0]" (rect 106 43 166 57)(font "Arial" (font_size 8)))
		(line (pt 160 56)(pt 96 56)(line_width 3))
	)
	(drawing
		(text "320" (rect 10 27 31 41)(font "Arial" (font_size 8)))
		(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 8 40)(pt 64 40)(line_width 3))
	)
)
(symbol
	(rect 504 72 672 168)
	(text "lpm_mult0" (rect 54 1 124 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "dataa[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "dataa[7..0]" (rect 4 27 64 41)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 72 40)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "datab[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "datab[9..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 72 72)(line_width 3))
	)
	(port
		(pt 168 56)
		(output)
		(text "result[17..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[17..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
		(line (pt 168 56)(pt 104 56)(line_width 3))
	)
	(drawing
		(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))
		(circle (rect 72 40 104 72)(line_width 1))
	)
)
(symbol
	(rect 128 200 160 232)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst16" (rect 3 21 32 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 168 208 200 224)
	(text "VCC" (rect 5 6 25 16)(font "Arial" (font_size 6)))
	(text "inst15" (rect 0 -1 29 11)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 8 -3 13 9)(font "Courier New" (bold))(invisible))
		(line (pt 16 0)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 24 8)(pt 8 8)(line_width 1))
	)
	(rotate180)
)
(symbol
	(rect -32 24 144 120)
	(text "const1M" (rect 5 0 46 12)(font "Arial" ))
	(text "inst5" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk100M" (rect 0 0 40 12)(font "Arial" ))
		(text "clk100M" (rect 21 27 61 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 176 32)
		(output)
		(text "const_1M[31..0]" (rect 0 0 79 12)(font "Arial" ))
		(text "const_1M[31..0]" (rect 76 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 80)(line_width 1))
	)
)
(connector
	(pt 480 416)
	(pt 472 416)
	(bus)
)
(connector
	(pt 480 384)
	(pt 448 384)
	(bus)
)
(connector
	(pt 288 376)
	(pt 240 376)
	(bus)
)
(connector
	(text "clk1M" (rect 264 376 292 388)(font "Arial" ))
	(pt 288 392)
	(pt 256 392)
)
(connector
	(text "clk1M" (rect 48 360 76 372)(font "Arial" ))
	(pt 96 376)
	(pt 40 376)
)
(connector
	(pt 412 112)
	(pt 504 112)
	(bus)
)
(connector
	(text "clk100M" (rect -152 360 -112 372)(font "Arial" ))
	(pt -112 376)
	(pt -160 376)
)
(connector
	(pt 112 520)
	(pt 56 520)
)
(connector
	(pt 56 520)
	(pt 56 392)
)
(connector
	(pt 40 392)
	(pt 56 392)
)
(connector
	(pt 472 416)
	(pt 472 520)
	(bus)
)
(connector
	(pt 288 520)
	(pt 472 520)
	(bus)
)
(connector
	(pt 696 400)
	(pt 648 400)
	(bus)
)
(connector
	(text "am_modu[9..0]" (rect 878 368 952 380)(font "Arial" ))
	(pt 920 384)
	(pt 856 384)
	(bus)
)
(connector
	(text "am_modu[9..0]" (rect 437 128 511 140)(font "Arial" ))
	(pt 504 144)
	(pt 440 144)
	(bus)
)
(connector
	(pt 208 112)
	(pt 160 112)
	(bus)
)
(connector
	(pt 208 160)
	(pt 184 160)
)
(connector
	(pt 184 160)
	(pt 184 208)
)
(connector
	(pt 208 144)
	(pt 144 144)
)
(connector
	(pt 144 144)
	(pt 144 200)
)
(connector
	(pt 208 128)
	(pt 200 128)
)
(connector
	(pt 160 56)
	(pt 160 112)
	(bus)
)
(connector
	(pt 160 56)
	(pt 144 56)
	(bus)
)
(connector
	(text "clk100M" (rect -112 40 -72 52)(font "Arial" ))
	(pt -32 56)
	(pt -120 56)
)

⌨️ 快捷键说明

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