📄 yb_cnt4.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 -176 200 -8 216)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (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 -176 288 -8 304)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RST" (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
(output)
(rect 112 -56 128 120)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "q[0]" (rect 0 5 12 23)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(pin
(output)
(rect 264 -56 280 120)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "q[1]" (rect 0 5 12 23)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(pin
(output)
(rect 424 -48 440 128)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "q[2]" (rect 0 5 12 23)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(pin
(output)
(rect 568 -48 584 128)
(text "OUTPUT" (rect 0 137 10 175)(font "Arial" (font_size 6))(vertical))
(text "q[3]" (rect 0 5 12 23)(font "Arial" )(vertical))
(pt 8 176)
(drawing
(line (pt 8 176)(pt 8 124)(line_width 1))
(line (pt 4 124)(pt 4 98)(line_width 1))
(line (pt 12 124)(pt 12 98)(line_width 1))
(line (pt 12 124)(pt 4 124)(line_width 1))
(line (pt 4 98)(pt 8 94)(line_width 1))
(line (pt 8 94)(pt 12 98)(line_width 1))
(line (pt 12 98)(pt 8 94)(line_width 1))
)
(rotate90)
)
(symbol
(rect 24 168 88 248)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 68 20 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 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 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 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 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 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 112 208 144 256)
(text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
(text "inst1" (rect -1 3 11 26)(font "Arial" )(vertical))
(port
(pt 16 0)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 0)(pt 16 13)(line_width 1))
)
(port
(pt 16 48)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 13 32 25 49)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 39)(pt 16 48)(line_width 1))
)
(drawing
(line (pt 7 13)(pt 25 13)(line_width 1))
(line (pt 25 13)(pt 16 31)(line_width 1))
(line (pt 7 13)(pt 16 31)(line_width 1))
(circle (rect 12 31 20 39)(line_width 1))
)
(rotate270)
)
(symbol
(rect 184 168 248 248)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 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 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 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 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 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 272 216 304 264)
(text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
(text "inst3" (rect -1 3 11 26)(font "Arial" )(vertical))
(port
(pt 16 0)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 0)(pt 16 13)(line_width 1))
)
(port
(pt 16 48)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 13 32 25 49)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 39)(pt 16 48)(line_width 1))
)
(drawing
(line (pt 7 13)(pt 25 13)(line_width 1))
(line (pt 25 13)(pt 16 31)(line_width 1))
(line (pt 7 13)(pt 16 31)(line_width 1))
(circle (rect 12 31 20 39)(line_width 1))
)
(rotate270)
)
(symbol
(rect 344 176 408 256)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 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 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 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 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 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 216 464 264)
(text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
(text "inst5" (rect -1 3 11 26)(font "Arial" )(vertical))
(port
(pt 16 0)
(input)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -