Skip to content

[codegen 1.5] Decouple channel ready/valid handshakes - #4818

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_966078768
Draft

[codegen 1.5] Decouple channel ready/valid handshakes#4818
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_966078768

Conversation

@copybara-service

Copy link
Copy Markdown

[codegen 1.5] Decouple channel ready/valid handshakes

For each receive, we decouple the ready signal from that receive's own input valid signal, driving it instead by inputs_valid & (all other active inputs are valid) & outputs_ready & active_outputs_ready. This requires generating all-except-one conjunctions for the receive-valid conditions in each stage, which we do efficiently using a Brent-Kung-style parallel prefix/suffix construction.

For each receive, we decouple the ready signal from that receive's own input valid signal, driving it instead by `inputs_valid & (all other active inputs are valid) & outputs_ready & active_outputs_ready`. This requires generating all-except-one conjunctions for the receive-valid conditions in each stage, which we do efficiently using a Brent-Kung-style parallel prefix/suffix construction.

PiperOrigin-RevId: 966078768
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

Successfully merging this pull request may close these issues.

1 participant