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

[enhancement] Expose NodeInCycleConstraint scheduling constraint in codegen. #1385

Open
hongted opened this issue Apr 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hongted
Copy link
Collaborator

hongted commented Apr 18, 2024

What's hard to do? (limit 100 words)

Currently we can specify constraints between send/recv nodes. Our schedule also support pinning a particular node to a stage --

class NodeInCycleConstraint {

But this is not exposed to as a codegen option.

Current best alternative workaround (limit 100 words)

Currently, users can utilize C++ to schedule and codegen using this option.

Your view of the "best case XLS enhancement" (limit 100 words)

Two options are considered

  1. Another codegen option to specify this constraint
  2. Add another op in DSLX that becomes a scheduling constraint
// Will schedule x in stage 4.
let x = schedule_in_stage<u32:4>(v);
@hongted
Copy link
Collaborator Author

hongted commented Apr 18, 2024

Related

#911
#899
#1385
#1386

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

No branches or pull requests

1 participant