A PS/2 keyboard implementation in VHDL