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

[rtl/core] rework CPU issue engine (area optimization) #256

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jan 21, 2022

This PR provides a rework of the CPU's issue engine to reduce it's resource requirements.

The issue engine is located right between the pipeline front end (instruction fetch and instruction prefetch buffer) and the actual execution unit. The issue engine is responsible for decoding compressed 16-bit instruction (RISC-V C extension) and for handling unaligned 32-bit instructions. The changes from this PR highly reduce the size of this engine (~100 LUTs less on an Intel Cyclone IV FPGA). Note: the issue engine is only relevant if the C ISA extension is implemented (enabled via the CPU_EXTENSION_RISCV_C generic).

Furthermore, this PR includes some minor code clean-up of the CPU's control engine.

✔️ Changes in this PR are fully backwards-compatible.

@stnolting stnolting added enhancement New feature or request HW Hardware-related labels Jan 21, 2022
@stnolting stnolting self-assigned this Jan 21, 2022
@stnolting stnolting changed the title [rtl/core] reworked CPU issue engine (area optimization) [rtl/core] rework CPU issue engine (area optimization) Jan 21, 2022
@stnolting stnolting marked this pull request as ready for review January 21, 2022 04:11
@stnolting stnolting merged commit adc4514 into master Jan 21, 2022
@stnolting stnolting deleted the rework_issue_engine branch January 21, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant