📄 cnt6.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-2003 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.2"))
(pin
(input)
(rect 48 240 216 256)
(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 18 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 154 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 48 272 216 288)
(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 28 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 154 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 88 120 152 168)
(text "AND2" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 37 19 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 18 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 18 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 18 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 18 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 64 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 64 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 88 64 152 112)
(text "NOR2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 37 25 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 18 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 18 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 18 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 18 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 64 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 64 27)(font "Courier New" (bold))(invisible))
(line (pt 54 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 36)(pt 23 36)(line_width 1))
(line (pt 12 13)(pt 23 13)(line_width 1))
(arc (pt 46 24)(pt 23 13)(rect -6 13 53 72)(line_width 1))
(arc (pt 5 29)(pt 5 19)(rect -16 8 17 41)(line_width 1))
(arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36)(line_width 1))
(circle (rect 46 20 54 28)(line_width 1))
)
)
(symbol
(rect 208 88 272 168)
(text "JKFF" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 68 25 80)(font "Arial" ))
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 40 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 40 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 43 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 43 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "K" (rect 15 51 20 63)(font "Courier New" (bold)))
(text "K" (rect 15 51 20 63)(font "Courier New" (bold)))
(line (pt 0 56)(pt 12 56)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "J" (rect 15 20 20 32)(font "Courier New" (bold)))
(text "J" (rect 15 20 20 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 2 31 18 43)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 2 31 18 43)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 12 34)(pt 12 33)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 328 88 392 168)
(text "DFF" (rect 1 0 18 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 68 25 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 43 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 43 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 19 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 19 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 40 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 40 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 432 88 496 168)
(text "DFF" (rect 1 0 18 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 68 25 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 43 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 43 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 19 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 19 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 40 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 40 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(connector
(pt 272 112)
(pt 328 112)
)
(connector
(pt 432 128)
(pt 416 128)
)
(connector
(pt 416 128)
(pt 416 248)
)
(connector
(pt 464 168)
(pt 464 280)
)
(connector
(pt 360 168)
(pt 360 280)
)
(connector
(pt 360 280)
(pt 464 280)
)
(connector
(pt 240 168)
(pt 240 280)
)
(connector
(pt 208 112)
(pt 176 112)
)
(connector
(pt 176 112)
(pt 176 88)
)
(connector
(pt 176 88)
(pt 152 88)
)
(connector
(pt 88 96)
(pt 72 96)
)
(connector
(pt 88 80)
(pt 48 80)
)
(connector
(pt 48 200)
(pt 400 200)
)
(connector
(pt 400 200)
(pt 400 112)
)
(connector
(pt 392 112)
(pt 400 112)
)
(connector
(pt 400 112)
(pt 432 112)
)
(connector
(pt 208 144)
(pt 152 144)
)
(connector
(pt 48 80)
(pt 48 136)
)
(connector
(pt 48 136)
(pt 48 200)
)
(connector
(pt 72 96)
(pt 72 152)
)
(connector
(pt 72 152)
(pt 72 184)
)
(connector
(pt 48 136)
(pt 88 136)
)
(connector
(pt 72 152)
(pt 88 152)
)
(connector
(pt 496 112)
(pt 512 112)
)
(connector
(pt 512 112)
(pt 512 184)
)
(connector
(pt 208 128)
(pt 200 128)
)
(connector
(pt 328 128)
(pt 312 128)
)
(connector
(pt 312 248)
(pt 312 128)
)
(connector
(pt 312 248)
(pt 416 248)
)
(connector
(pt 216 280)
(pt 240 280)
)
(connector
(pt 240 280)
(pt 360 280)
)
(connector
(pt 200 128)
(pt 200 224)
)
(connector
(pt 200 224)
(pt 224 224)
)
(connector
(pt 224 224)
(pt 224 248)
)
(connector
(pt 216 248)
(pt 224 248)
)
(connector
(pt 224 248)
(pt 312 248)
)
(connector
(pt 72 184)
(pt 512 184)
)
(junction (pt 360 280))
(junction (pt 240 280))
(junction (pt 72 152))
(junction (pt 400 112))
(junction (pt 48 136))
(junction (pt 312 248))
(junction (pt 224 248))
(text "Q0" (rect 280 88 295 102)(font "Arial" (font_size 8)))
(text "Q1" (rect 408 88 423 102)(font "Arial" (font_size 8)))
(text "Q2" (rect 504 88 519 102)(font "Arial" (font_size 8)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -