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

Is there a way to specify minimum cycles between stalls for AXI stream VC? #1013

Open
cjmeyer opened this issue May 1, 2024 · 1 comment

Comments

@cjmeyer
Copy link

cjmeyer commented May 1, 2024

Some AXI-stream data streams that I need to simulate are inherently bursty meaning it will send a burst of data (for example, between 5 and 10 cycles of data back-to-back), and then go idle for some time (for example, between 2 and 4 cycles). For the AXI-stream VC, I see there is a way to set the stall probability and the min and max cycles when stalling, but no way to set a minimum or maximum number of cycles between stalls.

@LarsAsplund
Copy link
Collaborator

There is no such feature. What you can do is create a more custom stall by (randomly) interleaving your push and pop with wait_for_time(net, as_sync(master/slave), <some random time>)

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

No branches or pull requests

2 participants