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

Updated FIFO NULL assertion fix #778

Merged
merged 4 commits into from
Jan 28, 2024
Merged

Updated FIFO NULL assertion fix #778

merged 4 commits into from
Jan 28, 2024

Conversation

mikaelsky
Copy link
Collaborator

fifo.vhd has been updated to reflect feedback. Changes has been verified to not cause issues with assertions.
Added a tweak to the write path to make read and write symmetric allowing some flops to potentially be saved for FIFOs of size 1.

Added condition check on fifo_dept_c to ensure we don't get NULL assertions when fifo_depth_c == 1.
Reset function already added.

Signed-off-by: Mikael Mortensen <119539842+mikaelsky@users.noreply.github.com>
@stnolting
Copy link
Owner

Looks good!
I'll just update the comments and the version tracking 😉

@stnolting stnolting added HW Hardware-related optimization Make things faster, smaller and more efficient coding-style Related to the HW/SW coding style labels Jan 28, 2024
@stnolting stnolting merged commit c95e039 into stnolting:main Jan 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding-style Related to the HW/SW coding style HW Hardware-related optimization Make things faster, smaller and more efficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants