📄 sin_gen.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 -192 -128 -24 -112)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk50m" (rect 5 0 40 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 -288 -144 -240 -128))
)
(pin
(input)
(rect -192 48 -24 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "am_adj" (rect 5 0 40 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 -288 48 -240 64))
)
(pin
(input)
(rect -200 248 -32 264)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "key_100" (rect 5 0 47 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 -296 248 -240 264))
)
(pin
(input)
(rect -200 264 -32 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "key_100k" (rect 5 0 53 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 -296 264 -248 280))
)
(pin
(input)
(rect 472 480 640 496)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "sw0" (rect 5 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 384 464 432 480))
)
(pin
(input)
(rect 472 496 640 512)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "sw1" (rect 5 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 384 480 432 496))
)
(pin
(output)
(rect 992 144 1168 160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "fm_out[7..0]" (rect 90 0 151 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 760 368 936 384)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q_out[7..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 56 -184 296 -24)
(text "pll" (rect 114 0 129 16)(font "Arial" (font_size 10)))
(text "inst1" (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 240 64)
(output)
(text "c0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c0" (rect 225 51 239 65)(font "Arial" (font_size 8)))
(line (pt 240 64)(pt 208 64)(line_width 1))
)
(drawing
(text "Cyclone II" (rect 183 145 234 157)(font "Arial" ))
(text "inclk0 frequency: 50.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 241 0)(line_width 1))
(line (pt 241 0)(pt 241 161)(line_width 1))
(line (pt 0 161)(pt 241 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 520 -152 664 8)
(text "multi_clk" (rect 5 0 52 14)(font "Arial" (font_size 8)))
(text "inst2" (rect 8 144 31 156)(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 144 32)
(output)
(text "clk10m" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "clk10m" (rect 85 27 123 41)(font "Arial" (font_size 8)))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(port
(pt 144 48)
(output)
(text "clk1m" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "clk1m" (rect 92 43 123 57)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(port
(pt 144 64)
(output)
(text "clk100k" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "clk100k" (rect 81 59 123 73)(font "Arial" (font_size 8)))
(line (pt 144 64)(pt 128 64)(line_width 1))
)
(port
(pt 144 80)
(output)
(text "clk10k" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "clk10k" (rect 88 75 123 89)(font "Arial" (font_size 8)))
(line (pt 144 80)(pt 128 80)(line_width 1))
)
(port
(pt 144 96)
(output)
(text "clk1k" (rect 0 0 28 14)(font "Arial" (font_size 8)))
(text "clk1k" (rect 95 91 123 105)(font "Arial" (font_size 8)))
(line (pt 144 96)(pt 128 96)(line_width 1))
)
(port
(pt 144 112)
(output)
(text "clk25" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clk25" (rect 94 107 123 121)(font "Arial" (font_size 8)))
(line (pt 144 112)(pt 128 112)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 144)(line_width 1))
)
)
(symbol
(rect 584 184 600 216)
(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
(text "inst8" (rect 5 6 17 29)(font "Arial" )(vertical)(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 7 8 19 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 16)(pt 8 16)(line_width 1))
)
(drawing
(line (pt 8 24)(pt 8 8)(line_width 1))
)
(rotate90)
)
(symbol
(rect 552 168 584 200)
(text "GND" (rect 6 8 16 29)(font "Arial" (font_size 6))(vertical))
(text "inst7" (rect -1 3 11 26)(font "Arial" )(vertical)(invisible))
(port
(pt 32 16)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 20 18 32 23)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 24 16)(pt 32 16)(line_width 1))
)
(drawing
(line (pt 24 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 24)(line_width 1))
(line (pt 24 8)(pt 24 24)(line_width 1))
)
(rotate270)
)
(symbol
(rect 600 120 808 248)
(text "NCO_DDS" (rect 5 0 59 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 208 32)
(output)
(text "fsin_o[7..0]" (rect 4 0 60 12)(font "Arial" ))
(text "fsin_o[7..0]" (rect 127 27 183 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 3))
)
(port
(pt 208 48)
(output)
(text "data_ready" (rect 4 0 59 12)(font "Arial" ))
(text "data_ready" (rect 137 43 192 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 188 112)(line_width 1))
)
)
(symbol
(rect 824 -16 992 80)
(text "lpm_multi1" (rect 53 1 127 17)(font "Arial" (font_size 10)))
(text "inst15" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[12..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[12..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "datab[7..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[20..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[20..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
(line (pt 168 56)(pt 104 56)(line_width 3))
)
(drawing
(text "Signed" (rect 105 57 138 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 -24 -8 216 88)
(text "am_modulate" (rect 5 0 79 14)(font "Arial" (font_size 8)))
(text "inst18" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk1m" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "clk1m" (rect 21 27 52 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "keyclk" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "keyclk" (rect 21 43 56 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "key" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "key" (rect 21 59 41 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 240 32)
(output)
(text "am_modulate_signal[12..0]" (rect 0 0 149 14)(font "Arial" (font_size 8)))
(text "am_modulate_signal[12..0]" (rect 70 27 219 41)(font "Arial" (font_size 8)))
(line (pt 240 32)(pt 224 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 224 80)(line_width 1))
)
)
(symbol
(rect 384 104 536 184)
(text "lpm_mux0" (rect 50 2 120 18)(font "Arial" (font_size 10)))
(text "inst20" (rect 8 64 37 76)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "data1x[31..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "data1x[31..0]" (rect 4 27 78 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "data0x[31..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -