plizz help me solve this problem... thnks

Thread Starter

ramo

Joined Feb 5, 2010
2
i need to interface a keypad 4x4 to xilinx spartan 3 starter kit board. the problem is that i need to use VHDL code so that the signal from the keypad will convert to ASCII code for the FPGA to read.

example

if i press button 1, the VHDL code will convert it to 0110001 (ASCII code for 1).

help me. its my school project.
 

t06afre

Joined May 11, 2009
5,934
Keypads are usually implemented as pushbutton switches located in a row and column matrix. The location of any key on the keypad can be based on two coordinates: the row and column position for that key. Then you can use a look-up table​
 
Top