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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.