time duration for every key in keyboard

Guest #3571073
Rate this post
useful
not useful
Bitflüsterer wrote:


> It would be a pleasure for us.
thanks a lot
> Please provide details about your specific question and/or your code so
> far.
every key in keyboard take time in pressed or released . i want to make 
a vhdl code to count this time duration
first i would make the interface between the keyboard and the fbga then 
from data input i want to make this task
i am new in vhdl so i need any helpful idea.
Guest #3571080
Rate this post
useful
not useful
To be frankly: If you do not have any slightest idea how to begin, you 
have not enough education/knowledge even to ask appropriate questions.
If so, then read a book about digital logic and do experiments.
Read a book about VHDL and do experiments.
Then, not earlier than half a year, ask questions.
Moderator (Company: Titel) #3571182
Rate this post
useful
not useful
Bitflüsterer wrote:
> It's a PS/2-Type. See here: http://embdev.net/topic/327177#3571068
I assumed that.

But the only intention of my question was: I wanted ahmedhassan to 
clearify his question himself.
Anyone doing VHDL is not in a kindergarten or a primary school. Usually 
one doing VHDL is on a technical university/college and therefore able 
to ask complete and clear questions. That is what I wanted to point out.

@ahmedhassan
If you want to measure the time between press and release of each key, 
then you need one counter for each key. The counter of is counter is 
reset to 0 and started when you detect a key press, and it is stopped 
when you detect a key release. And if the counter counts up one step 
each ms, then you have the keys time in the according counter register.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now