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

Missing ALU in the 5 stage Micro-Architectural Setup plus a few other issues. #279

Open
akarxxx1030 opened this issue Apr 28, 2023 · 0 comments

Comments

@akarxxx1030
Copy link

akarxxx1030 commented Apr 28, 2023

In order to carry forward a branch instruction in the RV32I RISCV Implementation, an ALU to add the current PC value to the offset value (label present within the branch instruction) is required which is multiplexed to the output of the adder (adding the current PC value and 04). The Zero bit which is also prevalent at the output of the ALU is utilised with the branch bit which decides the control signal fed to the multiplexer (deciding PCcurrent+04 or PCcurrent+offset(if branch)). The microarchitecture is thus found to be misleading in a few certain cases. I hope it is looked into. A multiplexer utilised to choose whether the output of the ALU is fed into the data memory or not is missing as well.

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

1 participant