?? phase_control.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 -72 72 96 88)
(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)))
)
(pin
(input)
(rect -72 200 96 216)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "cs_phase" (rect 5 0 52 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
(input)
(rect -72 264 96 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "gatein[15..0]" (rect 5 0 66 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
(input)
(rect -168 136 0 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "phaseinA" (rect 5 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)))
)
(pin
(input)
(rect -168 152 0 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "phaseinB" (rect 5 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)))
)
(pin
(input)
(rect -72 232 96 248)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "phase_sig[1..0]" (rect 5 0 80 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 552 80 741 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "phase_result[31..0]" (rect 90 0 184 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 488 120 632 248)
(text "phase_counter" (rect 30 1 130 17)(font "Arial" (font_size 10)))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 26 41 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 58 55 72)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "cnt_en" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "cnt_en" (rect 20 90 58 104)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 144 72)
(output)
(text "q[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 66 131 80)(font "Arial" (font_size 8)))
(line (pt 144 72)(pt 128 72)(line_width 3))
)
(drawing
(text "up counter" (rect 84 17 135 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 112)(line_width 1))
(line (pt 128 112)(pt 16 112)(line_width 1))
(line (pt 16 112)(pt 16 16)(line_width 1))
(line (pt 16 58)(pt 22 64)(line_width 1))
(line (pt 22 64)(pt 16 70)(line_width 1))
)
)
(symbol
(rect 24 128 88 176)
(text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 11 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 11 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 49 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 13)(pt 25 13)(line_width 1))
(line (pt 14 36)(pt 25 36)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
(arc (pt 8 36)(pt 8 12)(rect -21 7 14 42)(line_width 1))
)
)
(symbol
(rect 136 -120 376 40)
(text "phase_pll" (rect 93 0 157 16)(font "Arial" (font_size 10)))
(text "inst12" (rect 8 144 37 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 0 80)
(input)
(text "pllena" (rect 0 0 33 14)(font "Arial" (font_size 8)))
(text "pllena" (rect 4 67 37 81)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 40 80)(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" (rect 197 145 238 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 160 104 392 264)
(text "phase_test" (rect 5 0 59 12)(font "Arial" ))
(text "inst" (rect 8 144 25 156)(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 0 48)
(input)
(text "combphasein" (rect 0 0 64 12)(font "Arial" ))
(text "combphasein" (rect 21 43 85 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "cs" (rect 0 0 11 12)(font "Arial" ))
(text "cs" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "phase_sig[1..0]" (rect 0 0 75 12)(font "Arial" ))
(text "phase_sig[1..0]" (rect 21 75 96 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "gatein[15..0]" (rect 0 0 61 12)(font "Arial" ))
(text "gatein[15..0]" (rect 21 91 82 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "clkcountin[31..0]" (rect 0 0 81 12)(font "Arial" ))
(text "clkcountin[31..0]" (rect 21 107 102 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 232 32)
(output)
(text "COUNTNUM[31..0]" (rect 0 0 95 12)(font "Arial" ))
(text "COUNTNUM[31..0]" (rect 116 27 211 39)(font "Arial" ))
(line (pt 232 32)(pt 216 32)(line_width 3))
)
(port
(pt 232 48)
(output)
(text "sclr" (rect 0 0 17 12)(font "Arial" ))
(text "sclr" (rect 194 43 211 55)(font "Arial" ))
(line (pt 232 48)(pt 216 48)(line_width 1))
)
(port
(pt 232 64)
(output)
(text "PLLEN" (rect 0 0 34 12)(font "Arial" ))
(text "PLLEN" (rect 177 59 211 71)(font "Arial" ))
(line (pt 232 64)(pt 216 64)(line_width 1))
)
(parameter
"IDLE"
"B\"01\""
""
)
(parameter
"COUNT"
"B\"10\""
""
)
(drawing
(rectangle (rect 16 16 216 144)(line_width 1))
)
(annotation_block (parameter)(rect 368 56 472 104))
)
(connector
(pt 96 168)
(pt 160 168)
)
(connector
(pt 632 192)
(pt 656 192)
(bus)
)
(connector
(pt 656 280)
(pt 656 192)
(bus)
)
(connector
(pt 144 280)
(pt 144 216)
(bus)
)
(connector
(pt 464 136)
(pt 464 88)
(bus)
)
(connector
(pt 432 88)
(pt 432 216)
)
(connector
(pt 136 88)
(pt 136 152)
)
(connector
(pt 0 144)
(pt 24 144)
)
(connector
(pt 0 160)
(pt 24 160)
)
(connector
(text "<<__$DEF_ALIAS64>>" (rect 440 168 552 180)(font "Arial" )(invisible))
(pt 448 184)
(pt 488 184)
)
(connector
(pt 104 -56)
(pt 136 -56)
)
(connector
(pt 104 136)
(pt 160 136)
)
(connector
(pt 448 -56)
(pt 448 184)
)
(connector
(pt 392 136)
(pt 464 136)
(bus)
)
(connector
(pt 392 152)
(pt 488 152)
)
(connector
(pt 448 -56)
(pt 376 -56)
)
(connector
(pt 488 216)
(pt 432 216)
)
(connector
(pt 432 88)
(pt 136 88)
)
(connector
(pt 392 168)
(pt 408 168)
)
(connector
(pt 408 168)
(pt 408 64)
)
(connector
(pt 408 64)
(pt 120 64)
)
(connector
(pt 120 64)
(pt 120 -40)
)
(connector
(pt 120 -40)
(pt 136 -40)
)
(connector
(pt 128 272)
(pt 128 200)
(bus)
)
(connector
(pt 112 184)
(pt 112 240)
(bus)
)
(connector
(pt 144 280)
(pt 656 280)
(bus)
)
(connector
(pt 144 216)
(pt 160 216)
(bus)
)
(connector
(pt 128 200)
(pt 160 200)
(bus)
)
(connector
(pt 128 272)
(pt 96 272)
(bus)
)
(connector
(pt 112 184)
(pt 160 184)
(bus)
)
(connector
(pt 96 240)
(pt 112 240)
(bus)
)
(connector
(pt 96 208)
(pt 96 168)
)
(connector
(pt 96 80)
(pt 104 80)
)
(connector
(pt 104 -56)
(pt 104 80)
)
(connector
(pt 104 80)
(pt 104 136)
)
(connector
(pt 88 152)
(pt 136 152)
)
(connector
(pt 136 152)
(pt 160 152)
)
(connector
(pt 464 88)
(pt 552 88)
(bus)
)
(junction (pt 104 80))
(junction (pt 136 152))
(text "A路輸入" (rect -136 104 -16 136)(font "Arial" (font_size 20)))
(text "B" (rect -136 168 -115 200)(font "Arial" (font_size 20)))
(text "路輸入" (rect -112 168 -13 200)(font "Arial" (font_size 20)))
(text "倍頻模塊" (rect 192 -160 324 -128)(font "Arial" (font_size 20)))
(text "接口模塊" (rect 208 296 340 328)(font "Arial" (font_size 20)))
(text "計數(shù)輸出" (rect 576 40 708 72)(font "Arial" (font_size 20)))
(text "計數(shù)器" (rect 520 296 619 328)(font "Arial" (font_size 20)))
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -