📄 final_test.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 96 136 112)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK_IN" (rect 9 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)))
)
(pin
(output)
(rect 464 112 640 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CLK_DA" (rect 90 0 132 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 2528 80 2704 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUT[9..0]" (rect 90 0 138 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 40 448 216)
(text "PLL" (rect 109 0 136 16)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 160 31 172)(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))
)
(port
(pt 240 80)
(output)
(text "c1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c1" (rect 225 67 239 81)(font "Arial" (font_size 8)))
(line (pt 240 80)(pt 208 80)(line_width 1))
)
(drawing
(text "Cyclone" (rect 197 161 238 173)(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 "4/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" ))
(text "c1" (rect 54 126 65 138)(font "Arial" ))
(text "2/1" (rect 78 126 93 138)(font "Arial" ))
(text "0.00" (rect 106 126 127 138)(font "Arial" ))
(text "50.00" (rect 139 126 166 138)(font "Arial" ))
(line (pt 0 0)(pt 241 0)(line_width 1))
(line (pt 241 0)(pt 241 177)(line_width 1))
(line (pt 0 177)(pt 241 177)(line_width 1))
(line (pt 0 0)(pt 0 177)(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 138)(pt 168 138)(line_width 1))
(line (pt 48 94)(pt 48 138)(line_width 1))
(line (pt 70 94)(pt 70 138)(line_width 3))
(line (pt 97 94)(pt 97 138)(line_width 3))
(line (pt 132 94)(pt 132 138)(line_width 3))
(line (pt 167 94)(pt 167 138)(line_width 1))
(line (pt 40 48)(pt 208 48)(line_width 1))
(line (pt 208 48)(pt 208 160)(line_width 1))
(line (pt 40 160)(pt 208 160)(line_width 1))
(line (pt 40 48)(pt 40 160)(line_width 1))
)
)
(symbol
(rect 824 360 1038 520)
(text "NCO" (rect 5 0 29 12)(font "Arial" ))
(text "inst2" (rect 8 144 31 156)(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 0 96)
(input)
(text "phase_mod_i[15..0]" (rect 0 0 96 12)(font "Arial" ))
(text "phase_mod_i[15..0]" (rect 21 91 117 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "freq_mod_i[23..0]" (rect 0 0 87 12)(font "Arial" ))
(text "freq_mod_i[23..0]" (rect 21 107 108 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 214 32)
(output)
(text "fsin_o[9..0]" (rect 0 0 56 12)(font "Arial" ))
(text "fsin_o[9..0]" (rect 133 27 189 39)(font "Arial" ))
(line (pt 214 32)(pt 198 32)(line_width 3))
)
(port
(pt 214 48)
(output)
(text "data_ready" (rect 0 0 55 12)(font "Arial" ))
(text "data_ready" (rect 143 43 198 55)(font "Arial" ))
(line (pt 214 48)(pt 198 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 198 144)(line_width 1))
)
)
(symbol
(rect 832 752 1036 880)
(text "NCO_FM" (rect 5 0 51 12)(font "Arial" ))
(text "inst5" (rect 8 112 31 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[23..0]" (rect 0 0 62 12)(font "Arial" ))
(text "fsin_o[23..0]" (rect 118 27 180 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 824 560 1038 720)
(text "NCO" (rect 5 0 29 12)(font "Arial" ))
(text "inst18" (rect 8 144 37 156)(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 0 96)
(input)
(text "phase_mod_i[15..0]" (rect 0 0 96 12)(font "Arial" ))
(text "phase_mod_i[15..0]" (rect 21 91 117 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "freq_mod_i[23..0]" (rect 0 0 87 12)(font "Arial" ))
(text "freq_mod_i[23..0]" (rect 21 107 108 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 214 32)
(output)
(text "fsin_o[9..0]" (rect 0 0 56 12)(font "Arial" ))
(text "fsin_o[9..0]" (rect 133 27 189 39)(font "Arial" ))
(line (pt 214 32)(pt 198 32)(line_width 3))
)
(port
(pt 214 48)
(output)
(text "data_ready" (rect 0 0 55 12)(font "Arial" ))
(text "data_ready" (rect 143 43 198 55)(font "Arial" ))
(line (pt 214 48)(pt 198 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 198 144)(line_width 1))
)
)
(symbol
(rect 1392 776 1544 872)
(text "FREQUENCY_DIV" (rect 5 0 100 12)(font "Arial" ))
(text "inst10" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "ENA_DIV" (rect 0 0 47 12)(font "Arial" ))
(text "ENA_DIV" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "CLK_OUT" (rect 0 0 49 12)(font "Arial" ))
(text "CLK_OUT" (rect 82 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
)
(symbol
(rect 1824 776 1984 872)
(text "CON_PSK" (rect 5 0 56 12)(font "Arial" ))
(text "inst13" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "QIN" (rect 0 0 20 12)(font "Arial" ))
(text "QIN" (rect 21 43 41 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "PHA_OUT[15..0]" (rect 0 0 82 12)(font "Arial" ))
(text "PHA_OUT[15..0]" (rect 57 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 1592 832 1688 928)
(text "xulie" (rect 5 0 27 12)(font "Arial" ))
(text "inst14" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "qout" (rect 0 0 21 12)(font "Arial" ))
(text "qout" (rect 54 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 1592 624 1688 720)
(text "xulie" (rect 5 0 27 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "qout" (rect 0 0 21 12)(font "Arial" ))
(text "qout" (rect 54 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 1392 576 1544 672)
(text "FREQUENCY_DIV" (rect 5 0 100 12)(font "Arial" ))
(text "inst8" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "ENA_DIV" (rect 0 0 47 12)(font "Arial" ))
(text "ENA_DIV" (rect 21 43 68 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "CLK_OUT" (rect 0 0 49 12)(font "Arial" ))
(text "CLK_OUT" (rect 82 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
)
(symbol
(rect 1432 32 1592 128)
(text "lpm_add_sub0" (rect 38 1 137 17)(font "Arial" (font_size 10)))
(text "inst15" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[9..0]" (rect 4 27 64 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(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 "512" (rect 10 59 31 73)(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 72)(pt 64 72)(line_width 3))
)
)
(symbol
(rect 1784 48 1944 144)
(text "lpm_add_sub0" (rect 38 1 137 17)(font "Arial" (font_size 10)))
(text "inst17" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[9..0]" (rect 4 27 64 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(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 "512" (rect 10 59 31 73)(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 72)(pt 64 72)(line_width 3))
)
)
(symbol
(rect 1416 176 1584 272)
(text "lpm_mult0" (rect 54 1 124 17)(font "Arial" (font_size 10)))
(text "inst16" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[9..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[9..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[19..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[19..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))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -