KeyBoard.bdf
资源名称:KeyBoard.rar [点击查看]
上传用户:shenghui
上传日期:2022-08-09
资源大小:328k
文件大小:12k
源码类别:
VHDL/FPGA/Verilog
开发平台:
Others
- /*
- 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-2005 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 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 -40 32 128 48)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "RESET" (rect 5 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 -128 48 -40 80))
- )
- (pin
- (input)
- (rect -40 48 128 64)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "GCLKP" (rect 5 0 41 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 -128 64 -40 96))
- )
- (pin
- (input)
- (rect -56 216 112 232)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "ROW[3..0]" (rect 5 0 58 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 -144 232 -56 304))
- )
- (pin
- (input)
- (rect -40 64 128 80)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "GCLKP2" (rect 5 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 -216 88 -128 120))
- )
- (pin
- (output)
- (rect 344 232 520 248)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "COL[3..0]" (rect 90 0 138 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 520 248 608 320))
- )
- (pin
- (output)
- (rect 392 376 568 392)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "LEDOUT[7..0]" (rect 90 0 159 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 568 392 656 520))
- )
- (pin
- (output)
- (rect 392 392 568 408)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "SELECT[3..0]" (rect 90 0 157 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 568 408 656 480))
- )
- (pin
- (output)
- (rect 392 360 568 376)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "Light[7..0]" (rect 90 0 139 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 568 360 656 488))
- )
- (symbol
- (rect 168 208 312 304)
- (text "key44" (rect 5 0 35 12)(font "Arial" ))
- (text "inst" (rect 8 80 25 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "row[3..0]" (rect 0 0 42 12)(font "Arial" ))
- (text "row[3..0]" (rect 21 27 63 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 0 48)
- (input)
- (text "sys_clk" (rect 0 0 38 12)(font "Arial" ))
- (text "sys_clk" (rect 21 43 59 55)(font "Arial" ))
- (line (pt 0 48)(pt 16 48)(line_width 1))
- )
- (port
- (pt 0 64)
- (input)
- (text "rst" (rect 0 0 12 12)(font "Arial" ))
- (text "rst" (rect 21 59 33 71)(font "Arial" ))
- (line (pt 0 64)(pt 16 64)(line_width 1))
- )
- (port
- (pt 144 32)
- (output)
- (text "col[3..0]" (rect 0 0 40 12)(font "Arial" ))
- (text "col[3..0]" (rect 83 27 123 39)(font "Arial" ))
- (line (pt 144 32)(pt 128 32)(line_width 3))
- )
- (port
- (pt 144 48)
- (output)
- (text "valid" (rect 0 0 23 12)(font "Arial" ))
- (text "valid" (rect 100 43 123 55)(font "Arial" ))
- (line (pt 144 48)(pt 128 48)(line_width 1))
- )
- (port
- (pt 144 64)
- (output)
- (text "code[3..0]" (rect 0 0 49 12)(font "Arial" ))
- (text "code[3..0]" (rect 74 59 123 71)(font "Arial" ))
- (line (pt 144 64)(pt 128 64)(line_width 3))
- )
- (parameter
- "S_0"
- ""
- ""
- )
- (parameter
- "S_1"
- ""
- ""
- )
- (parameter
- "S_2"
- ""
- ""
- )
- (parameter
- "S_3"
- ""
- ""
- )
- (parameter
- "S_4"
- ""
- ""
- )
- (parameter
- "S_5"
- ""
- ""
- )
- (drawing
- (rectangle (rect 16 16 128 80)(line_width 1))
- )
- (annotation_block (parameter)(rect 312 104 416 208))
- )
- (symbol
- (rect 160 8 312 104)
- (text "Frequency" (rect 5 0 58 12)(font "Arial" ))
- (text "inst5" (rect 8 80 31 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "RESET" (rect 0 0 35 12)(font "Arial" ))
- (text "RESET" (rect 21 27 56 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 1))
- )
- (port
- (pt 0 48)
- (input)
- (text "GCLKP1" (rect 0 0 42 12)(font "Arial" ))
- (text "GCLKP1" (rect 21 43 63 55)(font "Arial" ))
- (line (pt 0 48)(pt 16 48)(line_width 1))
- )
- (port
- (pt 0 64)
- (input)
- (text "GCLKP2" (rect 0 0 42 12)(font "Arial" ))
- (text "GCLKP2" (rect 21 59 63 71)(font "Arial" ))
- (line (pt 0 64)(pt 16 64)(line_width 1))
- )
- (port
- (pt 152 32)
- (output)
- (text "ClockScan" (rect 0 0 53 12)(font "Arial" ))
- (text "ClockScan" (rect 78 27 131 39)(font "Arial" ))
- (line (pt 152 32)(pt 136 32)(line_width 1))
- )
- (port
- (pt 152 48)
- (output)
- (text "KeyScan" (rect 0 0 44 12)(font "Arial" ))
- (text "KeyScan" (rect 87 43 131 55)(font "Arial" ))
- (line (pt 152 48)(pt 136 48)(line_width 1))
- )
- (drawing
- (rectangle (rect 16 16 136 80)(line_width 1))
- )
- )
- (symbol
- (rect 168 336 352 496)
- (text "LED4" (rect 5 0 32 12)(font "Arial" ))
- (text "inst3" (rect 8 144 31 156)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "RESET" (rect 0 0 35 12)(font "Arial" ))
- (text "RESET" (rect 21 27 56 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 1))
- )
- (port
- (pt 0 48)
- (input)
- (text "ClockScan" (rect 0 0 53 12)(font "Arial" ))
- (text "ClockScan" (rect 21 43 74 55)(font "Arial" ))
- (line (pt 0 48)(pt 16 48)(line_width 1))
- )
- (port
- (pt 0 64)
- (input)
- (text "LED1[3..0]" (rect 0 0 53 12)(font "Arial" ))
- (text "LED1[3..0]" (rect 21 59 74 71)(font "Arial" ))
- (line (pt 0 64)(pt 16 64)(line_width 3))
- )
- (port
- (pt 0 80)
- (input)
- (text "LED2[3..0]" (rect 0 0 53 12)(font "Arial" ))
- (text "LED2[3..0]" (rect 21 75 74 87)(font "Arial" ))
- (line (pt 0 80)(pt 16 80)(line_width 3))
- )
- (port
- (pt 0 96)
- (input)
- (text "LED3[3..0]" (rect 0 0 53 12)(font "Arial" ))
- (text "LED3[3..0]" (rect 21 91 74 103)(font "Arial" ))
- (line (pt 0 96)(pt 16 96)(line_width 3))
- )
- (port
- (pt 0 112)
- (input)
- (text "LED4[3..0]" (rect 0 0 53 12)(font "Arial" ))
- (text "LED4[3..0]" (rect 21 107 74 119)(font "Arial" ))
- (line (pt 0 112)(pt 16 112)(line_width 3))
- )
- (port
- (pt 184 32)
- (output)
- (text "Light[7..0]" (rect 0 0 49 12)(font "Arial" ))
- (text "Light[7..0]" (rect 114 27 163 39)(font "Arial" ))
- (line (pt 184 32)(pt 168 32)(line_width 3))
- )
- (port
- (pt 184 48)
- (output)
- (text "LEDOut[7..0]" (rect 0 0 64 12)(font "Arial" ))
- (text "LEDOut[7..0]" (rect 99 43 163 55)(font "Arial" ))
- (line (pt 184 48)(pt 168 48)(line_width 3))
- )
- (port
- (pt 184 64)
- (output)
- (text "DigitSelect[3..0]" (rect 0 0 79 12)(font "Arial" ))
- (text "DigitSelect[3..0]" (rect 84 59 163 71)(font "Arial" ))
- (line (pt 184 64)(pt 168 64)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 168 144)(line_width 1))
- )
- )
- (connector
- (pt 344 240)
- (pt 312 240)
- (bus)
- )
- (connector
- (pt 312 272)
- (pt 344 272)
- (bus)
- )
- (connector
- (pt 344 272)
- (pt 344 320)
- (bus)
- )
- (connector
- (pt 344 320)
- (pt 136 320)
- (bus)
- )
- (connector
- (pt 168 400)
- (pt 136 400)
- (bus)
- )
- (connector
- (text "RESET" (rect 42 352 77 364)(font "Arial" ))
- (pt 168 368)
- (pt 16 368)
- )
- (connector
- (pt 168 416)
- (pt 136 416)
- (bus)
- )
- (connector
- (pt 136 320)
- (pt 136 400)
- (bus)
- )
- (connector
- (pt 168 432)
- (pt 136 432)
- (bus)
- )
- (connector
- (pt 136 400)
- (pt 136 416)
- (bus)
- )
- (connector
- (pt 168 448)
- (pt 136 448)
- (bus)
- )
- (connector
- (pt 136 416)
- (pt 136 432)
- (bus)
- )
- (connector
- (pt 136 432)
- (pt 136 448)
- (bus)
- )
- (connector
- (pt 160 40)
- (pt 128 40)
- )
- (connector
- (text "RESET" (rect 59 256 94 268)(font "Arial" ))
- (pt 168 272)
- (pt 16 272)
- )
- (connector
- (text "Clock" (rect 339 24 367 36)(font "Arial" ))
- (pt 312 40)
- (pt 400 40)
- )
- (connector
- (text "KeyScan" (rect 339 40 383 52)(font "Arial" ))
- (pt 312 56)
- (pt 400 56)
- )
- (connector
- (text "KeyScan" (rect 61 240 105 252)(font "Arial" ))
- (pt 168 256)
- (pt 16 256)
- )
- (connector
- (pt 168 240)
- (pt 160 240)
- (bus)
- )
- (connector
- (pt 160 240)
- (pt 160 224)
- (bus)
- )
- (connector
- (pt 160 224)
- (pt 112 224)
- (bus)
- )
- (connector
- (text "Clock" (rect 40 368 68 380)(font "Arial" ))
- (pt 168 384)
- (pt 16 384)
- )
- (connector
- (pt 352 384)
- (pt 392 384)
- (bus)
- )
- (connector
- (pt 352 400)
- (pt 392 400)
- (bus)
- )
- (connector
- (pt 352 368)
- (pt 392 368)
- (bus)
- )
- (connector
- (pt 128 56)
- (pt 160 56)
- )
- (connector
- (pt 160 72)
- (pt 128 72)
- )
- (junction (pt 136 400))
- (junction (pt 136 416))
- (junction (pt 136 432))