Skip to content
Discussion options

You must be logged in to vote

Sorry for the slow response; this fell through the cracks.

We have experimental functionality for the v2 proposal in XLS IR, our internal representation, and recently added an experimental way to use it in DSLX: the #[channel_strictness("...")] attribute. For example, if you annotate the channel at the point where it's declared with:

    #[channel_strictness("total_order")]
    resp_s: chan<u32> out;

it is supposed to support multiple operations on this channel when there is a well-defined order in which they should execute (e.g., your example above, due to the token you threaded between the sends). When you get to codegen, if you've left it at the default options, it will correctly comp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rw1nkler
Comment options

Answer selected by rw1nkler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants