time duration for every key in keyboard

Guest
>any help plz

It would be a pleasure for us.
Please provide details about your specific question and/or your code so 
far.
Guest
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
I forgot: Pose a specific question. Not a generic one, like "Help me". 
Shall we switch on light or sharpen your pencil? What is the very, 
primary problem?
Guest
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)
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

A question of your own? This thread is over 12 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.