Skip to content

Add tests for bsg_two_fifo - #684

Open
OroArmor wants to merge 2 commits into
bespoke-silicon-group:masterfrom
OroArmor:bsg_two_fifo_coverage
Open

Add tests for bsg_two_fifo#684
OroArmor wants to merge 2 commits into
bespoke-silicon-group:masterfrom
OroArmor:bsg_two_fifo_coverage

Conversation

@OroArmor

Copy link
Copy Markdown

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