📄 binarykpzi.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 480 328 648 344)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "1Hz" (rect 5 0 23 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 480 296 648 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ke1" (rect 5 0 22 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 480 312 648 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ke2" (rect 5 0 22 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 696 304 872 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "f[3..0]" (rect 90 0 120 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 696 320 872 336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "p[3..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))
)
)
(symbol
(rect 360 104 480 288)
(text "74161" (rect 45 0 86 16)(font "Arial" (font_size 10)))
(text "inst" (rect 3 173 20 185)(font "Arial" ))
(port
(pt 0 136)
(input)
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 8 136)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 8 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 120 104)
(output)
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(line (pt 104 104)(pt 120 104)(line_width 1))
)
(port
(pt 120 88)
(output)
(text "QC" (rect 85 81 102 95)(font "Arial" (font_size 8)))
(text "QC" (rect 85 81 102 95)(font "Arial" (font_size 8)))
(line (pt 104 88)(pt 120 88)(line_width 1))
)
(port
(pt 120 72)
(output)
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(line (pt 104 120)(pt 120 120)(line_width 1))
)
(drawing
(text "COUNTER" (rect 38 169 94 183)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 168)(pt 104 168)(line_width 1))
(line (pt 16 168)(pt 16 16)(line_width 1))
(line (pt 104 168)(pt 104 16)(line_width 1))
(circle (rect 8 20 16 28)(line_width 1))
(circle (rect 8 132 16 140)(line_width 1))
)
)
(symbol
(rect 320 304 352 320)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 408 320 440 352)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 704 104 824 288)
(text "74161" (rect 45 0 86 16)(font "Arial" (font_size 10)))
(text "inst7" (rect 3 173 26 185)(font "Arial" ))
(port
(pt 0 136)
(input)
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(text "CLRN" (rect 21 129 52 143)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 8 136)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 153 44 167)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(text "ENP" (rect 21 113 43 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(text "LDN" (rect 21 17 44 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 8 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(text "A" (rect 21 33 30 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(text "D" (rect 21 81 29 95)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(text "ENT" (rect 21 97 43 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(text "B" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(text "C" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 120 104)
(output)
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(text "QD" (rect 85 97 102 111)(font "Arial" (font_size 8)))
(line (pt 104 104)(pt 120 104)(line_width 1))
)
(port
(pt 120 88)
(output)
(text "QC" (rect 85 81 102 95)(font "Arial" (font_size 8)))
(text "QC" (rect 85 81 102 95)(font "Arial" (font_size 8)))
(line (pt 104 88)(pt 120 88)(line_width 1))
)
(port
(pt 120 72)
(output)
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(line (pt 104 120)(pt 120 120)(line_width 1))
)
(drawing
(text "COUNTER" (rect 38 169 94 183)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 168)(pt 104 168)(line_width 1))
(line (pt 16 168)(pt 16 16)(line_width 1))
(line (pt 104 168)(pt 104 16)(line_width 1))
(circle (rect 8 20 16 28)(line_width 1))
(circle (rect 8 132 16 140)(line_width 1))
)
)
(connector
(pt 360 160)
(pt 344 160)
)
(connector
(pt 360 176)
(pt 344 176)
)
(connector
(pt 360 192)
(pt 344 192)
)
(connector
(text "1Hz" (rect 328 248 346 260)(font "Arial" ))
(pt 360 264)
(pt 320 264)
)
(connector
(text "vcc" (rect 334 112 352 124)(font "Arial" ))
(pt 312 128)
(pt 360 128)
)
(connector
(pt 320 240)
(pt 360 240)
)
(connector
(pt 320 224)
(pt 320 240)
)
(connector
(text "ke1" (rect 334 192 351 204)(font "Arial" ))
(pt 360 208)
(pt 320 208)
)
(connector
(text "f0" (rect 502 144 512 156)(font "Arial" ))
(pt 480 160)
(pt 544 160)
)
(connector
(text "f1" (rect 504 160 514 172)(font "Arial" ))
(pt 544 176)
(pt 480 176)
)
(connector
(text "f2" (rect 504 176 514 188)(font "Arial" ))
(pt 480 192)
(pt 544 192)
)
(connector
(text "f3" (rect 507 192 517 204)(font "Arial" ))
(pt 544 208)
(pt 480 208)
)
(connector
(text "vcc" (rect 283 208 301 220)(font "Arial" ))
(pt 264 224)
(pt 320 224)
)
(connector
(pt 320 224)
(pt 360 224)
)
(connector
(text "gnd" (rect 327 128 344 140)(font "Arial" ))
(pt 312 144)
(pt 344 144)
)
(connector
(pt 344 144)
(pt 360 144)
)
(connector
(pt 344 160)
(pt 344 176)
)
(connector
(pt 344 144)
(pt 344 160)
)
(connector
(pt 344 176)
(pt 344 192)
)
(connector
(pt 704 160)
(pt 688 160)
)
(connector
(text "1Hz" (rect 672 248 690 260)(font "Arial" ))
(pt 664 264)
(pt 704 264)
)
(connector
(text "vcc" (rect 664 112 682 124)(font "Arial" ))
(pt 656 128)
(pt 704 128)
)
(connector
(pt 664 224)
(pt 664 240)
)
(connector
(text "p0" (rect 846 144 857 156)(font "Arial" ))
(pt 824 160)
(pt 888 160)
)
(connector
(text "p1" (rect 848 160 859 172)(font "Arial" ))
(pt 888 176)
(pt 824 176)
)
(connector
(text "p2" (rect 848 176 859 188)(font "Arial" ))
(pt 824 192)
(pt 888 192)
)
(connector
(text "p3" (rect 851 192 862 204)(font "Arial" ))
(pt 888 208)
(pt 824 208)
)
(connector
(text "ke2" (rect 681 192 698 204)(font "Arial" ))
(pt 664 208)
(pt 704 208)
)
(connector
(pt 688 192)
(pt 704 192)
)
(connector
(pt 688 176)
(pt 704 176)
)
(connector
(pt 664 240)
(pt 704 240)
)
(connector
(pt 688 144)
(pt 688 160)
)
(connector
(text "gnd" (rect 671 128 688 140)(font "Arial" ))
(pt 656 144)
(pt 688 144)
)
(connector
(pt 688 144)
(pt 704 144)
)
(connector
(text "vcc" (rect 623 208 641 220)(font "Arial" ))
(pt 600 224)
(pt 664 224)
)
(connector
(pt 664 224)
(pt 704 224)
)
(connector
(pt 688 160)
(pt 688 176)
)
(connector
(pt 688 176)
(pt 688 192)
)
(connector
(pt 336 320)
(pt 336 336)
)
(connector
(text "vcc" (rect 357 320 375 332)(font "Arial" ))
(pt 336 336)
(pt 384 336)
)
(connector
(pt 424 312)
(pt 424 320)
)
(connector
(text "gnd" (rect 420 296 437 308)(font "Arial" ))
(pt 424 312)
(pt 448 312)
)
(junction (pt 344 160))
(junction (pt 344 176))
(junction (pt 344 144))
(junction (pt 320 224))
(junction (pt 688 160))
(junction (pt 688 144))
(junction (pt 664 224))
(junction (pt 688 176))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -