📄 block1.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 200 272 368 288)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "rst" (rect 9 0 21 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 192 288 360 304)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "c" (rect 9 0 14 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 176 256 344 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk_in" (rect 9 0 37 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 784 264 960 280)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "light[5..0]" (rect 90 0 136 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 792 312 968 328)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led1[6..0]" (rect 90 0 136 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 792 328 968 344)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led2[6..0]" (rect 90 0 136 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 792 344 968 360)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led3[6..0]" (rect 90 0 136 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 792 360 968 376)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "led4[6..0]" (rect 90 0 136 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 544 240 656 400)
(text "top1" (rect 5 0 26 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 "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 43 33 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "c" (rect 0 0 5 12)(font "Arial" ))
(text "c" (rect 21 59 26 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "light[5..0]" (rect 0 0 46 12)(font "Arial" ))
(text "light[5..0]" (rect 45 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "q1[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "q1[7..0]" (rect 54 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 3))
)
(port
(pt 112 64)
(output)
(text "q2[7..0]" (rect 0 0 37 12)(font "Arial" ))
(text "q2[7..0]" (rect 54 59 91 71)(font "Arial" ))
(line (pt 112 64)(pt 96 64)(line_width 3))
)
(port
(pt 112 80)
(output)
(text "led1[6..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led1[6..0]" (rect 45 75 91 87)(font "Arial" ))
(line (pt 112 80)(pt 96 80)(line_width 3))
)
(port
(pt 112 96)
(output)
(text "led2[6..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led2[6..0]" (rect 45 91 91 103)(font "Arial" ))
(line (pt 112 96)(pt 96 96)(line_width 3))
)
(port
(pt 112 112)
(output)
(text "led3[6..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led3[6..0]" (rect 45 107 91 119)(font "Arial" ))
(line (pt 112 112)(pt 96 112)(line_width 3))
)
(port
(pt 112 128)
(output)
(text "led4[6..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led4[6..0]" (rect 45 123 91 135)(font "Arial" ))
(line (pt 112 128)(pt 96 128)(line_width 3))
)
(drawing
(rectangle (rect 16 16 96 144)(line_width 1))
)
)
(symbol
(rect 376 104 472 200)
(text "fre" (rect 5 0 19 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk_in" (rect 0 0 28 12)(font "Arial" ))
(text "clk_in" (rect 21 27 49 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 61 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))
)
)
(connector
(pt 656 272)
(pt 784 272)
(bus)
)
(connector
(pt 536 280)
(pt 536 288)
)
(connector
(pt 536 288)
(pt 544 288)
)
(connector
(pt 528 296)
(pt 528 304)
)
(connector
(pt 528 304)
(pt 544 304)
)
(connector
(pt 656 320)
(pt 792 320)
(bus)
)
(connector
(pt 656 336)
(pt 792 336)
(bus)
)
(connector
(pt 656 352)
(pt 792 352)
(bus)
)
(connector
(pt 656 368)
(pt 792 368)
(bus)
)
(connector
(pt 368 280)
(pt 536 280)
)
(connector
(pt 360 296)
(pt 528 296)
)
(connector
(pt 488 272)
(pt 544 272)
)
(connector
(pt 488 136)
(pt 472 136)
)
(connector
(pt 488 272)
(pt 488 136)
)
(connector
(pt 376 136)
(pt 360 136)
)
(connector
(pt 360 136)
(pt 360 264)
)
(connector
(pt 360 264)
(pt 344 264)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -