Mr.Cool
Advanced Member level 2
i am very n00b when it comes to CPLDs so i do not know if it can do this or not.
-can CPLD measure a pulse width, remember how many nanoseconds it was?
repeat this say 10 times and remember the value for each one.
- determine which pulse was the longest
- determine how much shorter each other pulse was with respect to that longest one
- add that difference to each pulse (the longest one gets nothing added to it)
can you give me some key words or even code architecture that can help me narrow down what i need to google search and learn so that i could program such a function?
i have programmed a CPLD many years ago once using simple latter logic. i think for what i want to do above i can not do this with latter logic may need VHDL?
if CPLD can not do this, will an FPGA? i prefer CPLD though for its lower cost and more accurate timing.
-can CPLD measure a pulse width, remember how many nanoseconds it was?
repeat this say 10 times and remember the value for each one.
- determine which pulse was the longest
- determine how much shorter each other pulse was with respect to that longest one
- add that difference to each pulse (the longest one gets nothing added to it)
can you give me some key words or even code architecture that can help me narrow down what i need to google search and learn so that i could program such a function?
i have programmed a CPLD many years ago once using simple latter logic. i think for what i want to do above i can not do this with latter logic may need VHDL?
if CPLD can not do this, will an FPGA? i prefer CPLD though for its lower cost and more accurate timing.