📄 sch_exam.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-2004 Altera Corporation
Any megafunction design, and related netlist (encrypted or decrypted),
support information, device programming or simulation file, and any other
associated documentation or information provided by Altera or a partner
under Altera's Megafunction Partnership Program may be used only
to program PLD devices (but not masked PLD devices) from Altera. Any
other use of such megafunction design, netlist, support information,
device programming or simulation file, or any other related documentation
or information is prohibited for any other purpose, including, but not
limited to modification, reverse engineering, de-compiling, or use with
any other silicon devices, unless such use is explicitly licensed under
a separate agreement with Altera or a megafunction partner. Title to the
intellectual property, including patents, copyrights, trademarks, trade
secrets, or maskworks, embodied in any such megafunction design, netlist,
support information, device programming or simulation file, or any other
related documentation or information provided by Altera or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect 32 144 200 160)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "datain1" (rect 5 0 40 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 128 200 144)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "datain2" (rect 5 0 40 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 112 200 128)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "datain3" (rect 5 0 40 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 160 200 176)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "datain0" (rect 5 0 40 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 200 200 216)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "sel[1:0]" (rect 5 0 41 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 232 200 248)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "B1" (rect 5 0 17 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 248 200 264)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "G1" (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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 304 200 320)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "B2" (rect 5 0 17 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 360 200 376)
(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
(text "B3" (rect 5 0 17 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 153 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 560 144 736 160)
(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
(text "dout" (rect 90 0 111 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 264 80 352 192)
(text "lpm_mux0" (rect 10 2 80 18)(font "Arial" (font_size 10)))
(text "inst" (rect 8 96 25 108)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "data3" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "data3" (rect 4 27 35 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 32 40)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "data2" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "data2" (rect 4 43 35 57)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 32 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "data1" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "data1" (rect 4 59 35 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 32 72)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "data0" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "data0" (rect 4 75 35 89)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 32 88)(line_width 1))
)
(port
(pt 40 112)
(input)
(text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "sel[1..0]" (rect 44 99 88 113)(font "Arial" (font_size 8)))
(line (pt 40 112)(pt 40 100)(line_width 3))
)
(port
(pt 88 64)
(output)
(text "result" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "result" (rect 58 51 89 65)(font "Arial" (font_size 8)))
(line (pt 88 64)(pt 48 64)(line_width 1))
)
(drawing
(line (pt 32 24)(pt 32 104)(line_width 1))
(line (pt 48 32)(pt 48 96)(line_width 1))
(line (pt 32 24)(pt 48 32)(line_width 1))
(line (pt 32 104)(pt 48 96)(line_width 1))
)
)
(symbol
(rect 472 128 536 176)
(text "NAND2" (rect 1 0 28 9)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 17 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 17 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 63 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -