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

Add tests for bsg_two_fifo #684

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

OroArmor
Copy link

The change in bsg_two_fifo.sv might not be necessary, however I found that without it the head_r and tail_r pointers would no longer be equal, causing an invalid state for the FIFO.

assign enq_i = v_i & (full_r & deq_i | ~full_r);

I am also curious how to make the allow_enq_deq_on_full_p in bsg_two_fifo_wrapper potentially.sv be something that can be properly parameterized, allowing both the normal and passthrough configurations to be tested.

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