xianshi.bdf

来自「利用数字电路知识」· BDF 代码 · 共 1,898 行 · 第 1/4 页

BDF
1,898
字号
	)
)
(symbol
	(rect 664 296 784 456)
	(text "7447" (rect 44 0 77 16)(font "Arial" (font_size 10)))
	(text "inst9" (rect 3 149 26 161)(font "Arial" ))
	(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 392 296 512 456)
	(text "74138" (rect 42 0 83 16)(font "Arial" (font_size 10)))
	(text "inst11" (rect 3 149 32 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 456 472 488 504)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst13" (rect 3 21 32 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 288 352 320 368)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst14" (rect 3 5 32 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 32 232 64 264)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst16" (rect 3 21 32 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 216 232 248 264)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst17" (rect 3 21 32 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 432 232 464 264)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst18" (rect 3 21 32 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 648 232 680 264)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst19" (rect 3 21 32 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 584 448 616 464)
	(text "VCC" (rect 7 6 27 16)(font "Arial" (font_size 6)))
	(text "inst15" (rect 3 -1 32 11)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 -3 24 9)(font "Courier New" (bold))(invisible))
		(line (pt 16 0)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
	(flipx)
)
(symbol
	(rect 24 448 56 464)
	(text "VCC" (rect 7 6 27 16)(font "Arial" (font_size 6)))
	(text "inst2" (rect 3 -1 26 11)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 -3 24 9)(font "Courier New" (bold))(invisible))
		(line (pt 16 0)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
	(flipx)
)
(connector
	(text "b" (rect 55 40 60 52)(font "Arial" ))
	(pt 40 56)
	(pt 72 56)
)
(connector
	(text "b" (rect 248 40 253 52)(font "Arial" ))
	(pt 240 56)
	(pt 272 56)
)
(connector
	(text "c" (rect 456 56 461 68)(font "Arial" ))
	(pt 448 72)
	(pt 488 72)
)
(connector
	(text "b" (rect 456 40 461 52)(font "Arial" ))
	(pt 448 56)
	(pt 488 56)
)
(connector
	(text "a" (rect 456 24 461 36)(font "Arial" ))
	(pt 448 40)
	(pt 488 40)
)
(connector
	(text "c" (rect 672 56 677 68)(font "Arial" ))
	(pt 664 72)
	(pt 688 72)
)
(connector
	(text "b" (rect 672 40 677 52)(font "Arial" ))
	(pt 664 56)
	(pt 688 56)
)
(connector
	(text "a" (rect 672 24 677 36)(font "Arial" ))
	(pt 664 40)
	(pt 688 40)
)
(connector
	(text "y2" (rect 400 104 412 116)(font "Arial" ))
	(pt 424 120)
	(pt 392 120)
)
(connector
	(pt 72 184)
	(pt 48 184)
)
(connector
	(pt 72 200)
	(pt 48 200)
)
(connector
	(pt 72 216)
	(pt 48 216)
)
(connector
	(pt 272 216)
	(pt 232 216)
)
(connector
	(pt 488 184)
	(pt 448 184)
)
(connector
	(pt 488 200)
	(pt 448 200)
)
(connector
	(pt 488 216)
	(pt 448 216)
)
(connector
	(pt 688 184)
	(pt 664 184)
)
(connector
	(pt 688 200)
	(pt 664 200)
)
(connector
	(pt 688 216)
	(pt 664 216)
)
(connector
	(pt 232 200)
	(pt 272 200)
)
(connector
	(pt 272 184)
	(pt 232 184)
)
(connector
	(pt 48 184)
	(pt 48 200)
)
(connector
	(pt 48 200)
	(pt 48 216)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?