📄 top.bdf
字号:
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 128 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 1344 184 1488 280)
(text "my_dff" (rect 53 1 97 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[3..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[3..0]" (rect 20 26 73 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 80 96)
(input)
(text "aclr" (rect 0 0 14 21)(font "Arial" (font_size 8))(vertical))
(text "aclr" (rect 73 59 87 80)(font "Arial" (font_size 8))(vertical))
(line (pt 80 96)(pt 80 80)(line_width 1))
)
(port
(pt 144 40)
(output)
(text "q[3..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[3..0]" (rect 95 34 130 48)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 128 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 1136 496 1264 592)
(text "my_compare" (rect 27 1 115 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "dataa[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[3..0]" (rect 20 42 80 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 128 56)
(output)
(text "aeb" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "aeb" (rect 91 50 112 64)(font "Arial" (font_size 8)))
(line (pt 128 56)(pt 112 56)(line_width 1))
)
(drawing
(text "compare" (rect 76 17 112 29)(font "Arial" ))
(text "datab[]=9" (rect 20 58 65 71)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 112 16)(line_width 1))
(line (pt 112 16)(pt 112 80)(line_width 1))
(line (pt 112 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
)
)
(symbol
(rect 1152 672 1280 768)
(text "my_compare" (rect 27 1 115 17)(font "Arial" (font_size 10)))
(text "inst14" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "dataa[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[3..0]" (rect 20 42 80 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 128 56)
(output)
(text "aeb" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "aeb" (rect 91 50 112 64)(font "Arial" (font_size 8)))
(line (pt 128 56)(pt 112 56)(line_width 1))
)
(drawing
(text "compare" (rect 76 17 112 29)(font "Arial" ))
(text "datab[]=9" (rect 20 58 65 71)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 112 16)(line_width 1))
(line (pt 112 16)(pt 112 80)(line_width 1))
(line (pt 112 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
)
)
(symbol
(rect 840 552 904 632)
(text "TFF" (rect 1 0 16 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 29 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 32 80)
(input)
(text "CLRN" (rect 21 59 26 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 24)
(input)
(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
(text "T" (rect 16 20 21 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 2 28 7 40)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 2 28 19 40)(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 12 68)(pt 12 12)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 34)(pt 19 41)(line_width 1))
(line (pt 18 41)(pt 12 47)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 800 496 832 512)
(text "VCC" (rect 7 0 24 9)(font "Arial" (font_size 6)))
(text "inst6" (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 440 688 600 784)
(text "debounce" (rect 5 0 52 12)(font "Arial" ))
(text "inst12" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "input_port" (rect 0 0 48 12)(font "Arial" ))
(text "input_port" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "output_port" (rect 0 0 55 12)(font "Arial" ))
(text "output_port" (rect 84 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 432 552 592 648)
(text "debounce" (rect 5 0 52 12)(font "Arial" ))
(text "inst13" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "input_port" (rect 0 0 48 12)(font "Arial" ))
(text "input_port" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "output_port" (rect 0 0 55 12)(font "Arial" ))
(text "output_port" (rect 84 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 440 304 600 400)
(text "debounce" (rect 5 0 52 12)(font "Arial" ))
(text "inst15" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "input_port" (rect 0 0 48 12)(font "Arial" ))
(text "input_port" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "output_port" (rect 0 0 55 12)(font "Arial" ))
(text "output_port" (rect 84 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 432 160 592 256)
(text "debounce" (rect 5 0 52 12)(font "Arial" ))
(text "inst16" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "input_port" (rect 0 0 48 12)(font "Arial" ))
(text "input_port" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 32)
(output)
(text "output_port" (rect 0 0 55 12)(font "Arial" ))
(text "output_port" (rect 84 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 1824 392 1872 424)
(text "NOT" (rect 1 0 17 9)(font "Arial" (font_size 6)))
(text "inst26" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 12 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 47 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 2288 448 2432 560)
(text "my_counter" (rect 38 1 118 17)(font "Arial" (font_size 10)))
(text "inst28" (rect 8 96 37 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 26 55 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 112 112)
(input)
(text "aset" (rect 0 0 14 24)(font "Arial" (font_size 8))(vertical))
(text "aset" (rect 105 73 119 97)(font "Arial" (font_size 8))(vertical))
(line (pt 112 112)(pt 112 96)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[3..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[3..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "up counter" (rect 84 17 128 29)(font "Arial" ))
(text "aset 0" (rect 102 27 128 39)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 96)(line_width 1))
(line (pt 128 96)(pt 16 96)(line_width 1))
(line (pt 16 96)(pt 16 16)(line_width 1))
(line (pt 16 26)(pt 22 32)(line_width 1))
(line (pt 22 32)(pt 16 38)(line_width 1))
)
)
(symbol
(rect 2288 584 2432 696)
(text "my_counter" (rect 38 1 118 17)(font "Arial" (font_size 10)))
(text "inst29" (rect 8 96 37 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 26 55 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 112 112)
(input)
(text "aset" (rect 0 0 14 24)(font "Arial" (font_size 8))(vertical))
(text "aset" (rect 105 73 119 97)(font "Arial" (font_size 8))(vertical))
(line (pt 112 112)(pt 112 96)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[3..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[3..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "up counter" (rect 84 17 128 29)(font "Arial" ))
(text "aset 0" (rect 102 27 128 39)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 96)(line_width 1))
(line (pt 128 96)(pt 16 96)(line_width 1))
(line (pt 16 96)(pt 16 16)(line_width 1))
(line (pt 16 26)(pt 22 32)(line_width 1))
(line (pt 22 32)(pt 16 38)(line_width 1))
)
)
(symbol
(rect 2480 680 2608 776)
(text "my_compare" (rect 27 1 115 17)(font "Arial" (font_size 10)))
(text "inst30" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "dataa[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[3..0]" (rect 20 42 80 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 128 56)
(output)
(text "aeb" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "aeb" (rect 91 50 112 64)(font "Arial" (font_size 8)))
(line (pt 128 56)(pt 112 56)(line_width 1))
)
(drawing
(text "compare" (rect 76 17 112 29)(font "Arial" ))
(text "datab[]=9" (rect 20 58 65 71)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 112 16)(line_width 1))
(line (pt 112 16)(pt 112 80)(line_width 1))
(line (pt 112 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -