📄 counter60.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 -32 88 136 104)
(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)))
)
(pin
(output)
(rect 760 200 936 216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "cout" (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))
)
)
(pin
(output)
(rect 264 336 440 352)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q2[3..0]" (rect 90 0 127 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 264 304 440 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "q1[3..0]" (rect 90 0 127 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 208 56 320 216)
(text "74390" (rect 40 0 81 16)(font "Arial" (font_size 10)))
(text "inst" (rect 3 149 20 161)(font "Arial" ))
(port
(pt 0 120)
(input)
(text "2CLKA" (rect 20 113 60 127)(font "Arial" (font_size 8)))
(text "2CLKA" (rect 20 113 60 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "2CLR" (rect 20 97 50 111)(font "Arial" (font_size 8)))
(text "2CLR" (rect 20 97 50 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 136)
(input)
(text "2CLKB" (rect 20 129 58 143)(font "Arial" (font_size 8)))
(text "2CLKB" (rect 20 129 58 143)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 16 136)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "1CLR" (rect 19 17 49 31)(font "Arial" (font_size 8)))
(text "1CLR" (rect 19 17 49 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "1CLKA" (rect 19 33 59 47)(font "Arial" (font_size 8)))
(text "1CLKA" (rect 19 33 59 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "1CLKB" (rect 19 49 57 63)(font "Arial" (font_size 8)))
(text "1CLKB" (rect 19 49 57 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 112 24)
(output)
(text "1QA" (rect 71 17 96 31)(font "Arial" (font_size 8)))
(text "1QA" (rect 71 17 96 31)(font "Arial" (font_size 8)))
(line (pt 96 24)(pt 112 24)(line_width 1))
)
(port
(pt 112 40)
(output)
(text "1QB" (rect 71 33 95 47)(font "Arial" (font_size 8)))
(text "1QB" (rect 71 33 95 47)(font "Arial" (font_size 8)))
(line (pt 96 40)(pt 112 40)(line_width 1))
)
(port
(pt 112 56)
(output)
(text "1QC" (rect 71 50 95 64)(font "Arial" (font_size 8)))
(text "1QC" (rect 71 50 95 64)(font "Arial" (font_size 8)))
(line (pt 96 56)(pt 112 56)(line_width 1))
)
(port
(pt 112 72)
(output)
(text "1QD" (rect 71 66 95 80)(font "Arial" (font_size 8)))
(text "1QD" (rect 71 66 95 80)(font "Arial" (font_size 8)))
(line (pt 96 72)(pt 112 72)(line_width 1))
)
(port
(pt 112 88)
(output)
(text "2QA" (rect 71 82 96 96)(font "Arial" (font_size 8)))
(text "2QA" (rect 71 82 96 96)(font "Arial" (font_size 8)))
(line (pt 96 88)(pt 112 88)(line_width 1))
)
(port
(pt 112 104)
(output)
(text "2QB" (rect 71 98 95 112)(font "Arial" (font_size 8)))
(text "2QB" (rect 71 98 95 112)(font "Arial" (font_size 8)))
(line (pt 96 104)(pt 112 104)(line_width 1))
)
(port
(pt 112 120)
(output)
(text "2QC" (rect 71 113 95 127)(font "Arial" (font_size 8)))
(text "2QC" (rect 71 113 95 127)(font "Arial" (font_size 8)))
(line (pt 96 120)(pt 112 120)(line_width 1))
)
(port
(pt 112 136)
(output)
(text "2QD" (rect 71 129 95 143)(font "Arial" (font_size 8)))
(text "2QD" (rect 71 129 95 143)(font "Arial" (font_size 8)))
(line (pt 96 136)(pt 112 136)(line_width 1))
)
(drawing
(text "DUAL COUNTER" (rect 18 146 111 160)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 144)(pt 96 144)(line_width 1))
(line (pt 96 144)(pt 96 16)(line_width 1))
(line (pt 16 144)(pt 16 16)(line_width 1))
)
)
(symbol
(rect 488 56 536 88)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 576 40 640 120)
(text "AND4" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 69 26 81)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 18 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 18 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(line (pt 0 48)(pt 18 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(line (pt 0 64)(pt 18 64)(line_width 1))
)
(port
(pt 64 40)
(output)
(text "OUT" (rect 48 31 65 43)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 31 65 43)(font "Courier New" (bold))(invisible))
(line (pt 46 40)(pt 64 40)(line_width 1))
)
(drawing
(line (pt 18 28)(pt 34 28)(line_width 1))
(line (pt 18 52)(pt 18 28)(line_width 1))
(line (pt 18 67)(pt 18 13)(line_width 1))
(line (pt 34 53)(pt 18 53)(line_width 1))
(arc (pt 34 52)(pt 34 28)(rect 22 28 47 53)(line_width 1))
)
)
(symbol
(rect 488 88 536 120)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 384 200 432 232)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 512 152 576 264)
(text "AND6" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 101 26 113)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(line (pt 0 48)(pt 18 48)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 18 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 18 32)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(line (pt 0 64)(pt 18 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible))
(text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible))
(line (pt 0 80)(pt 18 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible))
(text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible))
(line (pt 0 96)(pt 18 96)(line_width 1))
)
(port
(pt 64 56)
(output)
(text "OUT" (rect 48 47 65 59)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 47 65 59)(font "Courier New" (bold))(invisible))
(line (pt 46 56)(pt 64 56)(line_width 1))
)
(drawing
(line (pt 18 43)(pt 33 43)(line_width 1))
(line (pt 18 99)(pt 18 13)(line_width 1))
(line (pt 18 70)(pt 34 70)(line_width 1))
(arc (pt 34 69)(pt 33 43)(rect 20 43 47 70)(line_width 1))
)
)
(symbol
(rect 440 232 456 264)
(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
(text "inst8" (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 400 120 448 152)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 712 -80 760 -48)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 712 -48 760 -16)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -