Hello, I am trying to calculate the time between two asynchronous events without knowing the event rate or the frequency. I know we can use counters to achieve this, but I don't know how to determine which event happened first and how to toggle counters on and off to get correct values.
if anyone has any idea on how to achieve this, please help thanks.
Time Between Asynchronous Events in Verilog
-
- Top Contributor
- Posts: 860
- Joined: Wed Feb 09, 2022 11:50 pm
- Has thanked: 64 times
- Been thanked: 195 times
Re: Time Between Asynchronous Events in Verilog
That's probably too advanced a question for the Newcomers forum. You'd probably want to ask that in the "Development for MiSTer" forum, or possibly ask on Discord. You'll probably need an actual dev to answer, and they mostly don't hang out down here in the cheap seats.