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

📄 dds.bdf

📁 DDs直接数字频率合成器的源代码
💻 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
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 16 80 184 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk" (rect 9 0 23 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 -72 96 16 128))
)
(pin
	(output)
	(rect 520 112 696 128)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "q_out[9..0]" (rect 90 0 143 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 24 128 184 224)
	(text "lpm_add_pharse" (rect 33 1 145 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 40)
		(input)
		(text "dataa[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "dataa[31..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[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "datab[31..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[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[31..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 248 152 472 248)
	(text "AddrLock" (rect 5 0 51 12)(font "Arial" ))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "ADDRIN[31..0]" (rect 0 0 75 12)(font "Arial" ))
		(text "ADDRIN[31..0]" (rect 21 27 96 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLK" (rect 0 0 21 12)(font "Arial" ))
		(text "CLK" (rect 21 43 42 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 224 32)
		(output)
		(text "ADDROUT[8..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "ADDROUT[8..0]" (rect 123 27 203 39)(font "Arial" ))
		(line (pt 224 32)(pt 208 32)(line_width 3))
	)
	(port
		(pt 224 48)
		(output)
		(text "ADDRLOCK[31..0]" (rect 0 0 93 12)(font "Arial" ))
		(text "ADDRLOCK[31..0]" (rect 110 43 203 55)(font "Arial" ))
		(line (pt 224 48)(pt 208 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 208 80)(line_width 1))
	)
)
(symbol
	(rect 32 448 288 608)
	(text "DPLL" (rect 112 0 149 16)(font "Arial" (font_size 10)))
	(text "inst4" (rect 8 144 31 156)(font "Arial" ))
	(port
		(pt 0 64)
		(input)
		(text "inclk0" (rect 0 0 31 14)(font "Arial" (font_size 8)))
		(text "inclk0" (rect 4 51 35 65)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 40 64)(line_width 1))
	)
	(port
		(pt 256 64)
		(output)
		(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "c0" (rect 241 51 255 65)(font "Arial" (font_size 8)))
		(line (pt 256 64)(pt 208 64)(line_width 1))
	)
	(port
		(pt 256 80)
		(output)
		(text "locked" (rect 0 0 36 14)(font "Arial" (font_size 8)))
		(text "locked" (rect 222 67 258 81)(font "Arial" (font_size 8)))
		(line (pt 256 80)(pt 208 80)(line_width 1))
	)
	(drawing
		(text "Cyclone" (rect 213 145 254 157)(font "Arial" ))
		(text "inclk0 frequency: 40.000 MHz" (rect 50 59 197 71)(font "Arial" ))
		(text "Operation Mode: Normal" (rect 50 73 169 85)(font "Arial" ))
		(text "Clk " (rect 51 96 71 108)(font "Arial" ))
		(text "Ratio" (rect 73 96 98 108)(font "Arial" ))
		(text "Ph (dg)" (rect 100 96 135 108)(font "Arial" ))
		(text "DC (%)" (rect 135 96 171 108)(font "Arial" ))
		(text "c0" (rect 54 111 65 123)(font "Arial" ))
		(text "2/1" (rect 78 111 93 123)(font "Arial" ))
		(text "0.00" (rect 106 111 127 123)(font "Arial" ))
		(text "50.00" (rect 139 111 166 123)(font "Arial" ))
		(line (pt 0 0)(pt 257 0)(line_width 1))
		(line (pt 257 0)(pt 257 161)(line_width 1))
		(line (pt 0 161)(pt 257 161)(line_width 1))
		(line (pt 0 0)(pt 0 161)(line_width 1))
		(line (pt 48 94)(pt 168 94)(line_width 1))
		(line (pt 48 108)(pt 168 108)(line_width 1))
		(line (pt 48 123)(pt 168 123)(line_width 1))
		(line (pt 48 94)(pt 48 123)(line_width 1))
		(line (pt 70 94)(pt 70 123)(line_width 3))
		(line (pt 97 94)(pt 97 123)(line_width 3))
		(line (pt 132 94)(pt 132 123)(line_width 3))
		(line (pt 167 94)(pt 167 123)(line_width 1))
		(line (pt 40 48)(pt 208 48)(line_width 1))
		(line (pt 208 48)(pt 208 144)(line_width 1))
		(line (pt 40 144)(pt 208 144)(line_width 1))
		(line (pt 40 48)(pt 40 144)(line_width 1))
	)
)
(symbol
	(rect -160 144 -64 192)
	(text "lpm_constant0" (rect 6 1 106 17)(font "Arial" (font_size 10)))
	(text "inst2" (rect 8 32 31 44)(font "Arial" ))
	(port
		(pt 96 24)
		(output)
		(text "result[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "result[31..0]" (rect 93 -31 160 -17)(font "Arial" (font_size 8))(invisible))
		(line (pt 96 24)(pt 80 24)(line_width 3))
	)
	(drawing
		(text "214748" (rect 50 18 85 30)(font "Arial" ))
		(text "32" (rect 85 25 96 37)(font "Arial" ))
		(line (pt 16 16)(pt 80 16)(line_width 1))
		(line (pt 80 16)(pt 80 32)(line_width 1))
		(line (pt 80 32)(pt 16 32)(line_width 1))
		(line (pt 16 32)(pt 16 16)(line_width 1))
		(line (pt 80 28)(pt 88 20)(line_width 1))
	)
)
(symbol
	(rect 536 152 696 232)
	(text "lpm_rom0" (rect 52 1 119 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 64 25 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "address[8..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[8..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[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[9..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))
	)
)
(connector
	(pt 184 184)
	(pt 248 184)
	(bus)
)
(connector
	(pt 472 184)
	(pt 536 184)
	(bus)
)
(connector
	(pt 472 200)
	(pt 496 200)
	(bus)
)
(connector
	(pt 496 264)
	(pt 496 200)
	(bus)
)
(connector
	(pt 496 264)
	(pt 8 264)
	(bus)
)
(connector
	(pt 8 264)
	(pt 8 200)
	(bus)
)
(connector
	(pt 8 200)
	(pt 24 200)
	(bus)
)
(connector
	(text "clk" (rect 218 184 232 196)(font "Arial" ))
	(pt 248 200)
	(pt 208 200)
)
(connector
	(text "clk" (rect 512 184 526 196)(font "Arial" ))
	(pt 536 200)
	(pt 504 200)
)
(connector
	(text "<<__$DEF_ALIAS210>>" (rect -96 152 22 164)(font "Arial" )(invisible))
	(pt -64 168)
	(pt 24 168)
	(bus)
)
(connector
	(text "q_out[9..0]" (rect 704 176 757 188)(font "Arial" ))
	(pt 696 192)
	(pt 728 192)
	(bus)
)
(connector
	(text "clk" (rect 0 496 14 508)(font "Arial" ))
	(pt 32 512)
	(pt -8 512)
)
(connector
	(text "clk80M" (rect 296 496 330 508)(font "Arial" ))
	(pt 328 512)
	(pt 288 512)
)
(connector
	(text "clk80M" (rect -8 168 26 180)(font "Arial" ))
	(pt 24 184)
	(pt -16 184)
)
(text "Fout  = (X/2^32)×Fclk" (rect 168 320 441 347)(font "Arial" (font_size 18)))
(text "其中 X 为频率控制字" (rect 184 352 312 366)(font "Arial" (font_size 8)))
(text "Fclk=clk/2" (rect 184 368 239 382)(font "Arial" (font_size 8)))
(text "说明:" (rect 144 312 186 326)(font "Arial" (font_size 8)))
(text "DDS" (rect 312 88 363 112)(font "Arial" (font_size 16)))
(rectangle (rect 128 304 448 408)(color 255 0 0))
(rectangle (rect -168 56 808 416)(color 0 0 255)(line_width 2))

⌨️ 快捷键说明

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