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

Massage away 2-way PIFOs #2234

Merged
merged 13 commits into from
Aug 9, 2024
Merged

Massage away 2-way PIFOs #2234

merged 13 commits into from
Aug 9, 2024

Conversation

csziklai
Copy link
Contributor

@csziklai csziklai commented Jul 29, 2024

This PR makes progress towards #2226 by updating variable names and comments to account for the fact that round robin PIFOs can make n-way trees. Additionally, it implements a PIFO tree and a more complicated tree (complicated_tree.py) using round robin and strict queues. This accounts for the first three checkboxes of #2226. The docs have been updated to reflect the new PIFO style in #2223. To run the relevant tests,

runt -i "queues"

(For sdn.py, I removed the stats component stuff because I thought it was mentioned that this wasn't important and so the new style PIFOs are not equipped to do stats. If it needs to be there, let me know.)

@rachitnigam rachitnigam added the C: Queues One of the queue-style frontends label Aug 5, 2024
Copy link
Contributor

@anshumanmohan anshumanmohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! Some comments including a potential catch of experimental duplicated code.

calyx-py/calyx/queues.py Outdated Show resolved Hide resolved
calyx-py/calyx/queues.py Outdated Show resolved Hide resolved
calyx-py/test/correctness/queues/pifo_tree.py Outdated Show resolved Hide resolved
calyx-py/test/correctness/queues/sdn.py Outdated Show resolved Hide resolved
runt.toml Outdated Show resolved Hide resolved
@csziklai csziklai merged commit d7b609d into main Aug 9, 2024
18 checks passed
@csziklai csziklai deleted the massage_pifos branch August 9, 2024 15:56
@anshumanmohan anshumanmohan linked an issue Aug 9, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Queues One of the queue-style frontends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Queues: massage away 2-way round-robin PIFOs
3 participants