Skip to content

Fix csr pipe write handshaking #326

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

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Fix csr pipe write handshaking #326

merged 1 commit into from
Dec 1, 2023

Conversation

zibaiwan
Copy link
Contributor

  1. If blocking, read valid reg, wait until valid is 0.
  2. If non-blocking, read valid reg once ->return failure if valid is 1.
  3. write to the pipe.
  4. write 1 to the valid.

@zibaiwan zibaiwan requested a review from sophimao November 27, 2023 16:52
sophimao
sophimao previously approved these changes Nov 27, 2023
Copy link
Contributor

@sophimao sophimao left a comment

Choose a reason for hiding this comment

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

Thanks Zibai! LGTM except for a minor nit on comment.

1. If blocking, read valid reg, wait until valid is 0.
2. If non-blocking, read valid reg once ->return failure if valid is 1.
3. write to the pipe.
4. write 1 to the valid.
Copy link
Contributor

@sophimao sophimao left a comment

Choose a reason for hiding this comment

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

Thanks Zibai!

@zibaiwan zibaiwan merged commit 78dd354 into intel:main Dec 1, 2023
@zibaiwan zibaiwan deleted the fix-csr branch December 1, 2023 15:01
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.

2 participants