Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure maximum clocks between triggers #20

Open
fjullien opened this issue May 2, 2020 · 0 comments
Open

Configure maximum clocks between triggers #20

fjullien opened this issue May 2, 2020 · 0 comments

Comments

@fjullien
Copy link

fjullien commented May 2, 2020

When configuring a trigger sequence, litescope will triggs whatever is the delay between two consecutive trigger. It would be great to have a maximum time between triggers (here, 5 clocks):

(1) analyzer.add_trigger(cond = {"signal1" : 1}) 
(2) analyzer.add_trigger(cond = {"signal2" : 1}, timeout=5) 

In this example, it means if signal2 is not equal to 1 five clocks after trigger (1) trigged, we get back and wait for trigger (1) again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants