📄 ddsfpga.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-2005 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 672 744 840 760)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "KeyIn[7..0]" (rect 5 0 60 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 640 624 808 640)
(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
(output)
(rect 1720 520 1896 536)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DLedout[7..0]" (rect 90 0 157 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 1960 664 2136 680)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "dataout[7..0]" (rect 90 0 152 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 1784 624 1960 640)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "qsquare[7..0]" (rect 90 0 154 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 1792 896 1968 912)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q[7..0]" (rect 90 0 121 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 1792 856 1968 872)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "qtriangle[7..0]" (rect 90 0 157 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 1152 832 1328 848)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "keyout[7..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))
)
)
(symbol
(rect 832 600 928 696)
(text "clock_d2" (rect 5 0 48 12)(font "Arial" ))
(text "inst" (rect 8 80 25 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 "clk2" (rect 0 0 20 12)(font "Arial" ))
(text "clk2" (rect 55 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 1192 688 1384 816)
(text "control" (rect 5 0 38 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk2" (rect 0 0 20 12)(font "Arial" ))
(text "clk2" (rect 21 27 41 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "keysignal[7..0]" (rect 0 0 73 12)(font "Arial" ))
(text "keysignal[7..0]" (rect 21 43 94 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 192 32)
(output)
(text "ensqu" (rect 0 0 29 12)(font "Arial" ))
(text "ensqu" (rect 142 27 171 39)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 1))
)
(port
(pt 192 48)
(output)
(text "entri" (rect 0 0 21 12)(font "Arial" ))
(text "entri" (rect 150 43 171 55)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 1))
)
(port
(pt 192 64)
(output)
(text "ensin" (rect 0 0 25 12)(font "Arial" ))
(text "ensin" (rect 146 59 171 71)(font "Arial" ))
(line (pt 192 64)(pt 176 64)(line_width 1))
)
(port
(pt 192 80)
(output)
(text "DLedout[7..0]" (rect 0 0 67 12)(font "Arial" ))
(text "DLedout[7..0]" (rect 104 75 171 87)(font "Arial" ))
(line (pt 192 80)(pt 176 80)(line_width 3))
)
(port
(pt 192 96)
(output)
(text "address[9..0]" (rect 0 0 64 12)(font "Arial" ))
(text "address[9..0]" (rect 107 91 171 103)(font "Arial" ))
(line (pt 192 96)(pt 176 96)(line_width 3))
)
(parameter
"square"
"B\"001\""
""
)
(parameter
"triangle"
"B\"010\""
""
)
(parameter
"sin"
"B\"100\""
""
)
(parameter
"adj1"
"B\"001\""
""
)
(parameter
"adj100"
"B\"010\""
""
)
(parameter
"adj10k"
"B\"100\""
""
)
(drawing
(rectangle (rect 16 16 176 112)(line_width 1))
)
(annotation_block (parameter)(rect 1288 888 1392 992))
)
(symbol
(rect 1752 640 1920 800)
(text "datachoose" (rect 5 0 61 12)(font "Arial" ))
(text "inst2" (rect 8 144 31 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 "en1" (rect 0 0 17 12)(font "Arial" ))
(text "en1" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "en2" (rect 0 0 17 12)(font "Arial" ))
(text "en2" (rect 21 59 38 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "en3" (rect 0 0 17 12)(font "Arial" ))
(text "en3" (rect 21 75 38 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "data1[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "data1[7..0]" (rect 21 91 74 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "data2[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "data2[7..0]" (rect 21 107 74 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "data3[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "data3[7..0]" (rect 21 123 74 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 168 32)
(output)
(text "dataout[7..0]" (rect 0 0 62 12)(font "Arial" ))
(text "dataout[7..0]" (rect 85 27 147 39)(font "Arial" ))
(line (pt 168 32)(pt 152 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 152 144)(line_width 1))
)
)
(symbol
(rect 1472 840 1624 936)
(text "romlookup" (rect 5 84 55 96)(font "Arial" ))
(text "inst4" (rect 8 4 31 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "address[9..0]" (rect 0 0 64 12)(font "Arial" ))
(text "address[9..0]" (rect 21 57 85 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 41 46 53)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "clken" (rect 0 0 25 12)(font "Arial" ))
(text "clken" (rect 21 25 46 37)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 152 64)
(output)
(text "q[7..0]" (rect 0 0 31 12)(font "Arial" ))
(text "q[7..0]" (rect 100 57 131 69)(font "Arial" ))
(line (pt 152 64)(pt 136 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 80)(line_width 1))
)
(flipx)
)
(symbol
(rect 1472 600 1656 696)
(text "squwave" (rect 5 0 48 12)(font "Arial" ))
(text "inst5" (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 0 48)
(input)
(text "enable" (rect 0 0 31 12)(font "Arial" ))
(text "enable" (rect 21 43 52 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -