📄 block1.bdf
字号:
(line (pt 184 144)(pt 168 144)(line_width 1))
)
(port
(pt 184 160)
(output)
(text "state_down" (rect 0 0 55 12)(font "Arial" ))
(text "state_down" (rect 108 155 163 167)(font "Arial" ))
(line (pt 184 160)(pt 168 160)(line_width 1))
)
(port
(pt 184 176)
(output)
(text "state_open" (rect 0 0 54 12)(font "Arial" ))
(text "state_open" (rect 109 171 163 183)(font "Arial" ))
(line (pt 184 176)(pt 168 176)(line_width 1))
)
(port
(pt 184 192)
(output)
(text "state_floor[1..0]" (rect 0 0 79 12)(font "Arial" ))
(text "state_floor[1..0]" (rect 84 187 163 199)(font "Arial" ))
(line (pt 184 192)(pt 168 192)(line_width 3))
)
(parameter
"DELAY_COUNTER_N"
"4"
""
)
(parameter
"DELAY_COUNTER_WIDTH"
"3"
""
)
(parameter
"FLOOR1_OPEN"
"B\"00100\""
""
)
(parameter
"FLOOR1_OPEN_UP"
"B\"00101\""
""
)
(parameter
"FLOOR1_CLOSE_UP"
"B\"00001\""
""
)
(parameter
"FLOOR1_STAND"
"B\"00000\""
""
)
(parameter
"FLOOR2_OPEN"
"B\"01100\""
""
)
(parameter
"FLOOR2_OPEN_UP"
"B\"01101\""
""
)
(parameter
"FLOOR2_OPEN_DOWN"
"B\"01110\""
""
)
(parameter
"FLOOR2_UP"
"B\"01001\""
""
)
(parameter
"FLOOR2_DOWN"
"B\"01010\""
""
)
(parameter
"FLOOR2_STAND"
"B\"01000\""
""
)
(parameter
"FLOOR3_OPEN"
"B\"10100\""
""
)
(parameter
"FLOOR3_OPEN_DOWN"
"B\"10110\""
""
)
(parameter
"FLOOR3_DOWN"
"B\"10010\""
""
)
(parameter
"FLOOR3_STAND"
"B\"10000\""
""
)
(drawing
(rectangle (rect 16 16 168 208)(line_width 1))
)
(annotation_block (parameter)(rect 560 -16 744 56))
)
(symbol
(rect 848 216 992 312)
(text "BCD_decoder" (rect 5 0 73 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "bcd[1..0]" (rect 0 0 43 12)(font "Arial" ))
(text "bcd[1..0]" (rect 21 27 64 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 144 32)
(output)
(text "seg[6..0]" (rect 0 0 43 12)(font "Arial" ))
(text "seg[6..0]" (rect 80 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 768 440 816 472)
(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))
)
)
(symbol
(rect 864 456 912 488)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 21 32 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 768 472 816 504)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 21 32 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 768 504 816 536)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst12" (rect 3 21 32 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 768 536 816 568)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst13" (rect 3 21 32 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 864 488 912 520)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 21 32 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 864 520 912 552)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst15" (rect 3 21 32 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 792 216 840 248)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst16" (rect 3 21 32 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 848 200 896 232)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst17" (rect 3 21 32 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 792 184 840 216)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst18" (rect 3 21 32 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 296 88 480 376)
(text "keybuffer" (rect 5 0 54 12)(font "Arial" ))
(text "inst4" (rect 8 272 31 284)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 27 33 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "up_key_1" (rect 0 0 48 12)(font "Arial" ))
(text "up_key_1" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "up_key_2" (rect 0 0 48 12)(font "Arial" ))
(text "up_key_2" (rect 21 59 69 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "down_key_2" (rect 0 0 61 12)(font "Arial" ))
(text "down_key_2" (rect 21 75 82 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "down_key_3" (rect 0 0 61 12)(font "Arial" ))
(text "down_key_3" (rect 21 91 82 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "to_key_1" (rect 0 0 46 12)(font "Arial" ))
(text "to_key_1" (rect 21 107 67 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "to_key_2" (rect 0 0 46 12)(font "Arial" ))
(text "to_key_2" (rect 21 123 67 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "to_key_3" (rect 0 0 46 12)(font "Arial" ))
(text "to_key_3" (rect 21 139 67 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "up_rq_1_done" (rect 0 0 68 12)(font "Arial" ))
(text "up_rq_1_done" (rect 21 155 89 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "up_rq_2_done" (rect 0 0 68 12)(font "Arial" ))
(text "up_rq_2_done" (rect 21 171 89 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "down_rq_2_done" (rect 0 0 81 12)(font "Arial" ))
(text "down_rq_2_done" (rect 21 187 102 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 1))
)
(port
(pt 0 208)
(input)
(text "down_rq_3_done" (rect 0 0 81 12)(font "Arial" ))
(text "down_rq_3_done" (rect 21 203 102 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 1))
)
(port
(pt 0 224)
(input)
(text "to_rq_1_done" (rect 0 0 66 12)(font "Arial" ))
(text "to_rq_1_done" (rect 21 219 87 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "to_rq_2_done" (rect 0 0 66 12)(font "Arial" ))
(text "to_rq_2_done" (rect 21 235 87 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 1))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -