dongtaixianshi.bdf
来自「QuartusII编写的电子钟程序」· BDF 代码 · 共 1,668 行 · 第 1/4 页
BDF
1,668 行
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(text "QB" (rect 85 65 102 79)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(text "QA" (rect 85 49 103 63)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(text "RCO" (rect 77 113 102 127)(font "Arial" (font_size 8)))
(line (pt 104 120)(pt 120 120)(line_width 1))
)
(drawing
(text "COUNTER" (rect 38 169 94 183)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 168)(pt 104 168)(line_width 1))
(line (pt 16 168)(pt 16 16)(line_width 1))
(line (pt 104 168)(pt 104 16)(line_width 1))
(circle (rect 8 20 16 28)(line_width 1))
(circle (rect 8 132 16 140)(line_width 1))
)
)
(symbol
(rect 400 280 520 440)
(text "74138" (rect 42 0 83 16)(font "Arial" (font_size 10)))
(text "inst6" (rect 3 149 26 161)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "A" (rect 22 33 31 47)(font "Arial" (font_size 8)))
(text "A" (rect 22 33 31 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "B" (rect 22 49 30 63)(font "Arial" (font_size 8)))
(text "B" (rect 22 49 30 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "G1" (rect 22 81 38 95)(font "Arial" (font_size 8)))
(text "G1" (rect 22 81 38 95)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "C" (rect 22 65 30 79)(font "Arial" (font_size 8)))
(text "C" (rect 22 65 30 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "G2AN" (rect 22 97 56 111)(font "Arial" (font_size 8)))
(text "G2AN" (rect 22 97 56 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 8 104)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "G2BN" (rect 22 113 55 127)(font "Arial" (font_size 8)))
(text "G2BN" (rect 22 113 55 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 8 120)(line_width 1))
)
(port
(pt 120 24)
(output)
(text "Y0N" (rect 77 17 101 31)(font "Arial" (font_size 8)))
(text "Y0N" (rect 77 17 101 31)(font "Arial" (font_size 8)))
(line (pt 112 24)(pt 120 24)(line_width 1))
)
(port
(pt 120 40)
(output)
(text "Y1N" (rect 77 33 101 47)(font "Arial" (font_size 8)))
(text "Y1N" (rect 77 33 101 47)(font "Arial" (font_size 8)))
(line (pt 112 40)(pt 120 40)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "Y2N" (rect 77 49 101 63)(font "Arial" (font_size 8)))
(text "Y2N" (rect 77 49 101 63)(font "Arial" (font_size 8)))
(line (pt 112 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 72)
(output)
(text "Y3N" (rect 77 65 101 79)(font "Arial" (font_size 8)))
(text "Y3N" (rect 77 65 101 79)(font "Arial" (font_size 8)))
(line (pt 112 72)(pt 120 72)(line_width 1))
)
(port
(pt 120 88)
(output)
(text "Y4N" (rect 77 81 101 95)(font "Arial" (font_size 8)))
(text "Y4N" (rect 77 81 101 95)(font "Arial" (font_size 8)))
(line (pt 112 88)(pt 120 88)(line_width 1))
)
(port
(pt 120 104)
(output)
(text "Y5N" (rect 77 97 101 111)(font "Arial" (font_size 8)))
(text "Y5N" (rect 77 97 101 111)(font "Arial" (font_size 8)))
(line (pt 112 104)(pt 120 104)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "Y6N" (rect 77 113 101 127)(font "Arial" (font_size 8)))
(text "Y6N" (rect 77 113 101 127)(font "Arial" (font_size 8)))
(line (pt 112 120)(pt 120 120)(line_width 1))
)
(port
(pt 120 136)
(output)
(text "Y7N" (rect 77 129 101 143)(font "Arial" (font_size 8)))
(text "Y7N" (rect 77 129 101 143)(font "Arial" (font_size 8)))
(line (pt 112 136)(pt 120 136)(line_width 1))
)
(drawing
(text "3:8 DECODER" (rect 28 145 105 159)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 144)(pt 104 144)(line_width 1))
(line (pt 16 144)(pt 16 16)(line_width 1))
(line (pt 104 144)(pt 104 16)(line_width 1))
(circle (rect 104 68 112 76)(line_width 1))
(circle (rect 104 84 112 92)(line_width 1))
(circle (rect 104 100 112 108)(line_width 1))
(circle (rect 104 132 112 140)(line_width 1))
(circle (rect 104 116 112 124)(line_width 1))
(circle (rect 8 100 16 108)(line_width 1))
(circle (rect 8 116 16 124)(line_width 1))
(circle (rect 104 20 112 28)(line_width 1))
(circle (rect 104 36 112 44)(line_width 1))
(circle (rect 104 52 112 60)(line_width 1))
)
)
(symbol
(rect 392 648 424 664)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 328 672 360 704)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst9" (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 368 480 488 640)
(text "7447" (rect 44 0 77 16)(font "Arial" (font_size 10)))
(text "inst" (rect 3 149 17 159)(font "Arial" (font_size 6)))
(port
(pt 0 88)
(input)
(text "LTN" (rect 21 80 43 94)(font "Arial" (font_size 8)))
(text "LTN" (rect 21 80 43 94)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 8 88)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "B" (rect 21 32 29 46)(font "Arial" (font_size 8)))
(text "B" (rect 21 32 29 46)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 56)
(input)
(text "C" (rect 21 48 29 62)(font "Arial" (font_size 8)))
(text "C" (rect 21 48 29 62)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "D" (rect 21 64 29 78)(font "Arial" (font_size 8)))
(text "D" (rect 21 64 29 78)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "RBIN" (rect 21 96 48 110)(font "Arial" (font_size 8)))
(text "RBIN" (rect 21 96 48 110)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 8 104)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "BIN" (rect 21 112 39 126)(font "Arial" (font_size 8)))
(text "BIN" (rect 21 112 39 126)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 8 120)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "A" (rect 21 16 30 30)(font "Arial" (font_size 8)))
(text "A" (rect 21 16 30 30)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 120 40)
(output)
(text "OB" (rect 81 32 98 46)(font "Arial" (font_size 8)))
(text "OB" (rect 81 32 98 46)(font "Arial" (font_size 8)))
(line (pt 104 40)(pt 120 40)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "OC" (rect 81 48 98 62)(font "Arial" (font_size 8)))
(text "OC" (rect 81 48 98 62)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 88)
(output)
(text "OE" (rect 81 80 97 94)(font "Arial" (font_size 8)))
(text "OE" (rect 81 80 97 94)(font "Arial" (font_size 8)))
(line (pt 104 88)(pt 120 88)(line_width 1))
)
(port
(pt 120 72)
(output)
(text "OD" (rect 81 64 98 78)(font "Arial" (font_size 8)))
(text "OD" (rect 81 64 98 78)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72)(line_width 1))
)
(port
(pt 120 104)
(output)
(text "OF" (rect 81 96 97 110)(font "Arial" (font_size 8)))
(text "OF" (rect 81 96 97 110)(font "Arial" (font_size 8)))
(line (pt 104 104)(pt 120 104)(line_width 1))
)
(port
(pt 120 120)
(output)
(text "OG" (rect 81 112 99 126)(font "Arial" (font_size 8)))
(text "OG" (rect 81 112 99 126)(font "Arial" (font_size 8)))
(line (pt 104 120)(pt 120 120)(line_width 1))
)
(port
(pt 120 24)
(output)
(text "OA" (rect 81 16 99 30)(font "Arial" (font_size 8)))
(text "OA" (rect 81 16 99 30)(font "Arial" (font_size 8)))
(line (pt 104 24)(pt 120 24)(line_width 1))
)
(port
(pt 120 136)
(output)
(text "RBON" (rect 65 128 99 142)(font "Arial" (font_size 8)))
(text "RBON" (rect 65 128 99 142)(font "Arial" (font_size 8)))
(line (pt 112 136)(pt 120 136)(line_width 1))
)
(drawing
(text "BCD TO 7SEG" (rect 25 145 105 159)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 16 144)(pt 104 144)(line_width 1))
(line (pt 16 144)(pt 16 16)(line_width 1))
(line (pt 104 144)(pt 104 16)(line_width 1))
(circle (rect 8 116 16 124)(line_width 1))
(circle (rect 8 100 16 108)(line_width 1))
(circle (rect 8 84 16 92)(line_width 1))
(circle (rect 104 132 112 140)(line_width 1))
)
)
(symbol
(rect 680 272 744 320)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst12" (rect 3 37 32 49)(font "Arial" ))
(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 15 32)(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 15 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 25 36)(line_width 1))
(line (pt 14 13)(pt 25 13)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
)
)
(symbol
(rect 656 304 720 352)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst13" (rect 3 37 32 49)(font "Arial" ))
(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 15 32)(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 15 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 25 36)(line_width 1))
(line (pt 14 13)(pt 25 13)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
)
)
(symbol
(rect 688 384 752 432)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 37 32 49)(font "Arial" ))
(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 15 32)(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 15 16)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 25 36)(line_width 1))
(line (pt 14 13)(pt 25 13)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
)
)
(connector
(text "a1" (rect 176 16 187 28)(font "Arial" ))
(pt 192 32)
(pt 168 32)
)
(connector
(text "a2" (rect 176 32 187 44)(font "Arial" ))
(pt 192 48)
(pt 168 48)
)
(connector
(text "a3" (rect 176 48 187 60)(font "Arial" ))
(pt 192 64)
(pt 168 64)
)
(connector
(text "a1" (rect 368 24 379 36)(font "Arial" ))
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?