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

Add FetchDelay stage #27

Merged
merged 2 commits into from
Nov 16, 2024
Merged

Add FetchDelay stage #27

merged 2 commits into from
Nov 16, 2024

Conversation

andrej
Copy link
Collaborator

@andrej andrej commented Nov 16, 2024

This stage can be inserted between any other stages in the pipeline to introduce a latency penalty to instructions. The stage should behave transparently to the other stages except for the added cycle penalty. This means the stage will accept new instructions (isAvailable() == true) whenever the next stage is ready to accept new instructions. It will queue up these instructions and pass them to the next stage after holding them for a number of cycles. We will use this to add the branch misprediction latency later.

@andrej andrej merged commit 09a0bc2 into main Nov 16, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant