说明: 实现了PS2接口的主键盘和小键盘的识别,采用第二套键盘译码表,如果你想使用第一套或者第二套键盘译码,只需做少量的修改就可以实现。只要稍加修改就可以实现你所希望的功能,此程序只实现了LCD灯的控制。
(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.)
PS2_example
...........\cmd_control.
bsf,2611,2010-12-03
...........\
cmd_control.v,751,2010-12-03
...........\cmd_control.v.
bak,673,2010-12-03
...........
\db
...........\..\
add_sub_5rh.tdf,2589,2010-12-02
...........\..\
add_sub_6rh.tdf,2746,2010-12-02
...........\..\
add_sub_8rh.tdf,3060,2010-12-02
...........\..\
mux_0hc.tdf,6954,2010-12-02
...........\..\prev_cmp_top.asm.
qmsg,1987,2010-12-03
...........\..\prev_cmp_top.fit.
qmsg,33983,2010-12-03
...........\..\prev_cmp_top.map.
qmsg,7887,2010-12-03
...........\..\prev_cmp_top.
qmsg,100443,2010-12-03
...........\..\prev_cmp_top.tan.
qmsg,56356,2010-12-03
...........\..\top.analyze_file.
qmsg,1977,2010-12-03
...........\..\top.asm.
qmsg,1987,2010-12-03
...........\..\top.cbx.
xml,85,2010-12-03
...........\..\top.cmp.
bpm,553,2010-12-03
...........\..\top.cmp.
cdb,38377,2010-12-03
...........\..\top.cmp.
ecobp,28,2010-12-03
...........\..\top.cmp.
hdb,11846,2010-12-03
...........\..\top.cmp.
kpt,334,2010-12-03
...........\..\top.cmp.
logdb,4,2010-12-03
...........\..\top.cmp.
rdb,23968,2010-12-03
...........\..\top.cmp.
tdb,29894,2010-12-03
...........\..\top.cmp0.
ddb,44477,2010-12-03
...........\..\top.cmp_merge.
kpt,340,2010-12-03
...........\..\top.
db_info,137,2010-12-02
...........\..\top.eco.
cdb,161,2010-12-03
...........\..\top.fit.
qmsg,34001,2010-12-03
...........\..\top.fnsim.
hdb,30736,2010-12-02
...........\..\top.fnsim.
qmsg,28757,2010-12-02
...........\..\
top.hier_info,9267,2010-12-03
...........\..\
top.hif,2967,2010-12-03
...........\..\
top.lpc.html,2358,2010-12-03
...........\..\top.lpc.
rdb,491,2010-12-03
...........\..\
top.lpc.txt,2354,2010-12-03
...........\..\top.map.
bpm,531,2010-12-03
...........\..\top.map.
cdb,11544,2010-12-03
...........\..\top.map.
ecobp,28,2010-12-03
...........\..\top.map.
hdb,11479,2010-12-03
...........\..\top.map.
kpt,21775,2010-12-03
...........\..\top.map.
logdb,4,2010-12-03
...........\..\top.map.
qmsg,7887,2010-12-03
...........\..\top.map_bb.
cdb,655,2010-12-03
...........\..\top.map_bb.
hdb,7375,2010-12-03
...........\..\top.map_bb.
logdb,4,2010-12-03
...........\..\top.pre_map.
cdb,11017,2010-12-03
...........\..\top.pre_map.
hdb,12098,2010-12-03
...........\..\top.rtlv.
hdb,12051,2010-12-03
...........\..\top.rtlv_sg.
cdb,12022,2010-12-03
...........\..\top.rtlv_sg_swap.
cdb,1257,2010-12-03
...........\..\top.sgdiff.
cdb,11458,2010-12-03
...........\..\top.sgdiff.
hdb,12277,2010-12-03
...........\..\top.sim.
cvwf,754,2010-12-02
...........\..\top.sim.
hdb,3456,2010-12-02
...........\..\top.sim.
qmsg,4558,2010-12-02
...........\..\top.sim.
rdb,35251,2010-12-02
...........\..\top.
simfam,10,2010-12-02
...........\..\top.sld_design_entry.
sci,154,2010-12-03
...........\..\top.sld_design_entry_dsc.
sci,154,2010-12-03
...........\..\top.
syn_hier_info,0,2010-12-03
...........\..\top.tan.
qmsg,56370,2010-12-03
...........\..\top.tis_db_list.
ddb,174,2010-12-03
...........\..\
top.tmw_info,304,2010-12-03
...........\..\top_global_asgn_op.
abo,235816,2010-12-03
...........\..\
wed.wsf,1959,2010-12-02
...........\edge_detect.
bsf,1968,2010-12-02
...........\
edge_detect.v,375,2010-12-02
...........\edge_detect.v.
bak,395,2010-12-02
...........
\incremental_db
...........\..............
\compiled_partitions
...........\..............\...................\top.root_partition.cmp.
atm,26338,2010-12-03
...........\..............\...................\top.root_partition.cmp.
dfp,33,2010-12-03
...........\..............\...................\top.root_partition.cmp.
hdbx,4598,2010-12-03
...........\..............\...................\top.root_partition.cmp.
kpt,341,2010-12-03
...........\..............\...................\top.root_partition.cmp.
logdb,4,2010-12-03
...........\..............\...................\top.root_partition.cmp.
rcf,11170,2010-12-03
...........\..............\...................\top.root_partition.map.
atm,21620,2010-12-03
...........\..............\...................\top.root_partition.map.
dpi,1172,2010-12-03
...........\..............\...................\top.root_partition.map.
hdbx,4344,2010-12-03
...........\..............\...................\top.root_partition.map.
kpt,21778,2010-12-03
...........\..............\
README,653,2010-12-02
...........\ps2_decode.
bsf,2814,2010-12-03
...........\
ps2_decode.v,1926,2010-12-03
...........\ps2_decode.v.
bak,1926,2010-12-03
...........\
ps2_module.bdf,8995,2010-12-03
...........\ps2_module.
bsf,3041,2010-12-03
...........\reset_generate.
bsf,1814,2010-12-03
...........\
reset_generate.v,427,2010-12-02
...........\reset_generate.v.
bak,423,2010-12-02
...........\
reset_generate.vwf,2136,2010-12-02
...........\top.asm.
rpt,7545,2010-12-03
...........\
top.bdf,9279,2010-12-03
...........\
top.cdf,328,2010-12-02
...........\top.
done,26,2010-12-03
...........\
top.dpf,239,2010-12-02
...........\top.fit.
rpt,79797,2010-12-03
...........\
top.fit.smsg,411,2010-12-03
...........\top.fit.
summary,397,2010-12-03