Time Between Asynchronous Events in Verilog

Discussion of developmental aspects of the MiSTer Project.
yeyabnj
Posts: 1
Joined: Fri Jul 29, 2022 1:32 pm
Has thanked: 1 time

Time Between Asynchronous Events in Verilog

Unread post by yeyabnj »

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.
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 194 times

Re: Time Between Asynchronous Events in Verilog

Unread post by Malor »

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. :)
Post Reply