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

regfile_we_wb set from wb_ready_i caused load_stall to occur one instruction too late. #37

Closed
mcockrell-google opened this issue Apr 19, 2018 · 4 comments

Comments

@mcockrell-google
Copy link

mcockrell-google commented Apr 19, 2018

In the controller the pending load is indicated by WB not ready and regfile_we_wg high. This occurs one cycle too late in successive loads. Keeping the prior logic of setting regfile_we_wb high when the regifle_we_lsu is high accurately indicates a pending load and wb in the correct cycle.

@davideschiavone
Copy link
Contributor

Hello Matt, thanks for reporting it.

Can you provide please an example and/or waveforms so that we can try to reproduce and fix the bug?

Thanks a lot
Davide

@mcockrell-google
Copy link
Author

mcockrell-google commented Apr 26, 2018 via email

@davideschiavone
Copy link
Contributor

Hi Matt, thanks a lot but I can't see the images, maybe it is easier if you send them to me by email.

Thanks a lot
Best
Davide

@davideschiavone
Copy link
Contributor

Solved here: 3606a02

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