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

Is there a porblem with the push signal of SCFIFO module? #7

Closed
jingzhizhang opened this issue Oct 9, 2022 · 3 comments
Closed

Comments

@jingzhizhang
Copy link

Data is stored when the i_awvalid is raised, but the handshake has not been successful. This will lead to duplicate data storage?

@jingzhizhang
Copy link
Author

Sorry,I was wrong. When the fifo is not full, we can return ready to the master, which means it's ready to store data in FIFO.

@dpretet
Copy link
Owner

dpretet commented Oct 10, 2022

Hello,

You can pull or push in this FIFO whatever the empty / full flag status. The load / store will be effective only when the FIFO can send / receive a new data, thus when the flag will not be anymore empty or full.

Consider that behavior as a AXI handshake. This avoids making possible dirty combinatorial loops around the control flow and make it easy to connect to an AXI channel.

Damien

@dpretet dpretet closed this as completed Oct 10, 2022
@jingzhizhang
Copy link
Author

I see. Thanks very much.

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

No branches or pull requests

2 participants