📄 nco_ip.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-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.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -120 176 48 192)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clock" (rect 5 0 30 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 -120 208 48 224)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset_n" (rect 5 0 41 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 -120 240 48 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clken" (rect 5 0 30 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 -120 160 48 176)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "phi_inc_i[31..0]" (rect 5 0 79 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 528 120 704 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "fsin_o[9..0]" (rect 90 0 146 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 528 256 704 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "fcos_o[9..0]" (rect 90 0 150 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 536 376 712 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "out_valid" (rect 90 0 134 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 80 136 280 264)
(text "NCO" (rect 5 0 29 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_n" (rect 0 0 36 12)(font "Arial" ))
(text "reset_n" (rect 21 59 57 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 200 32)
(output)
(text "fsin_o[9..0]" (rect 6 0 62 12)(font "Arial" ))
(text "fsin_o[9..0]" (rect 119 27 175 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32)(line_width 3))
)
(port
(pt 200 48)
(output)
(text "fcos_o[9..0]" (rect 6 0 66 12)(font "Arial" ))
(text "fcos_o[9..0]" (rect 119 43 179 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(port
(pt 200 64)
(output)
(text "out_valid" (rect 6 0 50 12)(font "Arial" ))
(text "out_valid" (rect 134 59 178 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 178 112)(line_width 1))
)
)
(symbol
(rect 360 72 504 168)
(text "lpm_ff0" (rect 52 1 100 17)(font "Arial" (font_size 10)))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[9..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[9..0]" (rect 20 26 73 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 0 64)
(input)
(text "enable" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "enable" (rect 20 58 57 72)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(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))
)
)
(symbol
(rect 368 208 512 304)
(text "lpm_ff1" (rect 52 1 100 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[9..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[9..0]" (rect 20 26 73 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 0 64)
(input)
(text "enable" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "enable" (rect 20 58 57 72)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(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))
)
)
(symbol
(rect 376 336 520 416)
(text "lpm_ff2" (rect 52 1 100 17)(font "Arial" (font_size 10)))
(text "inst5" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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 144 48)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 64)(line_width 1))
(line (pt 128 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 368 240)
(pt 304 240)
(bus)
)
(connector
(pt 360 104)
(pt 304 104)
(bus)
)
(connector
(pt 336 136)
(pt 360 136)
)
(connector
(pt 368 272)
(pt 336 272)
)
(connector
(pt 368 256)
(pt 320 256)
)
(connector
(pt 336 368)
(pt 376 368)
)
(connector
(pt 320 384)
(pt 376 384)
)
(connector
(pt 320 120)
(pt 320 256)
)
(connector
(pt 320 256)
(pt 320 384)
)
(connector
(pt 336 272)
(pt 336 368)
)
(connector
(pt 304 184)
(pt 280 184)
(bus)
)
(connector
(pt 304 240)
(pt 304 184)
(bus)
)
(connector
(pt 304 168)
(pt 280 168)
(bus)
)
(connector
(pt 304 104)
(pt 304 168)
(bus)
)
(connector
(pt 336 200)
(pt 280 200)
)
(connector
(pt 336 136)
(pt 336 200)
)
(connector
(pt 336 200)
(pt 336 272)
)
(connector
(pt 64 248)
(pt 48 248)
)
(connector
(pt 56 216)
(pt 48 216)
)
(connector
(pt 64 248)
(pt 64 216)
)
(connector
(pt 56 216)
(pt 56 200)
)
(connector
(pt 80 168)
(pt 48 168)
(bus)
)
(connector
(pt 80 200)
(pt 56 200)
)
(connector
(pt 80 216)
(pt 64 216)
)
(connector
(pt 64 184)
(pt 64 120)
)
(connector
(pt 48 184)
(pt 64 184)
)
(connector
(pt 64 184)
(pt 80 184)
)
(connector
(pt 64 120)
(pt 320 120)
)
(connector
(pt 320 120)
(pt 360 120)
)
(connector
(pt 512 264)
(pt 528 264)
(bus)
)
(connector
(pt 520 384)
(pt 536 384)
)
(connector
(pt 504 128)
(pt 528 128)
(bus)
)
(junction (pt 336 200))
(junction (pt 320 120))
(junction (pt 336 272))
(junction (pt 320 256))
(junction (pt 64 184))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -