📄 bk_mux.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 -144 48 24 64)
(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)))
(annotation_block (location)(rect -192 64 -144 80))
)
(pin
(output)
(rect 448 128 624 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "y" (rect 90 0 97 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))
)
(annotation_block (location)(rect 624 144 672 160))
)
(symbol
(rect 296 32 416 256)
(text "74151" (rect 41 0 82 16)(font "Arial" (font_size 10)))
(text "inst" (rect 3 213 20 225)(font "Arial" ))
(port
(pt 0 200)
(input)
(text "GN" (rect 22 192 39 206)(font "Arial" (font_size 8)))
(text "GN" (rect 22 192 39 206)(font "Arial" (font_size 8)))
(line (pt 0 200)(pt 8 200)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "C" (rect 22 49 30 63)(font "Arial" (font_size 8)))
(text "C" (rect 22 49 30 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "B" (rect 22 33 30 47)(font "Arial" (font_size 8)))
(text "B" (rect 22 33 30 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "A" (rect 22 17 31 31)(font "Arial" (font_size 8)))
(text "A" (rect 22 17 31 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 152)
(input)
(text "D5" (rect 22 145 37 159)(font "Arial" (font_size 8)))
(text "D5" (rect 22 145 37 159)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 16 152)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "D0" (rect 22 65 37 79)(font "Arial" (font_size 8)))
(text "D0" (rect 22 65 37 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "D1" (rect 22 81 37 95)(font "Arial" (font_size 8)))
(text "D1" (rect 22 81 37 95)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 136)
(input)
(text "D4" (rect 22 129 37 143)(font "Arial" (font_size 8)))
(text "D4" (rect 22 129 37 143)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 16 136)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "D3" (rect 22 113 37 127)(font "Arial" (font_size 8)))
(text "D3" (rect 22 113 37 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "D2" (rect 22 97 37 111)(font "Arial" (font_size 8)))
(text "D2" (rect 22 97 37 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 168)
(input)
(text "D6" (rect 22 161 37 175)(font "Arial" (font_size 8)))
(text "D6" (rect 22 161 37 175)(font "Arial" (font_size 8)))
(line (pt 0 168)(pt 16 168)(line_width 1))
)
(port
(pt 0 184)
(input)
(text "D7" (rect 22 177 37 191)(font "Arial" (font_size 8)))
(text "D7" (rect 22 177 37 191)(font "Arial" (font_size 8)))
(line (pt 0 184)(pt 16 184)(line_width 1))
)
(port
(pt 120 104)
(output)
(text "Y" (rect 91 97 100 111)(font "Arial" (font_size 8)))
(text "Y" (rect 91 97 100 111)(font "Arial" (font_size 8)))
(line (pt 104 104)(pt 120 104)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "WN" (rect 82 113 102 127)(font "Arial" (font_size 8)))
(text "WN" (rect 82 113 102 127)(font "Arial" (font_size 8)))
(line (pt 112 120)(pt 120 120)(line_width 1))
)
(drawing
(text "MULTIPLEXER" (rect 28 209 107 223)(font "Arial" (font_size 8)))
(line (pt 16 208)(pt 16 16)(line_width 1))
(line (pt 104 208)(pt 104 16)(line_width 1))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 208)(pt 104 208)(line_width 1))
(circle (rect 104 116 112 124)(line_width 1))
(circle (rect 8 196 16 204)(line_width 1))
)
)
(symbol
(rect 224 256 240 288)
(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
(text "inst1" (rect 5 6 17 29)(font "Arial" )(vertical)(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 7 8 19 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 16)(pt 8 16)(line_width 1))
)
(drawing
(line (pt 8 24)(pt 8 8)(line_width 1))
)
(rotate90)
)
(symbol
(rect 256 280 288 312)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst2" (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 24 24 120 152)
(text "4_2counter" (rect 5 0 69 14)(font "Arial" (font_size 8)))
(text "inst9" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 27 36 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "reset" (rect 21 43 50 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "DO" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "DO" (rect 58 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 60 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 60 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 60 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 112)(line_width 1))
)
)
(symbol
(rect 24 160 88 208)
(text "NAND3" (rect 32 38 63 48)(font "Arial" (font_size 6)))
(text "inst4" (rect 38 -1 61 11)(font "Arial" ))
(port
(pt 64 32)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 45 29 62 41)(font "Courier New" (bold))(invisible))
(line (pt 64 32)(pt 48 32)(line_width 1))
)
(port
(pt 64 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 45 21 62 33)(font "Courier New" (bold))(invisible))
(line (pt 64 24)(pt 48 24)(line_width 1))
)
(port
(pt 64 16)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 45 13 62 25)(font "Courier New" (bold))(invisible))
(line (pt 64 16)(pt 48 16)(line_width 1))
)
(port
(pt 0 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect -1 21 16 33)(font "Courier New" (bold))(invisible))
(line (pt 12 24)(pt 0 24)(line_width 1))
)
(drawing
(line (pt 48 11)(pt 32 11)(line_width 1))
(line (pt 48 36)(pt 32 36)(line_width 1))
(line (pt 48 12)(pt 48 36)(line_width 1))
(arc (pt 32 12)(pt 32 36)(rect 19 11 44 36)(line_width 1))
(circle (rect 12 20 20 28)(line_width 1))
)
(rotate180)
)
(connector
(pt 296 152)
(pt 272 152)
)
(connector
(pt 296 168)
(pt 272 168)
)
(connector
(pt 296 200)
(pt 272 200)
)
(connector
(pt 248 104)
(pt 296 104)
)
(connector
(pt 248 120)
(pt 296 120)
)
(connector
(pt 248 136)
(pt 296 136)
)
(connector
(pt 248 184)
(pt 296 184)
)
(connector
(pt 248 272)
(pt 240 272)
)
(connector
(pt 248 104)
(pt 248 120)
)
(connector
(pt 248 120)
(pt 248 136)
)
(connector
(pt 248 136)
(pt 248 184)
)
(connector
(pt 248 184)
(pt 248 272)
)
(connector
(pt 272 152)
(pt 272 168)
)
(connector
(pt 272 168)
(pt 272 200)
)
(connector
(pt 272 200)
(pt 272 280)
)
(connector
(pt 416 136)
(pt 448 136)
)
(connector
(pt 0 184)
(pt 0 72)
)
(connector
(pt 0 72)
(pt 24 72)
)
(connector
(pt 160 88)
(pt 160 176)
)
(connector
(pt 160 176)
(pt 88 176)
)
(connector
(pt 120 88)
(pt 160 88)
)
(connector
(pt 160 88)
(pt 296 88)
)
(connector
(pt 168 72)
(pt 168 184)
)
(connector
(pt 120 72)
(pt 168 72)
)
(connector
(pt 168 72)
(pt 296 72)
)
(connector
(pt 168 184)
(pt 88 184)
)
(connector
(pt 176 56)
(pt 176 192)
)
(connector
(pt 120 56)
(pt 176 56)
)
(connector
(pt 176 56)
(pt 296 56)
)
(connector
(pt 176 192)
(pt 88 192)
)
(connector
(pt 0 184)
(pt 24 184)
)
(junction (pt 248 120))
(junction (pt 248 136))
(junction (pt 248 184))
(junction (pt 272 168))
(junction (pt 272 200))
(junction (pt 160 88))
(junction (pt 168 72))
(junction (pt 176 56))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -