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

lib.fifo: fix reset handling of asynchronous FIFOs. #591

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jfng
Copy link
Member

@jfng jfng commented Feb 9, 2021

Asynchronous FIFOs do not properly handle a write domain reset (i.e. w_level is not reset to 0). This PR attempts to fix their behaviour.

@codecov
Copy link

codecov bot commented Feb 9, 2021

Codecov Report

Merging #591 (0dcf329) into master (f7c2b94) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #591      +/-   ##
==========================================
+ Coverage   81.50%   81.58%   +0.07%     
==========================================
  Files          49       49              
  Lines        6461     6467       +6     
  Branches     1287     1288       +1     
==========================================
+ Hits         5266     5276      +10     
+ Misses       1007     1005       -2     
+ Partials      188      186       -2     
Impacted Files Coverage Δ
nmigen/lib/fifo.py 94.25% <100.00%> (+0.16%) ⬆️
nmigen/build/run.py 22.05% <0.00%> (ø)
nmigen/sim/_pyrtl.py 97.00% <0.00%> (+1.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7c2b94...0dcf329. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant