Description: PS2 interface implements the main keyboard and keypad recognition, using the second set of keyboard decoding table, if you want to use the first set or second set of keyboard decoding, just make a few changes can be achieved. Can be achieved as long as a slightly modified the function you want, this program only achieved control of LCD lights.
File list (Check if you may need any files):
PS2_example\cmd_control.bsf
...........\cmd_control.v
...........\cmd_control.v.bak
...........\db\add_sub_5rh.tdf
...........\..\add_sub_6rh.tdf
...........\..\add_sub_8rh.tdf
...........\..\mux_0hc.tdf
...........\..\prev_cmp_top.asm.qmsg
...........\..\prev_cmp_top.fit.qmsg
...........\..\prev_cmp_top.map.qmsg
...........\..\prev_cmp_top.qmsg
...........\..\prev_cmp_top.tan.qmsg
...........\..\top.analyze_file.qmsg
...........\..\top.asm.qmsg
...........\..\top.cbx.xml
...........\..\top.cmp.bpm
...........\..\top.cmp.cdb
...........\..\top.cmp.ecobp
...........\..\top.cmp.hdb
...........\..\top.cmp.kpt
...........\..\top.cmp.logdb
...........\..\top.cmp.rdb
...........\..\top.cmp.tdb
...........\..\top.cmp0.ddb
...........\..\top.cmp_merge.kpt
...........\..\top.db_info
...........\..\top.eco.cdb
...........\..\top.fit.qmsg
...........\..\top.fnsim.hdb
...........\..\top.fnsim.qmsg
...........\..\top.hier_info
...........\..\top.hif
...........\..\top.lpc.html
...........\..\top.lpc.rdb
...........\..\top.lpc.txt
...........\..\top.map.bpm
...........\..\top.map.cdb
...........\..\top.map.ecobp
...........\..\top.map.hdb
...........\..\top.map.kpt
...........\..\top.map.logdb
...........\..\top.map.qmsg
...........\..\top.map_bb.cdb
...........\..\top.map_bb.hdb
...........\..\top.map_bb.logdb
...........\..\top.pre_map.cdb
...........\..\top.pre_map.hdb
...........\..\top.rtlv.hdb
...........\..\top.rtlv_sg.cdb
...........\..\top.rtlv_sg_swap.cdb
...........\..\top.sgdiff.cdb
...........\..\top.sgdiff.hdb
...........\..\top.sim.cvwf
...........\..\top.sim.hdb
...........\..\top.sim.qmsg
...........\..\top.sim.rdb
...........\..\top.simfam
...........\..\top.sld_design_entry.sci
...........\..\top.sld_design_entry_dsc.sci
...........\..\top.syn_hier_info
...........\..\top.tan.qmsg
...........\..\top.tis_db_list.ddb
...........\..\top.tmw_info
...........\..\top_global_asgn_op.abo
...........\..\wed.wsf
...........\edge_detect.bsf
...........\edge_detect.v
...........\edge_detect.v.bak
...........\incremental_db\compiled_partitions\top.root_partition.cmp.atm
...........\..............\...................\top.root_partition.cmp.dfp
...........\..............\...................\top.root_partition.cmp.hdbx
...........\..............\...................\top.root_partition.cmp.kpt
...........\..............\...................\top.root_partition.cmp.logdb
...........\..............\...................\top.root_partition.cmp.rcf
...........\..............\...................\top.root_partition.map.atm
...........\..............\...................\top.root_partition.map.dpi
...........\..............\...................\top.root_partition.map.hdbx
...........\..............\...................\top.root_partition.map.kpt
...........\..............\README
...........\ps2_decode.bsf
...........\ps2_decode.v
...........\ps2_decode.v.bak
...........\ps2_module.bdf
...........\ps2_module.bsf
...........\reset_generate.bsf
...........\reset_generate.v
...........\reset_generate.v.bak
...........\reset_generate.vwf
...........\top.asm.rpt
...........\top.bdf
...........\top.cdf
...........\top.done
...........\top.dpf
...........\top.fit.rpt
...........\top.fit.smsg
...........\top.fit.summary
...........\top.flow.rpt
...........\top.map.rpt
...........\top.map.summary
...........\top.pin