📄 spi.bdf
字号:
(line (pt 120 32)(pt 128 32)(line_width 3))
(line (pt 112 43)(pt 120 43)(line_width 1))
(line (pt 120 43)(pt 120 55)(line_width 1))
(line (pt 120 55)(pt 112 55)(line_width 1))
(line (pt 112 55)(pt 112 43)(line_width 1))
(line (pt 112 50)(pt 114 52)(line_width 1))
(line (pt 114 52)(pt 112 54)(line_width 1))
(line (pt 98 52)(pt 112 52)(line_width 1))
(line (pt 120 48)(pt 128 48)(line_width 3))
(line (pt 112 59)(pt 120 59)(line_width 1))
(line (pt 120 59)(pt 120 71)(line_width 1))
(line (pt 120 71)(pt 112 71)(line_width 1))
(line (pt 112 71)(pt 112 59)(line_width 1))
(line (pt 112 66)(pt 114 68)(line_width 1))
(line (pt 114 68)(pt 112 70)(line_width 1))
(line (pt 98 68)(pt 112 68)(line_width 1))
(line (pt 120 64)(pt 128 64)(line_width 1))
(line (pt 112 83)(pt 120 83)(line_width 1))
(line (pt 120 83)(pt 120 95)(line_width 1))
(line (pt 120 95)(pt 112 95)(line_width 1))
(line (pt 112 95)(pt 112 83)(line_width 1))
(line (pt 112 90)(pt 114 92)(line_width 1))
(line (pt 114 92)(pt 112 94)(line_width 1))
(line (pt 104 92)(pt 112 92)(line_width 1))
(line (pt 120 88)(pt 128 88)(line_width 3))
(line (pt 112 99)(pt 120 99)(line_width 1))
(line (pt 120 99)(pt 120 111)(line_width 1))
(line (pt 120 111)(pt 112 111)(line_width 1))
(line (pt 112 111)(pt 112 99)(line_width 1))
(line (pt 112 106)(pt 114 108)(line_width 1))
(line (pt 114 108)(pt 112 110)(line_width 1))
(line (pt 104 108)(pt 112 108)(line_width 1))
(line (pt 120 104)(pt 128 104)(line_width 1))
(line (pt 98 36)(pt 98 129)(line_width 1))
(line (pt 104 92)(pt 104 145)(line_width 1))
)
)
(symbol
(rect 368 208 512 304)
(text "RAM_WR" (rect 5 0 53 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "addr[11..0]" (rect 0 0 53 12)(font "Arial" ))
(text "addr[11..0]" (rect 21 27 74 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "ecs" (rect 0 0 17 12)(font "Arial" ))
(text "ecs" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "ramsel" (rect 0 0 33 12)(font "Arial" ))
(text "ramsel" (rect 90 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 368 512 512 608)
(text "RAM_RD" (rect 5 0 51 12)(font "Arial" ))
(text "inst11" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "addr[11..0]" (rect 0 0 53 12)(font "Arial" ))
(text "addr[11..0]" (rect 21 27 74 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "ecs" (rect 0 0 17 12)(font "Arial" ))
(text "ecs" (rect 21 43 38 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "ramsel" (rect 0 0 33 12)(font "Arial" ))
(text "ramsel" (rect 90 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 232 456 280 488)
(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 680 376 816 456)
(text "MUX7" (rect 55 2 95 18)(font "Arial" (font_size 10)))
(text "inst16" (rect 8 64 37 76)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "data1x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "data1x[7..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "data0x[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "data0x[7..0]" (rect 4 43 71 57)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 64 56)(line_width 3))
)
(port
(pt 72 80)
(input)
(text "sel" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "sel" (rect 76 67 92 81)(font "Arial" (font_size 8)))
(line (pt 72 80)(pt 72 68)(line_width 1))
)
(port
(pt 136 48)
(output)
(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "result[7..0]" (rect 82 35 142 49)(font "Arial" (font_size 8)))
(line (pt 136 48)(pt 80 48)(line_width 3))
)
(drawing
(line (pt 64 24)(pt 64 72)(line_width 1))
(line (pt 80 32)(pt 80 64)(line_width 1))
(line (pt 64 24)(pt 80 32)(line_width 1))
(line (pt 64 72)(pt 80 64)(line_width 1))
)
)
(symbol
(rect 688 0 904 288)
(text "spiprocess" (rect 5 0 58 12)(font "Arial" ))
(text "inst21" (rect 8 272 37 284)(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 "cpurd" (rect 0 0 27 12)(font "Arial" ))
(text "cpurd" (rect 21 43 48 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "cpuwr" (rect 0 0 28 12)(font "Arial" ))
(text "cpuwr" (rect 21 59 49 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "cpusel" (rect 0 0 31 12)(font "Arial" ))
(text "cpusel" (rect 21 75 52 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "cpuindata[7..0]" (rect 0 0 73 12)(font "Arial" ))
(text "cpuindata[7..0]" (rect 21 91 94 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "ramindata[7..0]" (rect 0 0 74 12)(font "Arial" ))
(text "ramindata[7..0]" (rect 21 107 95 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "addr[11..0]" (rect 0 0 53 12)(font "Arial" ))
(text "addr[11..0]" (rect 21 123 74 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "miso" (rect 0 0 23 12)(font "Arial" ))
(text "miso" (rect 21 139 44 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 155 45 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "RFirq" (rect 0 0 27 12)(font "Arial" ))
(text "RFirq" (rect 21 171 48 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 216 32)
(output)
(text "outdata[7..0]" (rect 0 0 62 12)(font "Arial" ))
(text "outdata[7..0]" (rect 133 27 195 39)(font "Arial" ))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(port
(pt 216 48)
(output)
(text "mosi" (rect 0 0 23 12)(font "Arial" ))
(text "mosi" (rect 172 43 195 55)(font "Arial" ))
(line (pt 216 48)(pt 200 48)(line_width 1))
)
(port
(pt 216 64)
(output)
(text "irq" (rect 0 0 11 12)(font "Arial" ))
(text "irq" (rect 184 59 195 71)(font "Arial" ))
(line (pt 216 64)(pt 200 64)(line_width 1))
)
(port
(pt 216 80)
(output)
(text "CSN" (rect 0 0 23 12)(font "Arial" ))
(text "CSN" (rect 172 75 195 87)(font "Arial" ))
(line (pt 216 80)(pt 200 80)(line_width 1))
)
(port
(pt 216 96)
(output)
(text "SCK" (rect 0 0 22 12)(font "Arial" ))
(text "SCK" (rect 173 91 195 103)(font "Arial" ))
(line (pt 216 96)(pt 200 96)(line_width 1))
)
(port
(pt 216 112)
(output)
(text "SendAddr[5..0]" (rect 0 0 73 12)(font "Arial" ))
(text "SendAddr[5..0]" (rect 122 107 195 119)(font "Arial" ))
(line (pt 216 112)(pt 200 112)(line_width 3))
)
(port
(pt 216 128)
(output)
(text "SendRDen" (rect 0 0 53 12)(font "Arial" ))
(text "SendRDen" (rect 142 123 195 135)(font "Arial" ))
(line (pt 216 128)(pt 200 128)(line_width 1))
)
(port
(pt 216 144)
(output)
(text "ReceiveData[7..0]" (rect 0 0 90 12)(font "Arial" ))
(text "ReceiveData[7..0]" (rect 105 139 195 151)(font "Arial" ))
(line (pt 216 144)(pt 200 144)(line_width 3))
)
(port
(pt 216 160)
(output)
(text "ReceiveAddr[5..0]" (rect 0 0 89 12)(font "Arial" ))
(text "ReceiveAddr[5..0]" (rect 106 155 195 167)(font "Arial" ))
(line (pt 216 160)(pt 200 160)(line_width 3))
)
(port
(pt 216 176)
(output)
(text "SendramCLK" (rect 0 0 64 12)(font "Arial" ))
(text "SendramCLK" (rect 131 171 195 183)(font "Arial" ))
(line (pt 216 176)(pt 200 176)(line_width 1))
)
(port
(pt 216 192)
(output)
(text "ReceiveCLK" (rect 0 0 62 12)(font "Arial" ))
(text "ReceiveCLK" (rect 133 187 195 199)(font "Arial" ))
(line (pt 216 192)(pt 200 192)(line_width 1))
)
(port
(pt 216 208)
(output)
(text "ReceiveWen" (rect 0 0 63 12)(font "Arial" ))
(text "ReceiveWen" (rect 132 203 195 215)(font "Arial" ))
(line (pt 216 208)(pt 200 208)(line_width 1))
)
(port
(pt 216 224)
(output)
(text "CE" (rect 0 0 15 12)(font "Arial" ))
(text "CE" (rect 180 219 195 231)(font "Arial" ))
(line (pt 216 224)(pt 200 224)(line_width 1))
)
(port
(pt 216 240)
(output)
(text "sendfinishtest" (rect 0 0 69 12)(font "Arial" ))
(text "sendfinishtest" (rect 126 235 195 247)(font "Arial" ))
(line (pt 216 240)(pt 200 240)(line_width 1))
)
(drawing
(rectangle (rect 16 16 200 272)(line_width 1))
)
)
(symbol
(rect 312 24 568 200)
(text "RAM_TEST" (rect 94 1 174 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 160 31 172)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[7..0]" (rect 4 19 57 33)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 112 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "wraddress[5..0]" (rect 0 0 92 14)(font "Arial" (font_size 8)))
(text "wraddress[5..0]" (rect 4 35 96 49)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 112 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "wren" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "wren" (rect 4 51 34 65)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 112 64)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "rdaddress[5..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
(text "rdaddress[5..0]" (rect 4 75 91 89)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 112 88)(line_width 3))
)
(port
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -