📄 top11.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 -72 56 96 72)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "S_H" (rect 5 0 26 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 -80 184 88 200)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "S_M" (rect 5 0 26 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 -80 264 88 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "S_S" (rect 5 0 25 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 -80 296 88 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK_5Hz" (rect 5 0 51 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 288 -24 456 -8)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK1kHz" (rect 5 0 51 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 576 272 752 288)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LED[7..0]" (rect 90 0 137 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 576 304 752 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LED_S[2..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 576 328 752 344)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "HH[3..0]" (rect 90 0 132 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 576 352 752 368)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "H[3..0]" (rect 90 0 124 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 576 376 752 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "M[3..0]" (rect 90 0 124 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 576 400 752 416)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "MM[3..0]" (rect 90 0 132 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 576 424 752 440)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "S[3..0]" (rect 90 0 123 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 576 448 752 464)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SS[3..0]" (rect 90 0 130 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 152 32 248 128)
(text "t_mux2" (rect 5 0 41 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sel" (rect 0 0 14 12)(font "Arial" ))
(text "sel" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "a" (rect 0 0 5 12)(font "Arial" ))
(text "a" (rect 21 43 26 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "b" (rect 0 0 5 12)(font "Arial" ))
(text "b" (rect 21 59 26 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "q" (rect 0 0 5 12)(font "Arial" ))
(text "q" (rect 70 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 152 160 248 256)
(text "t_mux2" (rect 5 0 41 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sel" (rect 0 0 14 12)(font "Arial" ))
(text "sel" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "a" (rect 0 0 5 12)(font "Arial" ))
(text "a" (rect 21 43 26 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "b" (rect 0 0 5 12)(font "Arial" ))
(text "b" (rect 21 59 26 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "q" (rect 0 0 5 12)(font "Arial" ))
(text "q" (rect 70 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 320 32 464 128)
(text "t_count24" (rect 5 0 53 12)(font "Arial" ))
(text "inst2" (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 144 32)
(bidir)
(text "bcd10_out[3..0]" (rect 0 0 76 12)(font "Arial" ))
(text "bcd10_out[3..0]" (rect 47 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(port
(pt 144 48)
(bidir)
(text "bcd1_out[3..0]" (rect 0 0 70 12)(font "Arial" ))
(text "bcd1_out[3..0]" (rect 53 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 320 160 456 256)
(text "t_count60" (rect 5 0 53 12)(font "Arial" ))
(text "inst3" (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 "preset" (rect 0 0 30 12)(font "Arial" ))
(text "preset" (rect 21 43 51 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 136 64)
(output)
(text "co" (rect 0 0 11 12)(font "Arial" ))
(text "co" (rect 104 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 1))
)
(port
(pt 136 32)
(bidir)
(text "bcd10[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "bcd10[3..0]" (rect 60 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(port
(pt 136 48)
(bidir)
(text "bcd1[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "bcd1[3..0]" (rect 66 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 80)(line_width 1))
)
)
(symbol
(rect 328 272 464 368)
(text "t_count60" (rect 5 0 53 12)(font "Arial" ))
(text "inst4" (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 "preset" (rect 0 0 30 12)(font "Arial" ))
(text "preset" (rect 21 43 51 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 136 64)
(output)
(text "co" (rect 0 0 11 12)(font "Arial" ))
(text "co" (rect 104 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 1))
)
(port
(pt 136 32)
(bidir)
(text "bcd10[3..0]" (rect 0 0 55 12)(font "Arial" ))
(text "bcd10[3..0]" (rect 60 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(port
(pt 136 48)
(bidir)
(text "bcd1[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "bcd1[3..0]" (rect 66 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 80)(line_width 1))
)
)
(symbol
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -