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

Move branch predictor CPU into its own file #74

Merged
merged 1 commit into from
Jun 20, 2019
Merged

Move branch predictor CPU into its own file #74

merged 1 commit into from
Jun 20, 2019

Conversation

powerjg
Copy link
Contributor

@powerjg powerjg commented Jun 20, 2019

Revert pipelined/cpu.scala and components/hazard.scala to 4699e67 and
fix up the other minor changes. This also creates two new files
pipeliend/cpu-bp.scala which contains the CPU design with a branch
predictor and components/hazardbp.scala which contains the updated
hazard detection logic with an extra IO.

Also update the logic to instantiate the CPU to understand the
difference between the base pipelined CPU and the branch predictor
version of the CPU design. This required updating the tester driver and
the CPU tests as well.

Closes #61

Signed-off-by: Jason Lowe-Power jason@lowepower.com

Revert pipelined/cpu.scala and components/hazard.scala to 4699e67 and
fix up the other minor changes. This also creates two new files
pipeliend/cpu-bp.scala which contains the CPU design with a branch
predictor and components/hazardbp.scala which contains the updated
hazard detection logic with an extra IO.

Also update the logic to instantiate the CPU to understand the
difference between the base pipelined CPU and the branch predictor
version of the CPU design. This required updating the tester driver and
the CPU tests as well.

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
@powerjg powerjg requested review from nganjehloo and removed request for nganjehloo June 20, 2019 00:40
@powerjg powerjg merged commit d9aa3b9 into master Jun 20, 2019
@powerjg powerjg deleted the bp-cpu branch June 20, 2019 00:43
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.

split branch prediction CPU into its own file
1 participant