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

More micro-operations than ROB size causes stalling and a mem leak #399

Open
JosephMoore25 opened this issue Feb 23, 2024 · 0 comments
Open
Labels
0.9.7 Part of SimEng Release 0.9.7 bug Something isn't working

Comments

@JosephMoore25
Copy link
Contributor

Setting the ROB size config parameter to a low value (usually 4 or less, but could be much higher) while micro-operations are enabled can cause the simulation to not progress. This leads to a memory leak, but is not caused by one.

This is a highly unlikely case for a realistic CPU design, hence not finding this until now.

The issue occurs when we have an instruction with more micro-operations than we have space in the ROB. A solution to this would be to halt and provide a useful error when we detect an instruction has more micro-operations than the ROB size, stating that the chosen architecture can not support the micro-operation setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.9.7 Part of SimEng Release 0.9.7 bug Something isn't working
Projects
Status: ToDo
Development

No branches or pull requests

1 participant