📄 keyboard1.bdf
字号:
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 123 35 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 139 45 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 280 32)
(output)
(text "led_bits[bitwidth-1..0]" (rect 0 0 103 12)(font "Arial" ))
(text "led_bits[bitwidth-1..0]" (rect 156 27 259 39)(font "Arial" ))
(line (pt 280 32)(pt 264 32)(line_width 3))
)
(port
(pt 280 64)
(output)
(text "dp" (rect 0 0 11 12)(font "Arial" ))
(text "dp" (rect 248 59 259 71)(font "Arial" ))
(line (pt 280 64)(pt 264 64)(line_width 1))
)
(port
(pt 280 48)
(bidir)
(text "led_cs[digital_num-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "led_cs[digital_num-1..0]" (rect 143 43 259 55)(font "Arial" ))
(line (pt 280 48)(pt 264 48)(line_width 3))
)
(parameter
"bitwidth"
"4"
""
)
(parameter
"digital_num"
"6"
""
)
(drawing
(rectangle (rect 16 16 264 176)(line_width 1))
)
(annotation_block (parameter)(rect 792 472 896 520))
)
(symbol
(rect 864 520 1056 616)
(text "seg7_leddrv" (rect 5 0 65 12)(font "Arial" ))
(text "inst8" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[3..0]" (rect 21 27 68 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "dp" (rect 0 0 11 12)(font "Arial" ))
(text "dp" (rect 21 43 32 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 192 32)
(bidir)
(text "seg7led_bits[7..0]" (rect 0 0 87 12)(font "Arial" ))
(text "seg7led_bits[7..0]" (rect 84 27 171 39)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 80)(line_width 1))
)
)
(symbol
(rect 104 632 400 728)
(text "flip_latch" (rect 5 0 49 12)(font "Arial" ))
(text "inst9" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[data_width-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "data_in[data_width-1..0]" (rect 21 27 137 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wr" (rect 0 0 10 12)(font "Arial" ))
(text "wr" (rect 21 43 31 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 296 32)
(output)
(text "data_out[data_width-1..0]" (rect 0 0 123 12)(font "Arial" ))
(text "data_out[data_width-1..0]" (rect 152 27 275 39)(font "Arial" ))
(line (pt 296 32)(pt 280 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 280 80)(line_width 1))
)
(annotation_block (parameter)(rect 400 600 504 632))
)
(symbol
(rect 104 744 400 840)
(text "flip_latch" (rect 5 0 49 12)(font "Arial" ))
(text "inst10" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[data_width-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "data_in[data_width-1..0]" (rect 21 27 137 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wr" (rect 0 0 10 12)(font "Arial" ))
(text "wr" (rect 21 43 31 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 296 32)
(output)
(text "data_out[data_width-1..0]" (rect 0 0 123 12)(font "Arial" ))
(text "data_out[data_width-1..0]" (rect 152 27 275 39)(font "Arial" ))
(line (pt 296 32)(pt 280 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 280 80)(line_width 1))
)
(annotation_block (parameter)(rect 400 712 504 744))
)
(symbol
(rect 104 856 400 952)
(text "flip_latch" (rect 5 0 49 12)(font "Arial" ))
(text "inst11" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[data_width-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "data_in[data_width-1..0]" (rect 21 27 137 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wr" (rect 0 0 10 12)(font "Arial" ))
(text "wr" (rect 21 43 31 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 296 32)
(output)
(text "data_out[data_width-1..0]" (rect 0 0 123 12)(font "Arial" ))
(text "data_out[data_width-1..0]" (rect 152 27 275 39)(font "Arial" ))
(line (pt 296 32)(pt 280 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 280 80)(line_width 1))
)
(annotation_block (parameter)(rect 400 824 504 856))
)
(symbol
(rect 104 968 400 1064)
(text "flip_latch" (rect 5 0 49 12)(font "Arial" ))
(text "inst12" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[data_width-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "data_in[data_width-1..0]" (rect 21 27 137 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wr" (rect 0 0 10 12)(font "Arial" ))
(text "wr" (rect 21 43 31 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 296 32)
(output)
(text "data_out[data_width-1..0]" (rect 0 0 123 12)(font "Arial" ))
(text "data_out[data_width-1..0]" (rect 152 27 275 39)(font "Arial" ))
(line (pt 296 32)(pt 280 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 280 80)(line_width 1))
)
(annotation_block (parameter)(rect 400 936 504 968))
)
(symbol
(rect 104 1080 400 1176)
(text "flip_latch" (rect 5 0 49 12)(font "Arial" ))
(text "inst13" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_in[data_width-1..0]" (rect 0 0 116 12)(font "Arial" ))
(text "data_in[data_width-1..0]" (rect 21 27 137 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wr" (rect 0 0 10 12)(font "Arial" ))
(text "wr" (rect 21 43 31 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 296 32)
(output)
(text "data_out[data_width-1..0]" (rect 0 0 123 12)(font "Arial" ))
(text "data_out[data_width-1..0]" (rect 152 27 275 39)(font "Arial" ))
(line (pt 296 32)(pt 280 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 280 80)(line_width 1))
)
(annotation_block (parameter)(rect 400 1048 504 1080))
)
(symbol
(rect 464 224 744 352)
(text "delay_kbtingle" (rect 5 0 75 12)(font "Arial" ))
(text "inst4" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "row_select[keyboard_size-1..0]" (rect 0 0 152 12)(font "Arial" ))
(text "row_select[keyboard_size-1..0]" (rect 21 27 173 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "row_data[keyboard_size-1..0]" (rect 0 0 143 12)(font "Arial" ))
(text "row_data[keyboard_size-1..0]" (rect 21 43 164 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 59 46 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 91 45 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 280 32)
(output)
(text "key_data[7..0]" (rect 0 0 71 12)(font "Arial" ))
(text "key_data[7..0]" (rect 188 27 259 39)(font "Arial" ))
(line (pt 280 32)(pt 264 32)(line_width 3))
)
(port
(pt 280 48)
(output)
(text "key_down" (rect 0 0 49 12)(font "Arial" ))
(text "key_down" (rect 210 43 259 55)(font "Arial" ))
(line (pt 280 48)(pt 264 48)(line_width 1))
)
(parameter
"keyboard_size"
"4"
""
)
(drawing
(rectangle (rect 16 16 264 112)(line_width 1))
)
(annotation_block (parameter)(rect 744 192 856 224))
)
(connector
(pt 80 96)
(pt 104 96)
)
(connector
(pt 256 112)
(pt 256 176)
)
(connector
(pt 256 176)
(pt 96 176)
)
(connector
(pt 96 176)
(pt 96 224)
)
(connector
(pt 96 224)
(pt 104 224)
)
(connector
(pt 256 240)
(pt 256 296)
)
(connector
(pt 96 296)
(pt 96 344)
)
(connector
(pt 96 344)
(pt 104 344)
)
(connector
(pt 88 360)
(pt 104 360)
)
(connector
(pt 80 112)
(pt 88 112)
)
(connector
(pt 88 112)
(pt 104 112)
)
(connector
(pt 104 240)
(pt 88 240)
)
(connector
(pt 88 112)
(pt 88 240)
)
(connector
(pt 248 360)
(pt 432 360)
)
(connector
(pt 432 96)
(pt 464 96)
)
(connector
(pt 432 304)
(pt 464 304)
)
(connector
(pt 432 360)
(pt 432 304)
)
(connector
(pt 432 304)
(pt 432 96)
)
(connector
(pt 408 240)
(pt 408 288)
)
(connector
(pt 408 288)
(pt 464 288)
)
(connector
(pt 88 240)
(pt 88 360)
)
(connector
(pt 456 112)
(pt 464 112)
)
(connector
(pt 456 320)
(pt 464 320)
)
(connector
(pt 456 424)
(pt 456 320)
)
(connector
(pt 456 320)
(pt 456 112)
)
(connector
(pt 464 272)
(pt 440 272)
(bus)
)
(connector
(pt 440 272)
(pt 440 448)
(bus)
)
(connector
(pt 464 256)
(pt 440 256)
(bus)
)
(connector
(pt 440 256)
(pt 440 176)
(bus)
)
(connector
(pt 440 176)
(pt 704 176)
(bus)
)
(connector
(pt 704 176)
(pt 704 96)
(bus)
)
(connector
(pt 88 424)
(pt 456 424)
)
(connector
(pt 840 272)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -