📄 ps2.bdf
字号:
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2008 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "graphic" (version "1.3"))
(pin
(input)
(rect -112 168 56 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 9 0 33 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -160 184 -112 200))
)
(pin
(input)
(rect -160 240 8 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 9 0 23 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -208 256 -160 272))
)
(pin
(input)
(rect -144 96 24 112)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "kb_clk" (rect 9 0 40 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -200 96 -152 112))
)
(pin
(input)
(rect -144 80 24 96)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "kb_data" (rect 9 0 47 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -200 64 -152 80))
)
(pin
(output)
(rect 336 240 512 256)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "78leddata[7..0]" (rect 90 0 163 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 592 256 640 360))
)
(pin
(output)
(rect 336 256 512 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "78ledcom[3..0]" (rect 90 0 163 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 528 272 576 328))
)
(symbol
(rect 112 40 248 168)
(text "data_scanC" (rect 5 0 64 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sys_clk" (rect 0 0 38 12)(font "Arial" ))
(text "sys_clk" (rect 21 27 59 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "k_data" (rect 0 0 33 12)(font "Arial" ))
(text "k_data" (rect 21 43 54 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "k_clock" (rect 0 0 37 12)(font "Arial" ))
(text "k_clock" (rect 21 59 58 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 75 45 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 136 32)
(output)
(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[7..0]" (rect 68 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(port
(pt 136 48)
(bidir)
(text "PA[7..0]" (rect 0 0 40 12)(font "Arial" ))
(text "PA[7..0]" (rect 75 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(port
(pt 136 64)
(bidir)
(text "ZHJS" (rect 0 0 28 12)(font "Arial" ))
(text "ZHJS" (rect 87 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 1))
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
)
(symbol
(rect 376 40 528 168)
(text "convert" (rect 5 0 42 12)(font "Arial" ))
(text "inst7" (rect 8 112 31 124)(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 "scan[7..0]" (rect 0 0 49 12)(font "Arial" ))
(text "scan[7..0]" (rect 21 43 70 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "prepared" (rect 0 0 42 12)(font "Arial" ))
(text "prepared" (rect 21 59 63 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clr" (rect 0 0 11 12)(font "Arial" ))
(text "clr" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[7..0]" (rect 84 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 112)(line_width 1))
)
)
(symbol
(rect 136 216 320 312)
(text "segmain" (rect 5 0 46 12)(font "Arial" ))
(text "inst8" (rect 8 80 31 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 "reset_n" (rect 0 0 36 12)(font "Arial" ))
(text "reset_n" (rect 21 43 57 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "datain[15..0]" (rect 0 0 61 12)(font "Arial" ))
(text "datain[15..0]" (rect 21 59 82 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "seg_data[7..0]" (rect 0 0 70 12)(font "Arial" ))
(text "seg_data[7..0]" (rect 93 27 163 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(port
(pt 184 48)
(output)
(text "seg_com[3..0]" (rect 0 0 70 12)(font "Arial" ))
(text "seg_com[3..0]" (rect 93 43 163 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 80)(line_width 1))
)
)
(connector
(text "data[15..8]" (rect 256 56 309 68)(font "Arial" ))
(pt 248 72)
(pt 264 72)
(bus)
)
(connector
(pt 112 120)
(pt 80 120)
)
(connector
(pt 56 176)
(pt 80 176)
)
(connector
(pt 80 176)
(pt 280 176)
)
(connector
(pt 24 88)
(pt 112 88)
)
(connector
(pt 24 104)
(pt 112 104)
)
(connector
(pt 280 176)
(pt 280 120)
)
(connector
(pt 280 120)
(pt 376 120)
)
(connector
(text "data[7..0]" (rect 536 56 583 68)(font "Arial" ))
(pt 560 72)
(pt 528 72)
(bus)
)
(connector
(pt 248 88)
(pt 376 88)
(bus)
)
(connector
(pt 248 104)
(pt 376 104)
)
(connector
(text "clk" (rect 344 56 358 68)(font "Arial" ))
(pt 344 72)
(pt 376 72)
)
(connector
(text "clk" (rect 65 56 79 68)(font "Arial" ))
(pt 48 72)
(pt 112 72)
)
(connector
(pt 320 264)
(pt 336 264)
(bus)
)
(connector
(pt 320 248)
(pt 336 248)
(bus)
)
(connector
(pt 8 248)
(pt 136 248)
)
(connector
(text "data[15..0]" (rect 72 264 125 276)(font "Arial" ))
(pt 136 280)
(pt 64 280)
(bus)
)
(connector
(pt 136 264)
(pt 80 264)
)
(connector
(pt 80 120)
(pt 80 176)
)
(connector
(pt 80 176)
(pt 80 264)
)
(junction (pt 80 176))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -