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

📄 dds.bdf

📁 实现dds功能
💻 BDF
📖 第 1 页 / 共 2 页
字号:
/*
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-2007 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 from 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 8 248 176 264)
	(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 -40 264 8 280))
)
(pin
	(input)
	(rect -72 480 96 496)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "pdip[3..0]" (rect 5 0 51 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 -120 496 -72 552))
)
(pin
	(input)
	(rect -344 400 -176 416)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "ps2_clk" (rect 5 0 42 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 -392 416 -344 432))
)
(pin
	(input)
	(rect -392 456 -224 472)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "ps2_dat" (rect 5 0 43 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 -440 472 -392 488))
)
(pin
	(input)
	(rect 392 688 560 704)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "dip" (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 344 704 392 720))
)
(pin
	(input)
	(rect -328 376 -160 392)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "d" (rect 5 0 10 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 -376 392 -328 408))
)
(pin
	(output)
	(rect 536 208 712 224)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dac_clk" (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))
	)
)
(pin
	(output)
	(rect 632 288 808 304)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dac1[7..0]" (rect 90 0 139 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))
	)
)
(pin
	(output)
	(rect 632 456 808 472)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "dac2[7..0]" (rect 90 0 139 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))
	)
)
(pin
	(output)
	(rect 96 440 272 456)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "code[7..0]" (rect 90 0 139 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 224 448 272 504))
)
(symbol
	(rect 432 56 560 152)
	(text "adder32b" (rect 5 0 49 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "A[31..0]" (rect 0 0 38 12)(font "Arial" ))
		(text "A[31..0]" (rect 21 27 59 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "B[31..0]" (rect 0 0 38 12)(font "Arial" ))
		(text "B[31..0]" (rect 21 43 59 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 128 32)
		(output)
		(text "S[31..0]" (rect 0 0 38 12)(font "Arial" ))
		(text "S[31..0]" (rect 69 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 624 56 776 152)
	(text "reg32b" (rect 5 0 38 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "load" (rect 0 0 20 12)(font "Arial" ))
		(text "load" (rect 21 27 41 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "din[31..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "din[31..0]" (rect 21 43 67 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 152 32)
		(output)
		(text "dout[31..0]" (rect 0 0 53 12)(font "Arial" ))
		(text "dout[31..0]" (rect 78 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 136 80)(line_width 1))
	)
)
(symbol
	(rect 384 264 600 400)
	(text "date_rom" (rect 81 1 144 17)(font "Arial" (font_size 10)))
	(text "inst2" (rect 8 120 31 132)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "address[7..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[7..0]" (rect 4 19 79 33)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 88 32)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "inclock" (rect 0 0 38 14)(font "Arial" (font_size 8)))
		(text "inclock" (rect 4 99 42 113)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 80 112)(line_width 1))
	)
	(port
		(pt 216 32)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 183 19 218 33)(font "Arial" (font_size 8)))
		(line (pt 216 32)(pt 136 32)(line_width 3))
	)
	(drawing
		(text "8 bits" (rect 108 48 120 75)(font "Arial" )(vertical))
		(text "256 words" (rect 121 39 133 88)(font "Arial" )(vertical))
		(text "Block type: AUTO" (rect 41 116 130 128)(font "Arial" ))
		(line (pt 104 24)(pt 136 24)(line_width 1))
		(line (pt 136 24)(pt 136 96)(line_width 1))
		(line (pt 136 96)(pt 104 96)(line_width 1))
		(line (pt 104 96)(pt 104 24)(line_width 1))
		(line (pt 118 58)(pt 123 63)(line_width 1))
		(line (pt 118 62)(pt 123 57)(line_width 1))
		(line (pt 88 27)(pt 96 27)(line_width 1))
		(line (pt 96 27)(pt 96 39)(line_width 1))
		(line (pt 96 39)(pt 88 39)(line_width 1))
		(line (pt 88 39)(pt 88 27)(line_width 1))
		(line (pt 88 34)(pt 90 36)(line_width 1))
		(line (pt 90 36)(pt 88 38)(line_width 1))
		(line (pt 80 36)(pt 88 36)(line_width 1))
		(line (pt 96 32)(pt 104 32)(line_width 3))
		(line (pt 80 112)(pt 80 36)(line_width 1))
	)
)
(symbol
	(rect 120 48 384 208)
	(text "pllu" (rect 122 0 145 16)(font "Arial" (font_size 10)))
	(text "inst3" (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 48 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "areset" (rect 0 0 36 14)(font "Arial" (font_size 8)))
		(text "areset" (rect 4 67 40 81)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 48 80)(line_width 1))
	)
	(port
		(pt 264 64)
		(output)
		(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
		(text "c0" (rect 249 51 263 65)(font "Arial" (font_size 8)))
		(line (pt 264 64)(pt 216 64)(line_width 1))
	)
	(port
		(pt 264 80)
		(output)
		(text "locked" (rect 0 0 36 14)(font "Arial" (font_size 8)))
		(text "locked" (rect 230 67 266 81)(font "Arial" (font_size 8)))
		(line (pt 264 80)(pt 216 80)(line_width 1))
	)
	(drawing
		(text "Cyclone" (rect 221 145 262 157)(font "Arial" ))
		(text "inclk0 frequency: 48.000 MHz" (rect 58 59 205 71)(font "Arial" ))
		(text "Operation Mode: Normal" (rect 58 73 177 85)(font "Arial" ))
		(text "Clk " (rect 59 96 79 108)(font "Arial" ))
		(text "Ratio" (rect 81 96 106 108)(font "Arial" ))
		(text "Ph (dg)" (rect 108 96 143 108)(font "Arial" ))
		(text "DC (%)" (rect 143 96 179 108)(font "Arial" ))
		(text "c0" (rect 62 111 73 123)(font "Arial" ))
		(text "5/12" (rect 83 111 104 123)(font "Arial" ))
		(text "0.00" (rect 114 111 135 123)(font "Arial" ))
		(text "50.00" (rect 147 111 174 123)(font "Arial" ))
		(line (pt 0 0)(pt 265 0)(line_width 1))
		(line (pt 265 0)(pt 265 161)(line_width 1))
		(line (pt 0 161)(pt 265 161)(line_width 1))
		(line (pt 0 0)(pt 0 161)(line_width 1))
		(line (pt 56 94)(pt 176 94)(line_width 1))
		(line (pt 56 108)(pt 176 108)(line_width 1))
		(line (pt 56 123)(pt 176 123)(line_width 1))
		(line (pt 56 94)(pt 56 123)(line_width 1))
		(line (pt 78 94)(pt 78 123)(line_width 3))
		(line (pt 105 94)(pt 105 123)(line_width 3))
		(line (pt 140 94)(pt 140 123)(line_width 3))
		(line (pt 175 94)(pt 175 123)(line_width 1))
		(line (pt 48 48)(pt 216 48)(line_width 1))
		(line (pt 216 48)(pt 216 144)(line_width 1))
		(line (pt 48 144)(pt 216 144)(line_width 1))
		(line (pt 48 48)(pt 48 144)(line_width 1))
	)
)
(symbol
	(rect 224 384 256 416)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst7" (rect 3 21 26 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 304 344 336 360)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst8" (rect 3 5 26 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 272 576 392 672)
	(text "adder10b" (rect 5 0 49 12)(font "Arial" ))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "A[9..0]" (rect 0 0 33 12)(font "Arial" ))
		(text "A[9..0]" (rect 21 27 54 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "B[9..0]" (rect 0 0 33 12)(font "Arial" ))
		(text "B[9..0]" (rect 21 43 54 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 120 32)
		(output)
		(text "S[9..0]" (rect 0 0 33 12)(font "Arial" ))
		(text "S[9..0]" (rect 66 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 384 432 600 568)
	(text "date_rom" (rect 81 1 144 17)(font "Arial" (font_size 10)))
	(text "inst10" (rect 8 120 37 132)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "address[7..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[7..0]" (rect 4 19 79 33)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 88 32)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "inclock" (rect 0 0 38 14)(font "Arial" (font_size 8)))
		(text "inclock" (rect 4 99 42 113)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 80 112)(line_width 1))
	)
	(port
		(pt 216 32)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 183 19 218 33)(font "Arial" (font_size 8)))
		(line (pt 216 32)(pt 136 32)(line_width 3))
	)
	(drawing
		(text "8 bits" (rect 108 48 120 75)(font "Arial" )(vertical))
		(text "256 words" (rect 121 39 133 88)(font "Arial" )(vertical))
		(text "Block type: AUTO" (rect 41 116 130 128)(font "Arial" ))
		(line (pt 104 24)(pt 136 24)(line_width 1))
		(line (pt 136 24)(pt 136 96)(line_width 1))
		(line (pt 136 96)(pt 104 96)(line_width 1))
		(line (pt 104 96)(pt 104 24)(line_width 1))
		(line (pt 118 58)(pt 123 63)(line_width 1))
		(line (pt 118 62)(pt 123 57)(line_width 1))
		(line (pt 88 27)(pt 96 27)(line_width 1))
		(line (pt 96 27)(pt 96 39)(line_width 1))
		(line (pt 96 39)(pt 88 39)(line_width 1))
		(line (pt 88 39)(pt 88 27)(line_width 1))
		(line (pt 88 34)(pt 90 36)(line_width 1))

⌨️ 快捷键说明

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