PS2.bdf
资源名称:PS2.rar [点击查看]
上传用户:keloyb
上传日期:2022-08-09
资源大小:256k
文件大小:11k
源码类别:
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 -104 80 64 96)
- (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 -192 96 -104 128))
- )
- (pin
- (input)
- (rect -104 216 64 232)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "KBCLK" (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 -192 232 -104 264))
- )
- (pin
- (input)
- (rect -104 200 64 216)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "KBDATA" (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 -192 216 -104 248))
- )
- (pin
- (input)
- (rect -104 96 64 112)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "GCLKP1" (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 -192 112 -104 144))
- )
- (pin
- (input)
- (rect -104 112 64 128)
- (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 -192 128 -104 160))
- )
- (pin
- (output)
- (rect 688 168 864 184)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "LIGHT[7..0]" (rect 90 0 147 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 864 184 952 312))
- )
- (pin
- (output)
- (rect 688 184 864 200)
- (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 864 200 952 328))
- )
- (pin
- (output)
- (rect 688 200 864 216)
- (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 864 216 952 288))
- )
- (symbol
- (rect 448 144 632 304)
- (text "LED4" (rect 5 0 32 12)(font "Arial" ))
- (text "inst" (rect 8 144 25 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))
- )
- )
- (symbol
- (rect 128 160 288 256)
- (text "PS2VHDL" (rect 5 0 54 12)(font "Arial" ))
- (text "inst2" (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 "KBDATA" (rect 0 0 42 12)(font "Arial" ))
- (text "KBDATA" (rect 21 43 63 55)(font "Arial" ))
- (line (pt 0 48)(pt 16 48)(line_width 1))
- )
- (port
- (pt 0 64)
- (input)
- (text "KBCLK" (rect 0 0 35 12)(font "Arial" ))
- (text "KBCLK" (rect 21 59 56 71)(font "Arial" ))
- (line (pt 0 64)(pt 16 64)(line_width 1))
- )
- (port
- (pt 160 32)
- (output)
- (text "EOC" (rect 0 0 23 12)(font "Arial" ))
- (text "EOC" (rect 116 27 139 39)(font "Arial" ))
- (line (pt 160 32)(pt 144 32)(line_width 1))
- )
- (port
- (pt 160 48)
- (output)
- (text "PDATA[7..0]" (rect 0 0 61 12)(font "Arial" ))
- (text "PDATA[7..0]" (rect 78 43 139 55)(font "Arial" ))
- (line (pt 160 48)(pt 144 48)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 144 80)(line_width 1))
- )
- )
- (symbol
- (rect 128 56 280 152)
- (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 352 240 384 272)
- (text "GND" (rect 6 8 16 29)(font "Arial" (font_size 6))(vertical))
- (text "inst8" (rect -1 3 11 26)(font "Arial" )(vertical)(invisible))
- (port
- (pt 32 16)
- (output)
- (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
- (text "1" (rect 20 18 32 23)(font "Courier New" (bold))(vertical)(invisible))
- (line (pt 24 16)(pt 32 16)(line_width 1))
- )
- (drawing
- (line (pt 24 8)(pt 16 16)(line_width 1))
- (line (pt 16 16)(pt 24 24)(line_width 1))
- (line (pt 24 8)(pt 24 24)(line_width 1))
- )
- (rotate270)
- )
- (connector
- (pt 632 176)
- (pt 688 176)
- (bus)
- )
- (connector
- (pt 632 192)
- (pt 688 192)
- (bus)
- )
- (connector
- (pt 632 208)
- (pt 688 208)
- (bus)
- )
- (connector
- (pt 128 88)
- (pt 64 88)
- )
- (connector
- (text "RESET" (rect 392 160 427 172)(font "Arial" ))
- (pt 448 176)
- (pt 368 176)
- )
- (connector
- (pt 280 88)
- (pt 344 88)
- )
- (connector
- (pt 344 88)
- (pt 344 192)
- )
- (connector
- (pt 448 192)
- (pt 344 192)
- )
- (connector
- (pt 128 104)
- (pt 64 104)
- )
- (connector
- (pt 128 120)
- (pt 64 120)
- )
- (connector
- (pt 64 224)
- (pt 128 224)
- )
- (connector
- (pt 64 208)
- (pt 128 208)
- )
- (connector
- (text "RESET" (rect 40 176 75 188)(font "Arial" ))
- (pt 128 192)
- (pt 16 192)
- )
- (connector
- (text "PDATA[7..0]" (rect 298 192 359 204)(font "Arial" ))
- (pt 288 208)
- (pt 352 208)
- (bus)
- )
- (connector
- (pt 352 208)
- (pt 352 224)
- (bus)
- )
- (connector
- (text "PDATA[3..0]" (rect 385 192 446 204)(font "Arial" ))
- (pt 352 208)
- (pt 448 208)
- (bus)
- )
- (connector
- (text "PDATA[7..4]" (rect 386 208 447 220)(font "Arial" ))
- (pt 448 224)
- (pt 352 224)
- (bus)
- )
- (connector
- (pt 448 240)
- (pt 408 240)
- (bus)
- )
- (connector
- (pt 408 240)
- (pt 408 256)
- (bus)
- )
- (connector
- (pt 448 256)
- (pt 408 256)
- (bus)
- )
- (connector
- (pt 408 256)
- (pt 384 256)
- (bus)
- )
- (junction (pt 352 208))
- (junction (pt 408 256))