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

eptri: fix update logic for OutFIFOInterface data_ep register #15

Merged

Conversation

antoinevg
Copy link
Member

Previously OutFIFOInterface's data_ep register would only get updated with the incoming packet's destination endpoint once the FIFO w_en signal was asserted.

The problem with this is that, under this condition, the register does not get updated upon receipt of a ZLP (zero-length packet).

The new logic updates the register on receipt of a new token.

@antoinevg antoinevg force-pushed the antoinevg/fix-data-ep-register branch from 54b4a10 to 68ef770 Compare March 25, 2024 13:15
@antoinevg antoinevg marked this pull request as ready for review April 4, 2024 13:33
@antoinevg antoinevg merged commit 89c1d6a into greatscottgadgets:main Apr 4, 2024
@antoinevg antoinevg deleted the antoinevg/fix-data-ep-register branch April 4, 2024 13:38
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.

None yet

1 participant