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

Update comments describing Decoupled/ReadyValid - fix #437. #493

Merged
merged 4 commits into from
May 19, 2017
Merged

Conversation

ucbjrl
Copy link
Contributor

@ucbjrl ucbjrl commented Feb 7, 2017

It seems there is a valid use case for EnqIO/DeqIO and updating the comments may clear some of the confusion and encourage their usage.

* enforced via use of concrete subclasses.
* The base protocol implied by the directionality is that the producer uses
* the interface as-is (outputs bits) while the consumer
* uses the flipped interface (inputs bits).
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like the comment could be better reflowed here?

* These could be replaced with:
* val enq = Flipped(EnqIO(gen))
* val deq = Flipped(DeqIO(gen))
* once issue #492 is resolved.
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment should be changed

Copy link
Contributor

Choose a reason for hiding this comment

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

What should it be changed to?

ucbjrl added 2 commits May 3, 2017 15:11
It seems there is a valid use case for EnqIO/DeqIO and updating the comments may clear some of the confusion and encourage their usage.
Re-flow comments for ReadyValidIO()
Add gen param to DecoupledIO() and IrrevocableIO().
@ucbjrl ucbjrl merged commit cb28230 into master May 19, 2017
@ucbjrl ucbjrl deleted the enqdeq437 branch May 23, 2017 16:19
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.

3 participants