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

Unnecessary multiple Register File write #894

Closed
pascalgouedo opened this issue Oct 16, 2023 · 1 comment
Closed

Unnecessary multiple Register File write #894

pascalgouedo opened this issue Oct 16, 2023 · 1 comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory) Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation Type:Enhancement For feature requests and enhancements

Comments

@pascalgouedo
Copy link

Issue description

For some instructions (MULH, DIV) and depending of stalling cases for loads (aligned, misaligned, post-incr) , multiple Register File writes are done while not necessary.

Component

Component:RTL

Steps to Reproduce

makeuvmt SIMULATOR=vsim VSIM_USER_FLAGS=+fixed_data_gnt_stall=3 USER_RUN_FLAGS=+fixed_data_rvalid_stall=3 WAVES=YES TEST=power_issues_test test

MULH_multiple_RF_write

DIV_multiple_RF_write

LOAD_multiple_RF_write

LOAD_MISALIGNED_multiple_RF_write

LOAD_POST_INC_multiple_RF_write

LOAD_POST_INC_MISALIGNED_multiple_RF_write

@pascalgouedo pascalgouedo added Type:Enhancement For feature requests and enhancements Component:RTL For issues in the RTL (e.g. for files in the rtl directory) labels Oct 16, 2023
pascalgouedo pushed a commit to pascalgouedo/cv32e40p that referenced this issue Oct 25, 2023
Signed-off-by: Pascal Gouedo <[email protected]>
pascalgouedo pushed a commit to pascalgouedo/cv32e40p that referenced this issue Nov 9, 2023
Signed-off-by: Pascal Gouedo <[email protected]>
@pascalgouedo
Copy link
Author

Resolved with PR #904

pascalgouedo pushed a commit to pascalgouedo/cv32e40p that referenced this issue Nov 10, 2023
pascalgouedo pushed a commit to pascalgouedo/cv32e40p that referenced this issue Nov 27, 2023
@pascalgouedo pascalgouedo added the Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory) Status:Resolved Issue has been resolved, but closure is pending on git merge and/or issuer confirmation Type:Enhancement For feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

1 participant