📄 testup_f_k.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 104 104 272 120)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "key1" (rect 48 1 75 15)(font "Arial" (font_size 8)))
(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 104 120 272 136)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "clk" (rect 58 1 73 15)(font "Arial" (font_size 8)))
(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 96 288 264 304)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "key2" (rect 48 1 75 15)(font "Arial" (font_size 8)))
(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 840 176 1016 192)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "addr_f[6..0]" (rect 90 0 156 14)(font "Arial" (font_size 8)))
(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 840 208 1016 224)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "output[9..0]" (rect 90 0 153 14)(font "Arial" (font_size 8)))
(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 840 192 1016 208)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "led[1..0]" (rect 90 0 134 14)(font "Arial" (font_size 8)))
(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 328 88 432 152)
(text "key" (rect 39 -1 67 15)(font "Courier New" (font_size 10)(bold)))
(text "1" (rect 0 55 5 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "key" (rect 20 20 37 32)(font "Courier New" (bold)))
(text "key" (rect 20 20 37 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 104 24)
(output)
(text "kout" (rect 66 20 89 32)(font "Courier New" (bold)))
(text "kout" (rect 66 20 89 32)(font "Courier New" (bold)))
(line (pt 88 24)(pt 104 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 88 48)(line_width 1))
(line (pt 16 16)(pt 88 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 88 48)(pt 88 16)(line_width 1))
)
)
(symbol
(rect 328 272 432 336)
(text "key" (rect 39 -1 67 15)(font "Courier New" (font_size 10)(bold)))
(text "3" (rect 0 55 5 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "key" (rect 20 20 37 32)(font "Courier New" (bold)))
(text "key" (rect 20 20 37 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "clk" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 104 24)
(output)
(text "kout" (rect 66 20 89 32)(font "Courier New" (bold)))
(text "kout" (rect 66 20 89 32)(font "Courier New" (bold)))
(line (pt 88 24)(pt 104 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 88 48)(line_width 1))
(line (pt 16 16)(pt 88 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 88 48)(pt 88 16)(line_width 1))
)
)
(symbol
(rect 328 176 448 240)
(text "RSNAND" (rect 32 -1 88 15)(font "Courier New" (font_size 10)(bold)))
(text "2" (rect 0 55 5 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "r_in" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "r_in" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "s_in" (rect 20 36 43 48)(font "Courier New" (bold)))
(text "s_in" (rect 20 36 43 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 120 24)
(output)
(text "q_out" (rect 77 20 106 32)(font "Courier New" (bold)))
(text "q_out" (rect 77 20 106 32)(font "Courier New" (bold)))
(line (pt 104 24)(pt 120 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 104 48)(line_width 1))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 104 48)(pt 104 16)(line_width 1))
)
)
(symbol
(rect 544 160 752 256)
(text "UPDOWN2" (rect 71 -1 137 15)(font "Courier New" (font_size 10)(bold)))
(text "4" (rect 0 87 5 99)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "r_in" (rect 20 20 43 32)(font "Courier New" (bold)))
(text "r_in" (rect 20 20 43 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "key" (rect 20 36 37 48)(font "Courier New" (bold)))
(text "key" (rect 20 36 37 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "s_in" (rect 20 52 43 64)(font "Courier New" (bold)))
(text "s_in" (rect 20 52 43 64)(font "Courier New" (bold)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "sys_clk" (rect 20 68 61 80)(font "Courier New" (bold)))
(text "sys_clk" (rect 20 68 61 80)(font "Courier New" (bold)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 208 24)
(output)
(text "addr_f[6..0]" (rect 130 20 200 32)(font "Courier New" (bold)))
(text "addr_f[6..0]" (rect 130 20 200 32)(font "Courier New" (bold)))
(line (pt 192 24)(pt 208 24)(line_width 3))
)
(port
(pt 208 40)
(output)
(text "led[1..0]" (rect 145 36 198 48)(font "Courier New" (bold)))
(text "led[1..0]" (rect 145 36 198 48)(font "Courier New" (bold)))
(line (pt 192 40)(pt 208 40)(line_width 3))
)
(port
(pt 208 56)
(output)
(text "dataout[9..0]" (rect 125 52 201 64)(font "Courier New" (bold)))
(text "dataout[9..0]" (rect 125 52 201 64)(font "Courier New" (bold)))
(line (pt 192 56)(pt 208 56)(line_width 3))
)
(drawing
(line (pt 16 80)(pt 192 80)(line_width 1))
(line (pt 16 16)(pt 192 16)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 192 80)(pt 192 16)(line_width 1))
)
)
(connector
(pt 272 112)
(pt 328 112)
)
(connector
(pt 264 296)
(pt 328 296)
)
(connector
(pt 272 128)
(pt 280 128)
)
(connector
(pt 280 128)
(pt 328 128)
)
(connector
(pt 432 112)
(pt 480 112)
)
(connector
(pt 480 184)
(pt 544 184)
)
(connector
(pt 432 296)
(pt 480 296)
)
(connector
(pt 480 216)
(pt 544 216)
)
(connector
(pt 528 232)
(pt 544 232)
)
(connector
(pt 280 360)
(pt 528 360)
)
(connector
(pt 280 312)
(pt 328 312)
)
(connector
(pt 448 200)
(pt 544 200)
)
(connector
(pt 312 200)
(pt 328 200)
)
(connector
(pt 312 168)
(pt 480 168)
)
(connector
(pt 312 216)
(pt 328 216)
)
(connector
(pt 312 256)
(pt 480 256)
)
(connector
(pt 752 184)
(pt 840 184)
(bus)
)
(connector
(pt 752 200)
(pt 840 200)
(bus)
)
(connector
(pt 752 216)
(pt 840 216)
(bus)
)
(connector
(pt 528 360)
(pt 528 232)
)
(connector
(pt 280 360)
(pt 280 312)
)
(connector
(pt 280 312)
(pt 280 128)
)
(connector
(pt 312 200)
(pt 312 168)
)
(connector
(pt 480 184)
(pt 480 168)
)
(connector
(pt 480 168)
(pt 480 112)
)
(connector
(pt 312 256)
(pt 312 216)
)
(connector
(pt 480 296)
(pt 480 256)
)
(connector
(pt 480 256)
(pt 480 216)
)
(junction (pt 280 128))
(junction (pt 280 312))
(junction (pt 480 168))
(junction (pt 480 256))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -